tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Ward <david.w...@dotech.com>
Subject Re: HowTo remotly and permanently redeploy an application ???
Date Fri, 05 Oct 2001 14:33:09 GMT
Sure - use the JBoss/Tomcat4 Bundle 
(http://sourceforge.net/project/showfiles.php?group_id=22866) and simply 
copy your new war file on top of your old one in the auto-deploy 
directory ($JBOSS_DIST/deploy/).  It uses a new ClassLoader every time 
and maintains the same context-root.

David

--

Regele, Manfred wrote:

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




Mime
View raw message