Re: War re-deployment

2008-09-03 Thread emerson cargnin
Does anyone know how tomcat should work regarding to this?


On 01/09/2008, emerson cargnin [EMAIL PROTECTED] 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 [EMAIL PROTECTED] wrote:
 
  - Original Message - From: emerson cargnin
  [EMAIL PROTECTED]
  To: Tomcat Users List users@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: [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]



Re: War re-deployment

2008-09-01 Thread emerson cargnin
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 [EMAIL PROTECTED] wrote:

 - Original Message - From: emerson cargnin
 [EMAIL PROTECTED]
 To: Tomcat Users List users@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: [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]



War re-deployment

2008-08-29 Thread emerson cargnin
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: War re-deployment

2008-08-29 Thread emerson cargnin
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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: War re-deployment

2008-08-29 Thread bhooshanpandit

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 [EMAIL PROTECTED]
To: Tomcat Users List users@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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




 



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


Re: War re-deployment

2008-08-29 Thread emerson cargnin
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, [EMAIL PROTECTED] [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
 To: Tomcat Users List users@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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]







 
 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: War re-deployment

2008-08-29 Thread Johnny Kewl


- Original Message - 
From: emerson cargnin [EMAIL PROTECTED]

To: Tomcat Users List users@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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]