tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <>
Subject RE: Webapp with Adminstrative Console
Date Tue, 05 Dec 2006 20:46:38 GMT
> From: chuanjiang lo [] 
> Subject: Re: Webapp with Adminstrative Console
> Is there any articles i can look at to implement the servlet watch for
> changes to the .ini file?

You can set a <WatchedResource> tag inside the <Context> element for
your webapp; changing the target of that should trigger a reload of the
app.  Look here for doc:

> I don't think i am able to redeploy the app, since the 
> adminstrator console changing the .ini file of the
> application that is currently running on tomcat..

Should be able to do it by sending a delayed refresh of the console page
back to the client, and also forwarding a request to the html-manager
app to do the redeploy.  A bit of a kludge, but it can probably be made
to work.  Shouldn't be needed with <WatchedResource>.

But better just to process the updated .ini file without redeploying the
app, if possible.

 - Chuck

MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message