tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frederick J. Ingham" <>
Subject Re: TC 4 - Reloading Web Apps from within the App?
Date Mon, 05 Nov 2001 05:10:17 GMT
Hash: SHA1

I know you said you did not want to use the manager application
itself (I am assuming you mean having the user interact with the
manager application), but why not call the manager application from
within your application?  For a reason different than yours, I call
the manager application from within another servlet to do a similar
thing.  The only thing that was moderately difficult in doing so (and
only because I had not done it before) was sending the HTTP basic
authentication credentials to the manager application.

Of course the other alternative is to read what the manager
application actually does and duplicate that functionality in your
own application... but why do that if you can simply call the manager
application directly.

The last thing you would have to deal with is a catch-22 situation...
if you incorporate calling the manager application in your
application, once the user has initiated the 'reload' to load the new
application, the initial application that he was dealing with is no
longer active, so what are you supposed to show the user (or for that
matter, how do you even know who to talk to... you have lost your
connection to him...).


- ----- Original Message ----- 
From: Richard Gill <>
To: <>
Sent: Sunday, November 04, 2001 11:08 PM
Subject: TC 4 - Reloading Web Apps from within the App?

> Hi, I need to be able to force the reloading of a Context from
> within a running web app.  Does anyone have any idea how to achieve
> this?
> eg: I have used the webapp itself to upload a new JAR file to
> install an upgrade to itself, then want the user to be able to
> trigger a reload (without having to use the current TC4 Manager
> app, and without needing to have automatic reload checking turned
> on).
> Any ideas?
> thanks.
> Richard Gill
> --
> To unsubscribe:  
> <> For additional
> commands: <> Troubles
> with the list: <> 

Version: PGP Personal Privacy 6.5.3


To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message