解决struts2在weblogic10下无法找到struts-tags.tld的问题

解决struts2在weblogic10下无法找到struts-tags.tld的问题

报错信息

Compilation of JSP File '/example/HelloWorld.jsp' failed:
--------------------------------------------------------------------------------

HelloWorld.jsp:2:5: No tag library could be found with this URI. Possible causes could be that the URI[......]

Read more

Weblogic8.1.3The Message-Driven EJB: XXXMDB is unable to connect to the JMS destination: jms/XXXJMSQueue.

<2009-7-22 下午12时42分30秒 CST> <Warning> <EJB> <BEA-010096>
<The Message-Driven EJB: XXXMDB is unable to connect to the JMS destination: jms/XXXJMSQueue.
Connection failed after 2 attempts. The MDB will attempt to reconnect
every 1 seconds. This log message will repeat every[......]

Read more

Spring中调用含有out参数的存储过程代码片段示例

public JdbcTemplate getJdbcTemplate() {
return jdbcTemplate;
}

public void setJdbcTemplate(JdbcTemplate jdbcTemplate) {
this.jdbcTemplate = jdbcTemplate;
}

public String invokeProcedures(final String in1,final String in2,final String in3,final String in4){
Object obj = this.getJdbcTemplate().execu[......]

Read more

把Websphre的nodeagent添加到windows服务下使其随机启动

进入cmd
进入D:IBMWebSphereAppServerbin
WASService -add NodeAgent -serverName nodeagent -profilePath "D:IBMWebSphereAppServerprofilesCustom06" -wasHome "D:IBMWebSphereAppServer" -logRoot "D:IBMWebSphereAppServerprofilesCustom06logsnodeagent" -LogFile "D:IBMWebSphereAppServerprofilesCustom06logsnodeagents[......]

Read more

Websphere6.1访问weblogic8.1.3ejb

Was6.1访问weblogic8.1.3ejb

Delegation Mode: PARENT_FIRST
[1] com.ibm.ws.classloader.JarClassLoader@2073328532 Local Classpath:  Delegation mode: PARENT_FIRST
[2] com.ibm.ws.classloader.ProtectionClassLoader@6f326f32
[3] com.ibm.ws.bootstrap.ExtClassLoader@19ee19ee
[4] org.eclipse.osgi.framework.adapt[......]

Read more

EHcache1.5报错Caused by: org.xml.sax.SAXParseException: 1 字节 UTF-8 序列的无效字节 1。

EHcache1.5报错Caused by: org.xml.sax.SAXParseException: 1 字节 UTF-8 序列的无效字节 1。
检查你的EHCache的配置文件ehcache.xml xml内容是否使用了基于新的xsd的配置

<?xml version="1.0" encoding="UTF-8"?>
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ehcache.xsd">
<diskStor[......]

Read more

在spring中访问websphere中集群的ejb的配置方法

访问集群中的datasource数据源
<bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiTemplate">
<bean class="org.springframework.jndi.JndiTemplate">
<constructor-arg>
<props>
<prop key="java.naming.factory.initial">com.ibm.webspher[......]

Read more

quartz独立线程中获得Websphere的全局事务管理器

quartz独立线程中获得Websphere的全局事务管理器

报错信息
[09-4-7 18:07:00:109 CST] 00000031 javaURLContex ENMSV0310E: 由于服务器运行时无法将“java:”名称上的 JNDI 操作的线程与任何 J2EE 应用程序组件相关联,该操作无法完成。当使用“java:”名称的 JNDI 客户机不在服务器应用程序请求的线程中执行时,就会出现这种情况。确保 J2EE 应用程序不在静态代码块或该 J2EE 应用程序创建的线程中对“java:”名称执行 JNDI 操作。此类代码不必在服务器应用程序请求的线程中运行,因此不受“java:”[......]

Read more

解决Websphere数据源访问sybase数据库乱码问题

解决WAS数据源访问sybase数据库乱码问题
进入WAS控制台 资源-->JDBC-->数据源--->选择数据源--->定制属性
编辑connectionProperties 将SELECT_OPENS_CURSOR=true修改为
SELECT_OPENS_CURSOR=true;charset=cp936,然后重启server即可。
charset的值根据你数据库自身的编码灵活选择

原创文章,转载请注明: 转载自海波无痕

本文链接地址: 解决Websphere数据源访问sybase数据库乱码问题

文章的脚注信息由WordPress的wp-posturl插件自动生成

使用axis1.4的org.apache.axis.wsdl.WSDL2Java生成webservice客户端

在项目上新建一个eclipse运行配置并选择项目为此项目,并选择main函数为org.apache.axis.wsdl.WSDL2Java

并勾选上Include system libraries when searching for a main class

并在Arguments面板上传入如下参数(Program arguments)
-o src/main/java/ -p com.yourdomain.ws.client wsdl/businessWdsl.xml[或者url地址如http://www.yourdomain.com/services/businessWs?wsdl][......]

Read more

Pages: Prev 1 2 3 4 5 6 7 8 9 10 ...12 13 14 Next