I am having trouble seeing changes made to a web app deployed to Tomcat 5.5 using the hot deploy functionality.
While changes changes to classes are being reloaded okay, I cannot see any changes to JSP pages without reloading the webapp.
The changed files are synched in the webapps directory however the changes are not visible – even if I clear out the compiled servlets in the work directory.
I have another project deployed which works as expected. The only thing I can think off is that it is something to do with having a context.xml file located in WebRoot/META-INF, the project I am having problems with having this and the other not.
Any ideas anyone?
<?xml version='1.0' encoding='utf-8'?>
<!-- CONTEXT FILE FOR TRIAL DEPLOYMENT -->
<Context displayName="Local Test" debug="8" reloadable="true" antiResourceLocking="true" cookies="true" crossContext="false"
docBase="C:/Program Files/Apache Software Foundation/Tomcat 5.5/webapps/TestApp">
<Resource name="jdbc/abcl"
auth="Container"
type="javax.sql.DataSource"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/abc"
username="x"
password="y"
maxActive="20"
maxIdle="10"
maxWait="-1"
removeAbandoned="true"
removeAbandonedTimeout="10"
logAbandoned="true" />
<!--
<Manager pathname="" />
-->
</Context>