Hi, I m using resin server.. if i wrote a servlet and didn't compiled it it's automatically getting compiled and showing output correctly.. next time if i change the contents of servlet it's not showing new contents. i tried to compile it manually but still it's not displaying the new output. i m getting the new output only after restarting server.. but in specs we read that if there is change in class file server should automatically replace the old class file with new one.. do this have any remedy.. i also tried setting resin.conf i made two changes.. 1.<cache-mapping url-pattern='/' expires='0s'/> 2.<class-update-interval>0</class-update-interval> Still no effect.. Thanx in advance.. Bhupendra
You are using the wrong tags to set this. From Resin 2.0.2 Documentation for Trouble shooting: "Resin doesn't update changed servlets and JSP pages" Resin has a delay for testing updated servlets and JSP pages. The configuration variable for both is 'class-update-interval' in resin.conf. It's an application-level variable. The default is 15 seconds. So Resin will only check every 15 seconds for an updated page. You can set this value to 0 for development work.
Hi carl, Thanx for reply i also read the documnetation and found the same thing... but surprisingly in resin.config there is no such element.. <http-config class-update-interval='X'> ... </http-config> Do i need to add it.. if yes where?? forgot to mension i am using resin-cmp 1.0 Bhupendra
[This message has been edited by Mahajan Bhupendra (edited November 07, 2001).]