File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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 ]
 
 
subject: Error - Name jdbc is not bound in this Context
 
Similar Threads
look up datasource from session bean
How to Resolve this exception in tomcat 5.0.28
Help: upgraded from tomcat 5.0 to 5.5.27 and getting Naming Exception
how to use a datasource that defined in Tomcat admin console inside a servlet
JNDI, xxx is already bound