Hi, I am running APache Tomcat 4.0 on a WinNT machine. The problem I am facing is that Tomcat does not automatically reload newly compiled servlets. This forces me to shutdown and restart Tomcat everytime I make a change. I have the following line in my server.xml file. <Context path="Auction" docBase="auction" debug="0" reloadable="true" /> The interesting part is that this reloading feature works absolutely fine on my Win98 box. Please advise me on the matter. Thanks in advance, Anoop
Hi, I have installed in Tomcat 4.0 on my WIN NT Machine not changed any xml file. It reflect changes without restarting the server,and message also comes on the server,that a particular file has been changed. Pls try to check with the simple examples,like System.out.println("...");
Yah Nair, Tomcat does not recognize the changed servlet's new bytecode, we have to explicitely shutdown and restart Tomcat to see the change effected... ...but you can use resim to avoid this restarting which is also a nice servlet engine! Zoe i m using Tomcat4.0.1 under Windows 2000 Server but i had to always restart my Tomcat when i recompile the source code by modifying a slight and have the change effected. Would u plz confirm me trying again in ur machine....
------------------ Muhammad Ashikuzzaman (Fahim) Sun Certified Programmer for the Java� 2 Platform --When you learn something, learn it by heart!
hi , I am facing the same problem Nair faced in Tomcat.That is, I am using Tomcat4.0 as StandAlone but it is Not reloading my servlets or beans (but does for jsp/html) .I have my web-app context in server.xml like this. <Context path="/test" docBase="examples" debug="0" reloadable="true"> Why it is NOT working without RESTARTING the Tomcat.
Ashik,My doubt is..If the Tomcat can NOT reload automatically,why could be the reloadable property given in the web-app context tag ??Could it be it a bug?The problem is I have to use Tomcat only for our client.we can not use resim. Can anybody help. with regards madhu [This message has been edited by madhu gun (edited December 17, 2001).]