tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "naouguh_tomcat" <908245...@qq.com>
Subject Re: tomcat reload single application command
Date Tue, 16 Apr 2013 11:59:31 GMT
Hi All,

If I use the curl comand e.g. curl "http://localhost:8080/manager/html/reload?path=/xxx" 
to reload one appliation in tomcat 6.0 ,However , it will fail as  the manager application
need authentication .
So how can I do to reload in this way ?
Looking forward for your suggestion .



Best Regards,
Guoan Hu




------------------ Original ------------------
From:  "neven.cvetkovic"<neven.cvetkovic@gmail.com>;
Date:  Mon, Apr 15, 2013 08:00 PM
To:  "Tomcat Users List"<users@tomcat.apache.org>; 

Subject:  Re: tomcat reload single application command



Why would you want to reload the application? What are the motives behind
that?

There are few ways to do it... it all depends what do you want to
accomplish and what type of an app it... what is your current deployment
procedure?

Here are few ways:

1. Obvious one, remove app from webapps and copy it again. Automatic
deployment will take care of it.

2. Use above mentioned method through the management app, using curl or
wget tool to invoke the reload.

3. Similar method to 2, but using manager app jmxproxy servlet.

4. Writing your custom code to access jmx and call mbean to invoke
deployment reload.

Hope that helps...
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message