tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrea Bondi <bo...@novilab.it>
Subject Redeploy a war host without reboot
Date Tue, 13 Sep 2005 16:05:31 GMT
Hi to all,
I've set up Tomcat v. 5.5.9 as the server for the domain
www.univaperta.it
This is a virtual host, not the only site in this server. Configuration
is the following:

<Host
          appBase="webapps/univaperta"
          name="www.univaperta.it">
        <Context
            docBase=""
            path=""
            reloadable="true">

<WatchedResource>/usr/lib/tomcat/conf/context.xml</WatchedResource>
          <WatchedResource>WEB-INF/web.xml</WatchedResource>

<WatchedResource>/usr/lib/tomcat/conf/context.xml</WatchedResource>
          <WatchedResource>WEB-INF/web.xml</WatchedResource>

<WatchedResource>/usr/lib/tomcat/conf/context.xml</WatchedResource>
          <WatchedResource>WEB-INF/web.xml</WatchedResource>

<WatchedResource>/usr/lib/tomcat/conf/context.xml</WatchedResource>
          <WatchedResource>WEB-INF/web.xml</WatchedResource>
        </Context>
</Host>

The site works fine.
The problem is that I develop this on another computer and deploy as a
war (univaperta.war). For every update I have to follow this procedure:
- undeploy the site from tomcat manager
- restart tomcat
- deploy the war file
- restart tomcat

Is there an easier way to do this?

Thank you
Andrea Bondi


---------------------------------------------------------------------
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