Skip to main content

Posts

Showing posts with the label tcwiki

TCWiki: How to make Tomcat know updated servlet

Hi all, I recently noticed that every time I make a single change to a servlet, I have to stop Tomcat and start it again so that the change is applied. I tried clearing the browser's cache but it didn't work. Well, I have just had Tomcat running with Apache for a few weeks but I don't remember Tomcat behaved like this before. Does anyone have any idea what is going on? I appreciate any help or suggestion. Thanks  Answer: Set reloadable to be true in context.xml "<"Context path="/tcwiki" docBase="tcwiki"    crossContext="true" reloadable="true" debug="1"">"     "<"!-- Default set of monitored resources --">"     "<"WatchedResource">"WEB-INF/web.xml"<"/WatchedResource">" "<"/Context">" or you can reload manually running http://localhost:8080/manager/reload?path=/tcwiki