·您的位置: 首页 » 资源教程 » 编程开发 » JAVA、JSP » webshpere studio application developer 中 jndi 访问DATASOURCE DB.7.2

webshpere studio application developer 中 jndi 访问DATASOURCE DB.7.2

类别: JAVA教程  评论数:0 总得分:0

webshpere studio application developer 中 jndi 访问DATASOURCE出现下面的错误,请高手帮忙!

在服务器上我设置了DATasource是jdbc/ds1

Get connection failed.javax.naming.NamingException: The JNDI operation "lookup"on the context "localhost/nodes/localhost/servers/server1" with the name "jdbc/ds1" failed.  Please get the root cause Throwable contained in this NamingException for more information.  Root exception is java.lang.NoClassDefFoundError: com/ibm/ejs/jts/jts/CurrentFactory at com.ibm.ws.naming.jndicos.CNContextImpl.suspendTransaction(CNContextImpl.java:4064) at com.ibm.ws.naming.jndicos.CNContextImpl.cosResolve(CNContextImpl.java:3521) at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1565) at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1525) at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1225) at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:132) at javax.naming.InitialContext.lookup(InitialContext.java:359) at com.portaldev.test.testJNDI.getJndi(testJNDI.java:57) at com.portaldev.test.testJNDI.main(testJNDI.java:27)



-= 资 源 教 程 =-
文 章 搜 索
关键词:
类型:
范围:
纯粹空间 softpure.com
Copyright © 2006-2008 暖阳制作 版权所有
QQ: 15242663 (拒绝闲聊)  Email: faisun@sina.com
 纯粹空间 - 韩国酷站|酷站欣赏|教程大全|资源下载|免费博客|美女壁纸|设计素材|技术论坛   Valid XHTML 1.0 Transitional
百度搜索 谷歌搜索 Alexa搜索 | 粤ICP备19116064号-1