Hi guys,
We have two tomcat servers load-balanced behind apache. Several times now we'e gotten reports of a 500 error on a page. Checking shows the following error, but only on one of the tomcats:
java.lang.ClassNotFoundException: org.apache.jsp.jsps.userLogin_jsp
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
etc...
I've tried clearing the work directory and editing the jsp page, with no luck. The only thing that solves it is a tomcat restart, but obviously we need to avoid this kind of solution in production.
Has anyone solved this problem before? My searching has only found questions without answers, including a tomcat bug that was resolved as 'works for me': https://issues.apache.org/bugzilla/show_bug.cgi?id=30450
I'd really appreciate any insight you have. Here is some other info about the project:
- apache-tomcat-6.0.28
- java 1.6
- maven
- Spring 2.5 (heavy use of MVC with jstl)
Thanks!