Failed to connect to the DataSource. Encountered : java.lang.Exception

在配置DB2 JNDI时的错误,请求支援。

DB2装在了E:/Program Files/IBM下面,是不是WAS本身不能解析这样的路径而导致这样的错误,还是版本引起的?虽然错误说null userid not supported,但我确定连接的用户名和密码都做过设定,还有默认的SCHEMA属性和CLISCHEMA都做过设置。

Failed to connect to the DataSource.  Encountered : java.lang.Exception: com.ibm.db2.jcc.c.SqlException: null userid not supported
 at com.ibm.ws.rsadapter.DSConfigurationHelper.testConnectionForGUI(DSConfigurationHelper.java:1991)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.ibm.ws.management.DataSourceConfigHelperMBean.testConnectionToDataSource2(DataSourceConfigHelperMBean.java:522)
 at com.ibm.ws.management.DataSourceConfigHelperMBean.testConnection(DataSourceConfigHelperMBean.java:450)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.tivoli.jmx.modelmbean.MMBInvoker.invoke(MMBInvoker.java:46)
 at com.tivoli.jmx.modelmbean.MMBInvoker.invokeOperation(MMBInvoker.java:115)
 at com.tivoli.jmx.modelmbean.DynamicModelMBeanSupport.invoke(DynamicModelMBeanSupport.java:409)
 at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:323)
 at com.tivoli.jmx.GenericMBeanSupport.invoke(GenericMBeanSupport.java:178)
 at com.tivoli.jmx.MBeanAccess.invoke(MBeanAccess.java:113)
 at com.tivoli.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:290)
 at com.ibm.ws.management.AdminServiceImpl.invoke(A 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值