Hi Filip,

we are using ANT script for deployment and the manager application.

Here's the "redeploy" script (only the tc specific tasks):

We copy the war and <app-name-context>.xml to the server,
perform deployment then, and delete after that.
The deploy/undeploy will be done only by the manager app itself.

<get    src="${tc.manager}/undeploy?path=/${application-context}"
        dest="xxx.html"
        username="admin"
        password="admin" verbose="true" ignoreerrors="false" />


<get src="${tc.manager}/install?path=/${application-context}&amp;
        
config=file:${tc.root}/${application-context}/meta-inf/${application-context}.xml
        
&amp;war=file:${tc.root}/${application-context}/${application-context}.war"
                                dest="result.html"
                                username="admin"
                                password="admin" verbose="true" 
ignoreerrors="false" />

Regards, Hans.


-----Ursprüngliche Nachricht-----
Von: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 28. August 2007 19:15
An: Tomcat Users List
Betreff: Re: Tomcat Session Replication at undeploy/install (6.0.14 /
windows)


[EMAIL PROTECTED] wrote:
> Hello,
>
> if I reload a context, all sessions are going to be 
> serialized and deserialized automatically.
>
> Is the same possible at undeploy / deploy?
>   
yes, works the same way
> The problem is, that all users are thrown out of their apps
> if we "redeploy" under production.
>   
wanna give us a test case?

Filip
> (I know thats not recommended, but sometimes its really necessary...)
>
> Thanks!
>
> Hans.
>
>
>
>
>
> Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten 
> bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie 
> nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich 
> erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu 
> kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu 
> verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu 
> loeschen. Vielen Dank. 
>
> This message is intended only for use by the named addressee and may contain 
> privileged and/or confidential information. If you are not the named 
> addressee, you should not disseminate, copy, or take any action in reliance 
> on it. If you have received this message in error, please immediately notify 
> the sender of this message and delete this message and any attachment. Thank 
> you.
>
> ---------------------------------------------------------------------
> 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]






Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten 
bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie 
nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich 
erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu 
kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu 
verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu loeschen. 
Vielen Dank.

This message is intended only for use by the named addressee and may contain 
privileged and/or confidential information. If you are not the named addressee, 
you should not disseminate, copy, or take any action in reliance on it. If you 
have received this message in error, please immediately notify the sender of 
this message and delete this message and any attachment. Thank you.

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