Hi all, Firstly I'm running on Java 1.6, Tomcat 6.0.14 and Linux 2.6.16.
I'm a little stumped and would appreciate some tips on where to even start debugging this problem. Particularly if you would advise hardcoding a JSP compile classpath or precompiling. Recently after a startup of Tomcat I have started sometimes getting a NoClassDefFoundError like so: javax.servlet.jsp.JspException: java.lang.NoClassDefFoundError: org/apache/jsp/tag/meta/head_tagx I understand that when compiling custom tags Jasper always puts the classes into the org.apache package -> this explains why my custom head.tagx file is being put in this package. I have looked in the 'work' directory and the head.tagx exists in both .java and .class form. One thing to note its that it actually appears several times, once for each of the different webapps it is used in. For this reason I think it is to do with the auto generated classpath. The problem is also intermittent, sometimes it doesn't happen at all. it can be fairly consistently reproduced by stopping Tomcat, deleting the work directory and then starting it back up again and opening several JSPs in different tabs of the browser. Interestingly sometimes refreshing the page in a browser is enough to make the problem go away - sometimes you have to bounce Tomcat. The stack trace gives jsp context like so: org.apache.jasper.JasperException: An exception occurred processing JSP page /WEB-INF/jsp/update/form.jspx at line 6 3: xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" 4: xmlns:c="http://java.sun.com/jsp/jstl/core"> 5: <fmt:setBundle basename="com.blah.i18n.update" /> 6: <blah:head> 7: 8: </blah:head> 9: <body> it specifies the root cause as being the NoClassDefFoundError. I'd really like to hear if anyone has had a similar problem. Many thanks, Ashley --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]