wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Error - Name jdbc is not bound in this Context Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Error - Name jdbc is not bound in this Context" Watch "Error - Name jdbc is not bound in this Context" New topic
Author

Error - Name jdbc is not bound in this Context

Malith Yapa
Ranch Hand

Joined: Jan 17, 2007
Posts: 45
I've written the context like this..


And i'm using this code to retrive the datasource



But i get the following exception :-(

javax.naming.NameNotFoundException: Name jdbc is not bound in this Context


Cant understand it.. Pleeease help..
[ July 28, 2007: Message edited by: Bear Bibeault ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error - Name jdbc is not bound in this Context
 
Similar Threads
JNDI, xxx is already bound
how to use a datasource that defined in Tomcat admin console inside a servlet
Help: upgraded from tomcat 5.0 to 5.5.27 and getting Naming Exception
look up datasource from session bean
How to Resolve this exception in tomcat 5.0.28