I was going to go down that path if I couldn't find some combination of 
parameters to get the war file deployed on startup.  It seems preferable (to 
me, anyway) to be able to accomplish this via the parameters rather than 
modifying the startup script, but if that is the only way, then so be it.

Thanks,
Beth

Btw, I forgot to mention that I'm running Tomcat 6.0.14 on a Linux machine.

-----Original Message-----
From: david delbecq [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 19, 2007 9:20 AM
To: Tomcat Users List
Subject: Re: Application redeployment on Tomcat startup only

If all you need to redeploy to occur is remove directories, just modify 
the statup script so it deleted the webapps directories.
Beth Hechanova a écrit :
> Hi,
>
>  
>
> I am trying to configure Tomcat to only reploy my application war file
> when Tomcat is started up.  I have set the autoDeploy attribute in
> server.xml to false - this prevents my application from deploying
> dynamically, which is the behavior that I want.  But then when I restart
> Tomcat I would like my new war file to be deployed at that time, but
> that is not happening (unless I delete the associated directory first).
>
>  
>
> Are there any configuration parameters that will ensure the war file
> gets deployed at startup, but NOT dynamically when the application is
> running?
>
>  
>
> Thanks,
>
> Beth
>
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to