You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Olena Mitovska <mi...@halifax.ca> on 2005/09/13 15:01:39 UTC

Tomcat autoDeploy problem on Unix

Hi,

We have Tomcat 5.5.7 installed on Solaris 9 and the autoDeploy option doesn't work.  We have to restart the server every time we redeploy the application so that changes will be seen, and it is unacceptable for us since it is a production server. 

Here is the excerpt from our server.xml where we enabled autoDeploy option.

- <Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true" xmlNamespaceAware="false" xmlValidation="false">

and for every application  the Context element have attribute  reloadable="true".

The same settings work fine in windows environment so we tend to think it is specific Unix problem. Can you, please ,advise, how we can redeploy application without having to restart the server every time.

Olena


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


Re: Tomcat autoDeploy problem on Unix

Posted by Eugeny N Dzhurinsky <eu...@jdevelop.com>.
On Tue, Sep 13, 2005 at 03:31:37PM +0200, Christoph Kutzinski wrote:
> Do you create the WAR file on Windows and deploy to Solaris?
> Have you checked that the system clocks are in sync?
> Have you checked that the file attributes are ok on Solaris?
> Have you tried to "touch" the war file?

I could think the timezones on the development server and the deployment server
are different, so the modified files could be "in future", and thus tomcat
will never reload files if they have modification time > current time.

-- 
Eugene N Dzhurinsky

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


Re: Tomcat autoDeploy problem on Unix

Posted by Christoph Kutzinski <ku...@gmx.de>.
Do you create the WAR file on Windows and deploy to Solaris?
Have you checked that the system clocks are in sync?
Have you checked that the file attributes are ok on Solaris?
Have you tried to "touch" the war file?

Olena Mitovska wrote:
> Hi,
> 
> We have Tomcat 5.5.7 installed on Solaris 9 and the autoDeploy option doesn't work.  We have to restart the server every time we redeploy the application so that changes will be seen, and it is unacceptable for us since it is a production server. 
> 
> Here is the excerpt from our server.xml where we enabled autoDeploy option.
> 
> - <Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true" xmlNamespaceAware="false" xmlValidation="false">
> 
> and for every application  the Context element have attribute  reloadable="true".
> 
> The same settings work fine in windows environment so we tend to think it is specific Unix problem. Can you, please ,advise, how we can redeploy application without having to restart the server every time.
> 
> Olena
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 


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


Re: Tomcat autoDeploy problem on Unix

Posted by Stas Ostapenko <st...@gmail.com>.
Hi !

I'm using tomcat-specific ant tasks and very happy :) It's allows you
to restart web app without restarting tomcat. Take a look at manager
web app came with distribution.

http://jakarta.apache.org/tomcat/tomcat-5.5-doc/manager-howto.html#Executing%20Manager%20Commands%20With%20Ant

On 9/13/05, Olena Mitovska <mi...@halifax.ca> wrote:
> Hi,
> 
> We have Tomcat 5.5.7 installed on Solaris 9 and the autoDeploy option doesn't work.  We have to restart the server every time we redeploy the application so that changes will be seen, and it is unacceptable for us since it is a production server.
> 
> Here is the excerpt from our server.xml where we enabled autoDeploy option.
> 
> - <Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true" xmlNamespaceAware="false" xmlValidation="false">
> 
> and for every application  the Context element have attribute  reloadable="true".
> 
> The same settings work fine in windows environment so we tend to think it is specific Unix problem. Can you, please ,advise, how we can redeploy application without having to restart the server every time.
> 
> Olena
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
>

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