Reputation: 425
In Linux, Tomcat is not loading new class(compiled version of .java file and not JSP file).
What I did:
My deployment is in exploded format. Same change is reflected under Windows 8. Earlier, I did update few classes(compiled version of .java file and not JSP file) and restarted the server which reflected the changes as expected.
Environment: Tomcat 7.0 under Amazon Linux AMI release 2013
Please help resolve the problem. Thanks in advance!
Upvotes: 1
Views: 2688
Reputation: 15042
Whenever you have strange tomcat issues like this, the first thing to do is stop tomcat, delete the work directory, delete the deployment directories. Then re-deploy the war file and restart.
Always do this before trouble-shooting further as it usually fixes weird deployment issues.
Upvotes: 2