|
![]() |
名片设计 CorelDRAW Illustrator AuotoCAD Painter 其他软件 Photoshop Fireworks Flash |
|
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) 返回类别: 教程 上一教程: 诊断 Java 代码:设计轻松的代码维护 下一教程: 我的J2ME编程训练(8)??Canvas3 您可以阅读与"webshpere studio application developer 中 jndi 访问DATASOURCE DB.7.2"相关的教程: · 使用JSP技术和JDBC技术访问基于WEB的动态数据 · 加快JDBC设计中JSP访问数据库 · 用JDBC访问一个数据库 · 如何用JDBC访问MS ACCESS数据库 · JNDI简介,jndi在tomcat中的配置,jdbc api简介,java连接数据库服务 |
![]() ![]() |
快精灵印艺坊 版权所有 |
首页![]() ![]() ![]() ![]() ![]() ![]() ![]() |