You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Regele, Manfred" <Ma...@Adig.de> on 2001/10/08 12:07:45 UTC

remove redeploy with /manager application not possible ?

Hi,

Sorry to repost this question, but I still have not found a solution.

Is it possible to remotly *RE*deploy a war-file that survives a reboot of
tomcat ?

Manfred Regele 
ADIG Investment GmbH
22 Methoden&Tools
Richard-Reitzner-Allee 2
85540 Haar
Tel: 089/46268-308
mailto:Manfred.Regele@Adig.de
http://www.adig.de

> -----Ursprüngliche Nachricht-----
> Von:	Regele, Manfred 
> Gesendet am:	Freitag, 5. Oktober 2001 16:26
> An:	'tomcat-user@jakarta.apache.org'
> Betreff:	HowTo remotly and permanently redeploy an application ???
> 
> Hi,
> 
> I would like to remotly update an *existing* web-application via the
> /manager application
> in tomcat4. Is there any possibility to do this ?
> 
> Unfortunately you cannot redeploy an application with the same war-file
> (since it does not get unpacked)
> 
> I can update it with a renamed new war-file. The problem is: After reboot,
> there
> are two context-roots. Even worse: the original root points to the old war
> file !
> 
> Any workaround for my problem ?
> 
> Example:
> 
> ** Does not work at all: **
> *****************************
> http://localhost:7000/manager/install?path=/vbh-wc&war=jar:http://m22da/vb
> h-wc.war!/
> http://localhost:7000/manager/remove?path=/vbh-wc
> change somthing
> http://localhost:7000/manager/install?path=/vbh-wc&war=jar:http://m22da/vb
> h-wc.war!/
> 
> ** Does only work until next reboot: **
> *************************************
> http://localhost:7000/manager/install?path=/vbh-wc&war=jar:http://m22da/vb
> h-wc_Version_1.war!/
> http://localhost:7000/manager/remove?path=/vbh-wc
> change somthing
> http://localhost:7000/manager/install?path=/vbh-wc&war=jar:http://m22da/vb
> h-wc_Version_2.war!/
> 
> after reboot
> ==> webapp/vbh-wc_version1	<< == the old one wins and is vbh-wc UARGH !
>        webapp/vbh-wc_version2	<< == ok, but runs as vbh-wc_version2 !!!!
> 
> 
> Manfred Regele 
> ADIG Investment GmbH
> 22 Methoden&Tools
> Richard-Reitzner-Allee 2
> 85540 Haar
> Tel: 089/46268-308
> mailto:Manfred.Regele@Adig.de
> http://www.adig.de
> 


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************