tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Kerber <dcker...@verizon.net>
Subject Re: How to reload web app from java program?
Date Sun, 04 May 2008 02:02:17 GMT
David Smith wrote:
> Don't think so.  The next best things are a) using the manager webapp 
> to reload or b) design the webapp to reload local config information 
> itself.  The only down side to (b) is it can't work on resources 
> defined in tomcat configs like database pools.
Couldn't you call an external batch file that stopped and then restarted 
Tomcat?  Like calling a windows .cmd file that issued NET STOP and NET 
START commands?  That's not exactly the application itself doing the 
restart, but it's probably close enough for most purposes.

D

>
> --David
>
> milos@grf.bg.ac.yu wrote:
>> Hello,
>> is there any way to reload deployed application from the application 
>> itself?
>> I suppose there must be an API to do that.
>>
>> Thanks in advance,
>> Milos Kovacevic


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message