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/vbh-
wc.war!/
http://localhost:7000/manager/remove?path=/vbh-wc
change somthing
http://localhost:7000/manager/install?path=/vbh-wc&war=jar:http://m22da/vbh-
wc.war!/

** Does only work until next reboot: **
*************************************
http://localhost:7000/manager/install?path=/vbh-wc&war=jar:http://m22da/vbh-
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/vbh-
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:[EMAIL PROTECTED]
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
**********************************************************************

Reply via email to