tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Burgel <a...@dailycandy.com>
Subject auto redeploy with context in server.xml
Date Mon, 18 Jul 2005 18:51:59 GMT
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


Mime
View raw message