tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Application redeployment on Tomcat startup only
Date Mon, 20 Nov 2000 02:19:10 GMT
Always a good idea to read the manual
http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html

also a good idea to read the comments carefully

Autodeploy
"If the Host autoDeploy attribute is "true", the Host will attempt to deploy
and
update web applications dynamically, as needed, for example if a new
WAR is dropped into the appBase.
For this to work, the Host needs to have background processing enabled which
is the
default configuration."

so leave autodeploy=false

"deployonStartup will be deployed on Tomcat startup only if the Host's
deployOnStartup
attribute is "true"."

so leave deployOnStartup = true

M-
----- Original Message -----
From: "Beth Hechanova" <bhechanova@imsconsultants.com>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Monday, November 19, 2007 1:50 PM
Subject: RE: Application redeployment on Tomcat startup only


If I set the autoDeploy attribute to "true", then the application gets
dynamically deployed - I do NOT want that behavior.  So I've set that
attribute to "false".  But I would like the war file to be deployed when
tomcat is restarted - that is the behavior I'm trying to get, and hoping
to configure via configuration parameters.  Maybe the only way to
accomplish this is by deleting the directory at startup?

Thanks,
Beth

-----Original Message-----
From: mgainty@hotmail.com [mailto:mgainty@hotmail.com]
Sent: Monday, November 19, 2007 9:38 AM
To: Tomcat Users List
Subject: Re: Application redeployment on Tomcat startup only

handled by autodeploy attribute of Host element
http://tomcat.apache.org/tomcat-5.5-doc/config/host.html

M--
----- Original Message -----
Wrom: EXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQ
To: <users@tomcat.apache.org>
Sent: Monday, November 19, 2007 12:12 PM
Subject: Application redeployment on Tomcat startup only


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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


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



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


Mime
View raw message