I've run into this problem before as well, and never found a good
answer. It seems that Tomcat has a thread that looks at the currently
deployed webapps and reloads any class and jar files as needed. The
problem is that this doesn't happen often enough.
In the end, it took less time to restart Tomcat. I had by ant script
deploy into the webapps directory when ever I did a build, then I
created a script to restart Tomcat that looked like this:
%JAVA_HOME%\bin\java.exe -jar -Duser.dir="C:\Tomcat 4.1" "C:\Tomcat
4.1\bin\bootstrap.jar" stop
%JAVA_HOME%\bin\java.exe -jar -Duser.dir="C:\Tomcat 4.1" "C:\Tomcat
4.1\bin\bootstrap.jar" start
If you find a better solution, please post it to the group.
-Nathan
"kimbuba" <ki**************@yahoo.it> wrote in message news:<29**************@tornado.fastwebnet.it>...
Hi all,
i'm writing cause i'm not able to find any good resources about this topic.
I'm programming on tomcat and i have my browser open to see changes i made.
The problem is that i'd like to see changes immediatly,
is there a way to do this, but using start-stop-reload from tomcato manager
admin?
I tried to add this to server.xml
<Context path="/info" docBase="info" debug="0" reloadable="true">
</Context>
the webapp servlet seems to reload only after 10-15 seconds. or it doesn't
reload at all.
Of course i set browser to no cache.
what can i do?
Thnx to all.