This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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