?
Solved

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

Posted on 2006-06-15
2
Medium Priority
?
1,288 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 2000 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

Optimum High-Definition Video Viewing and Control

The ATEN VM0404HA 4x4 4K HDMI Matrix Switch supports 4K resolutions of UHD (3840 x 2160) and DCI (4096 x 2160) with refresh rates of 30 Hz (4:4:4) and 60 Hz (4:2:0). It is ideal for applications where the routing of 4K digital signals is required.

Question has a verified solution.

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

Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

765 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