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.cvetko...@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...

Reply via email to