Webshpere Studio Application developer Jndi Access DataSource db.7.2
Source: Internet
Author: User
application|web| Access
Webshpere Studio Application developer Jndi Access datasource The following error, please help the master!
On the server I set the DataSource is Jdbc/ds1
Get connection Failed.javax.naming.NamingException:The JNDI operation "Lookup" in the context localhost/nodes/ Localhost/servers/server1 "with the" name "JDBC/DS1" failed. "" "The root cause throwable contained in this Na Mingexception 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)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service