You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by emerson cargnin <ec...@gmail.com> on 2008/08/29 12:10:41 UTC

War re-deployment

Hi, I'm using tomcat 5.5.26 and after having a look at the host
application deployment (
http://tomcat.apache.org/tomcat-5.5-doc/config/host.html#Automatic%20Application%20Deployment
) I still have a doubt:

If tomcat is down and I change a war file in webapps, after restarting
tomcat, is there anyway for tomcat to detect the change in the war and
re-deploy it?

Emerson

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


Re: War re-deployment

Posted by emerson cargnin <ec...@gmail.com>.
I'm actually using anthill (http://www.anthillpro.com) to do the
deployment, which works basically copying the files to the server
using an agent.

emerson

On 29/08/2008, bhooshanpandit@aol.com <bh...@aol.com> wrote:
>
> I think the best way is to use manager app to deploy the war file in tomcat. See http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html for more details.
>
>
>
>
> -----Original Message-----
> From: emerson cargnin <ec...@gmail.com>
> To: Tomcat Users List <us...@tomcat.apache.org>
> Sent: Fri, 29 Aug 2008 3:52 pm
> Subject: Re: War re-deployment
>
>
>
>
>
>
>
>
>
>
> And what's the best/most reliable way to deploy applications on tomcat?
> Would be to expand directly inside the webapps? Wouldn't have any
> issue of while copying the files tomcat would try to start the
> incomplete app? What are your views on deploying applications on
> production in tomcat? Or maybe would be to stop tomcat remove the old
> app, add the war and re-start tomcat?
>
> regards
> emerson
>
> On 29/08/2008, emerson cargnin <ec...@gmail.com> wrote:
> > Hi, I'm using tomcat 5.5.26 and after having a look at the host
> > application deployment (
> > http://tomcat.apache.org/tomcat-5.5-doc/config/host.html#Automatic%20Application%20Deployment
> > ) I still have a doubt:
> >
> > If tomcat is down and I change a war file in webapps, after restarting
> > tomcat, is there anyway for tomcat to detect the change in the war and
> > re-deploy it?
> >
> > Emerson
> >
>
> ---------------------------------------------------------------------
> 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
>
>
>
>
>
>
>
> ________________________________________________________________________
> You are invited to Get a Free AOL Email ID. - http://webmail.aol.in
>

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


Re: War re-deployment

Posted by bh...@aol.com.
I think the best way is to use manager app to deploy the war file in tomcat. See http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html for more details.


 

-----Original Message-----
From: emerson cargnin <ec...@gmail.com>
To: Tomcat Users List <us...@tomcat.apache.org>
Sent: Fri, 29 Aug 2008 3:52 pm
Subject: Re: War re-deployment










And what's the best/most reliable way to deploy applications on tomcat?
Would be to expand directly inside the webapps? Wouldn't have any
issue of while copying the files tomcat would try to start the
incomplete app? What are your views on deploying applications on
production in tomcat? Or maybe would be to stop tomcat remove the old
app, add the war and re-start tomcat?

regards
emerson

On 29/08/2008, emerson cargnin <ec...@gmail.com> wrote:
> Hi, I'm using tomcat 5.5.26 and after having a look at the host
> application deployment (
> http://tomcat.apache.org/tomcat-5.5-doc/config/host.html#Automatic%20Application%20Deployment
> ) I still have a doubt:
>
> If tomcat is down and I change a war file in webapps, after restarting
> tomcat, is there anyway for tomcat to detect the change in the war and
> re-deploy it?
>
> Emerson
>

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




 


________________________________________________________________________
You are invited to Get a Free AOL Email ID. - http://webmail.aol.in

Re: War re-deployment

Posted by emerson cargnin <ec...@gmail.com>.
And what's the best/most reliable way to deploy applications on tomcat?
Would be to expand directly inside the webapps? Wouldn't have any
issue of while copying the files tomcat would try to start the
incomplete app? What are your views on deploying applications on
production in tomcat? Or maybe would be to stop tomcat remove the old
app, add the war and re-start tomcat?

regards
emerson

On 29/08/2008, emerson cargnin <ec...@gmail.com> wrote:
> Hi, I'm using tomcat 5.5.26 and after having a look at the host
> application deployment (
> http://tomcat.apache.org/tomcat-5.5-doc/config/host.html#Automatic%20Application%20Deployment
> ) I still have a doubt:
>
> If tomcat is down and I change a war file in webapps, after restarting
> tomcat, is there anyway for tomcat to detect the change in the war and
> re-deploy it?
>
> Emerson
>

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


Re: War re-deployment

Posted by emerson cargnin <ec...@gmail.com>.
Does anyone know how tomcat should work regarding to this?


On 01/09/2008, emerson cargnin <ec...@gmail.com> wrote:
> Hi Johnny
>
>
> > But the way every one understands is... drop the war into webapps... thats
> > it.
> > Its smart... if the war has changed TC will fix things...
> > If you drop a war into a dead tomact and then start it... its still smart ;)
> >
>
> Regarding the above, from what I experienced and from what I read from
> the docs is that if you deploy a war in a dead tomcat, it won't
> re-deploy unless you remove the expanded folder from a previous
> deploy.
>
> regards
> emerson
>
> On 29/08/2008, Johnny Kewl <jo...@kewlstuff.co.za> wrote:
> >
> > ----- Original Message ----- From: "emerson cargnin"
> > <ec...@gmail.com>
> > To: "Tomcat Users List" <us...@tomcat.apache.org>
> > Sent: Friday, August 29, 2008 12:10 PM
> > Subject: War re-deployment
> >
> >
> >
> > > Hi, I'm using tomcat 5.5.26 and after having a look at the host
> > > application deployment (
> > >
> > http://tomcat.apache.org/tomcat-5.5-doc/config/host.html#Automatic%20Application%20Deployment
> > > ) I still have a doubt:
> > >
> > > If tomcat is down and I change a war file in webapps, after restarting
> > > tomcat, is there anyway for tomcat to detect the change in the war and
> > > re-deploy it?
> > >
> >
> > Tomcat standard out of the box... ie no one has played with the settings...
> > is smart, you dont have to help it...
> > Use manager/html to deploy remotely...
> >
> > But the way every one understands is... drop the war into webapps... thats
> > it.
> > Its smart... if the war has changed TC will fix things...
> > If you drop a war into a dead tomact and then start it... its still smart ;)
> >
> > Only thing is... when you done developing in you IDE... ask you IDE to
> > undeploy it... otherwise TC may still be thinking you want the project in
> > the IDE to run.
> >
> > easy...
> > ---------------------------------------------------------------------------
> > HARBOR : http://www.kewlstuff.co.za/index.htm
> > The most powerful application server on earth.
> > The only real POJO Application Server.
> > See it in Action :
> > http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
> > ---------------------------------------------------------------------------
> >
> > ---------------------------------------------------------------------
> > 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


Re: War re-deployment

Posted by emerson cargnin <ec...@gmail.com>.
Hi Johnny


> But the way every one understands is... drop the war into webapps... thats
> it.
> Its smart... if the war has changed TC will fix things...
> If you drop a war into a dead tomact and then start it... its still smart ;)
>

Regarding the above, from what I experienced and from what I read from
the docs is that if you deploy a war in a dead tomcat, it won't
re-deploy unless you remove the expanded folder from a previous
deploy.

regards
emerson

On 29/08/2008, Johnny Kewl <jo...@kewlstuff.co.za> wrote:
>
> ----- Original Message ----- From: "emerson cargnin"
> <ec...@gmail.com>
> To: "Tomcat Users List" <us...@tomcat.apache.org>
> Sent: Friday, August 29, 2008 12:10 PM
> Subject: War re-deployment
>
>
>
> > Hi, I'm using tomcat 5.5.26 and after having a look at the host
> > application deployment (
> >
> http://tomcat.apache.org/tomcat-5.5-doc/config/host.html#Automatic%20Application%20Deployment
> > ) I still have a doubt:
> >
> > If tomcat is down and I change a war file in webapps, after restarting
> > tomcat, is there anyway for tomcat to detect the change in the war and
> > re-deploy it?
> >
>
> Tomcat standard out of the box... ie no one has played with the settings...
> is smart, you dont have to help it...
> Use manager/html to deploy remotely...
>
> But the way every one understands is... drop the war into webapps... thats
> it.
> Its smart... if the war has changed TC will fix things...
> If you drop a war into a dead tomact and then start it... its still smart ;)
>
> Only thing is... when you done developing in you IDE... ask you IDE to
> undeploy it... otherwise TC may still be thinking you want the project in
> the IDE to run.
>
> easy...
> ---------------------------------------------------------------------------
> HARBOR : http://www.kewlstuff.co.za/index.htm
> The most powerful application server on earth.
> The only real POJO Application Server.
> See it in Action :
> http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
> ---------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> 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


Re: War re-deployment

Posted by Johnny Kewl <jo...@kewlstuff.co.za>.
----- Original Message ----- 
From: "emerson cargnin" <ec...@gmail.com>
To: "Tomcat Users List" <us...@tomcat.apache.org>
Sent: Friday, August 29, 2008 12:10 PM
Subject: War re-deployment


> Hi, I'm using tomcat 5.5.26 and after having a look at the host
> application deployment (
> http://tomcat.apache.org/tomcat-5.5-doc/config/host.html#Automatic%20Application%20Deployment
> ) I still have a doubt:
>
> If tomcat is down and I change a war file in webapps, after restarting
> tomcat, is there anyway for tomcat to detect the change in the war and
> re-deploy it?

Tomcat standard out of the box... ie no one has played with the settings... 
is smart, you dont have to help it...
Use manager/html to deploy remotely...

But the way every one understands is... drop the war into webapps... thats 
it.
Its smart... if the war has changed TC will fix things...
If you drop a war into a dead tomact and then start it... its still smart ;)

Only thing is... when you done developing in you IDE... ask you IDE to 
undeploy it... otherwise TC may still be thinking you want the project in 
the IDE to run.

easy...
---------------------------------------------------------------------------
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
--------------------------------------------------------------------------- 


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