tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Burgel <>
Subject auto redeploy with context in server.xml
Date Mon, 18 Jul 2005 18:51:59 GMT

in tomcat 5.5.9, is it possible to have a webapp, whose context is defined in
server.xml, to be redeployed using the auto-deploy system?

i have my ROOT webapp defined in server.xml:

<Host name="localhost" appBase="webapps" unpackWARs="false" autoDeploy="true"
deployXML="false" deployOnStartup="true">
<Context path="" reloadable="false" docBase="/home/alex/webapp.war" />

when i replace the .war file, i expect that tomcat should reload it, but nothing
happens. i read a post that suggests this isn't possible because the context is
staticly defined therefore it is not using the auto-deploy system.

if this is not possible, then how can i have a ROOT webapp that is auto
redeployable? in tomcat 5.5.9, you can't specify a context with an empty path
outside of server.xml, so this seems a bit like a catch-22.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message