File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes  javax.naming.NameNotFoundException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark " javax.naming.NameNotFoundException" Watch " javax.naming.NameNotFoundException" New topic


karthik mama
Ranch Hand

Joined: Aug 27, 2007
Posts: 34
The connection to the datasource object is perfect but when i run my web app on a server it gives me an error saying

javax.naming.NameNotFoundException: Context: karthik/nodes/karthik/servers/server1, name: jdbc/DBDS: First component in name DBDS not found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound:]

jdbc/DBDS is my JNDI name

someone please help
I agree. Here's the link:
subject: javax.naming.NameNotFoundException
jQuery in Action, 3rd edition