aspose file tools*
The moose likes Tomcat and the fly likes naming.NameNotFoundException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "naming.NameNotFoundException" Watch "naming.NameNotFoundException" New topic
Author

naming.NameNotFoundException

kwame Iwegbue
Ranch Hand

Joined: Sep 02, 2000
Posts: 197
need help with Error:
javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

The complete stack trace is



thrown by this code:



web.xml is



server.xml is



Note: the <Context> element has a <ResourceLink> to access such global resources.
[ June 12, 2006: Message edited by: kwame Iwegbue ]

Who dares, wins! (SAS motto)
kwame Iwegbue
Ranch Hand

Joined: Sep 02, 2000
Posts: 197
Works now!!!

After many hrs of research, i've solved this problem. Seems to be a relatively common problem for users of Tomcat 5.5 trying to use java.sql.DataSource manage database a Connection pool.

good information can be found here
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30894
    
158

Kwame,
Thank you so much for posting the solution! I'm going to move this to our Tomcat forum so people struggling with this in the future are more likely to see your post.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: naming.NameNotFoundException