Hi All,

I am trying to configure Tomcat and Ant so that I can type "ant reload" and
the web application that I am running will be redeployed without restarting
Tomcat.  This would really speed up development for me.

The first issue is that I have the context set up with a couple of resources
in the server.xml file.  Tomcat will autodeploy (but not start) this app
even without a folder named $tomcat/webapps/myapp or a war file named
$tomcat/webapps/myapp.war.  If I remove the context
http://localhost:8080/manager/remove?path=/myapp, and then try to install
the context
http://localhost:8080/manager/reload?path=/myapp&war=file:/mybuild, the
application can't find the resources, the MySQL database pool, or the mail
session.

Is there any way to have the /myapp server.xml resources not be removed from
memory when the context is removed.  Or better yet, to have it put back in
memory when you install a context at the path /myapp?

Any help would be appreciated.

Thanks,
Cameron


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to