You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Alex Burgel <al...@dailycandy.com> on 2005/07/18 20:51:59 UTC

auto redeploy with context in server.xml

hi,

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" />
</Host>

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.

http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg152247.html

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.

thanks.
--alex


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org