tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <hans.ma...@magnasteyr.com>
Subject AW: Tomcat Session Replication at undeploy/install (6.0.14 / windows)
Date Wed, 29 Aug 2007 05:17:03 GMT
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:devlists@hanik.com]
Gesendet: Dienstag, 28. August 2007 19:15
An: Tomcat Users List
Betreff: Re: Tomcat Session Replication at undeploy/install (6.0.14 /
windows)


hans.mader@magnasteyr.com 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: 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






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


Mime
View raw message