This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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
It's not a secret anymore!