Solved

"jdbc/cmssd" not found in context "java:comp/env".

Posted on 2006-06-15
2
1,281 Views
Last Modified: 2013-12-10
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.NameNotFoundException: 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.NameSpace.lookupInternal(NameSpace.java:1021)

[6/15/06 14:50:00:105 CST] 70f8e552 SystemErr R at com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:932)

[6/15/06 14:50:00:105 CST] 70f8e552 SystemErr R at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1261)

[6/15/06 14:50:00:105 CST] 70f8e552 SystemErr R at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1307)

[6/15/06 14:50:00:105 CST] 70f8e552 SystemErr R at com.dc.enterprise.Query.buildConnection(Query.java:68)

0
Comment
Question by:royalcyber
2 Comments
 
LVL 5

Expert Comment

by:Waswiz
ID: 16917992
Are you trying to do JDBC from the application. If so , you need to create resource references.
0
 
LVL 3

Accepted Solution

by:
yuseungkim earned 500 total points
ID: 16938822
From WebSphere Console ( V6 ),

Under Resources, Check JDBC Provider, If you're WAS ND, you may need to point to proper scope first.

If no JDBC provider is configured for SQL Server, you need to create one for SQL Server.

Once you choose JDBC Provider for your SQL Server, then check Data Sources under JDBC provider for your SQL Server.

If there is no Data Source is defined under JDBC provider for your SQL Server, then you need create one.

In the Data Source, please make sure that JNDI name is matched with your application (jdbc/cmssd).

Once you validated your Data source, check connection by Test Connection available in Data Source.

Good Luck

Andy K.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now