This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Application redeployment problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Application redeployment problem" Watch "Application redeployment problem" New topic

Application redeployment problem

jay denzel
Ranch Hand

Joined: Sep 18, 2002
Posts: 57
I am redeploying a web application using the application manager.
I invoke the manager using ant. Everytime I redeploy an application which
has resources in JNDI I get the following exception thrown.

During the startup of the application I set references I get from JNDI on several beans this causes the exception.
I have the necessary entries in server.xml and web.xml
Everything is fine when I install the application and start the server then.
As soon as I redeploy the application while the server is running the above exception is thrown.
This happens both with Tomcat 4.x and 5.x.
Until now I did not come up with a solution.
Any ideas, or has anyone experienced the same problem?
Any help greatly appreciated.
wood burning stoves
subject: Application redeployment problem
Similar Threads
Tomcat can't find a JDBC JNDI resource
Update -- Trying to get JNDI working with Tomcat 6
Trying to connect to SQL-2005 with JDBC and JNDI
Name is not bound in this context
Exception at JNDI