Troubleshooting

 
If you see Tomcat throwing an exception of...

javax.naming.?NameNotFoundException: Name java:comp is not bound in this Context

… it really means "Use Naming" needs to be set to True in the Context for the site.

What's happening is the application is trying to lookup something via JNDI (probably a Data Source), but with Naming not running there is no service for JNDI to talk to.

Comments