To turn on servlet reloading, edit Edit install_dir/conf/context.xml and change
<Context>
to
<Context reloadable="true">
for Tomcat 5.X
for Tomcat less then 5.x put
<Context path="" docBase="ROOT" debug="0"/>
<DefaultContext reloadable="true"/>
in server.xml
There is a possibility to restart only webappl without restarting the sever, it could be a solution.
1. go and change ur tomcat-users.xml and add a user with such a line
<user name="yourname" password="yourpassword" roles="manager" />
2. restart ur tomcat.
3. in ur web browser, type
http://localhost:8080/manager/list (or whatever port u r using)
4. log in with the password and name, u shld see the list of the applications running
5. type
http://localhost:8080/manager/stop?path=/myapp to stop that specific app
6. type
http://localhost:8080/manager/start?path=/myapp to start that app again.
7. the updated compiled beans or classes should load properly.
or
http://localhost:8080/manager/html
For more info:
http://tomcat.apache.org/tomcat-5.0-...20Applications