royalcyber
asked on
"jdbc/cmssd" not found in context "java:comp/env".
We are installing an ear on WSAD
It is compiling fine and the test server starts also fine
but when we try to login to cms sql server database we r getting an error
[6/15/06 14:50:00:105 CST] 70f8e552 SystemErr R javax.naming.NameNotFoundE xception: Name "jdbc/cmssd" not found in context "java:comp/env".
[6/15/06 14:50:00:105 CST] 70f8e552 SystemErr R at com.ibm.ws.naming.ipbase.N ameSpace.l ookupInter nal(NameSp ace.java:1 021)
[6/15/06 14:50:00:105 CST] 70f8e552 SystemErr R at com.ibm.ws.naming.ipbase.N ameSpace.l ookup(Name Space.java :932)
[6/15/06 14:50:00:105 CST] 70f8e552 SystemErr R at com.ibm.ws.naming.urlbase. UrlContext Impl.looku p(UrlConte xtImpl.jav a:1261)
[6/15/06 14:50:00:105 CST] 70f8e552 SystemErr R at com.ibm.ws.naming.urlbase. UrlContext Impl.looku p(UrlConte xtImpl.jav a:1307)
[6/15/06 14:50:00:105 CST] 70f8e552 SystemErr R at com.dc.enterprise.Query.bu ildConnect ion(Query. java:68)
It is compiling fine and the test server starts also fine
but when we try to login to cms sql server database we r getting an error
[6/15/06 14:50:00:105 CST] 70f8e552 SystemErr R javax.naming.NameNotFoundE
[6/15/06 14:50:00:105 CST] 70f8e552 SystemErr R at com.ibm.ws.naming.ipbase.N
[6/15/06 14:50:00:105 CST] 70f8e552 SystemErr R at com.ibm.ws.naming.ipbase.N
[6/15/06 14:50:00:105 CST] 70f8e552 SystemErr R at com.ibm.ws.naming.urlbase.
[6/15/06 14:50:00:105 CST] 70f8e552 SystemErr R at com.ibm.ws.naming.urlbase.
[6/15/06 14:50:00:105 CST] 70f8e552 SystemErr R at com.dc.enterprise.Query.bu
Are you trying to do JDBC from the application. If so , you need to create resource references.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.