Mantis - Resin
Viewing Issue Advanced Details
2702 minor always 05-27-08 13:41 06-12-08 15:02
nam  
ferg  
high  
closed 3.1.6  
fixed  
none    
none 3.2.0  
0002702: jsp class file length mismatch -> ClassNotFoundException
(rep by N. Maves)

[2008/05/23 14:15:02.202] WebApp[http://localhost:80/foo] [^] active
[2008/05/23 14:15:21.424] Loading .tld files from global classpath
[2008/05/23 14:15:24.621] Note: /home/resin/resin-pro-3.1.6/webapps/foo/WEB-INF/work/_jsp/_WEB_22dINF/_tags/_fUtil/_setBundle__tag.java uses unchecked or unsafe operations.
[2008/05/23 14:15:24.621] Note: Recompile with -Xlint:unchecked for details.
[2008/05/23 14:15:24.786] Note: /home/resin/resin-pro-3.1.6/webapps/foo/WEB-INF/work/_jsp/_WEB_22dINF/_tags/_fUtil/_setMessage__tag.java uses unchecked or unsafe operations.
[2008/05/23 14:15:24.786] Note: Recompile with -Xlint:unchecked for details.
[2008/05/23 14:15:24.939] Note: Some input files use unchecked or unsafe operations.
[2008/05/23 14:15:24.939] Note: Recompile with -Xlint:unchecked for details.
[2008/05/23 14:15:24.947] /WEB-INF/tags/f/templateHome.tag:22: _jsp/_WEB_22dINF/_tags/_fUtil/_setMessage__tag
[2008/05/23 14:15:24.947]
[2008/05/23 14:15:24.947] 20:
[2008/05/23 14:15:24.947] 21: <head>
[2008/05/23 14:15:24.947] 22: <title><f:message key="page.title"/></title>
[2008/05/23 14:15:24.947] 23:
[2008/05/23 14:15:24.947] 24: <%-- FAVICON, SCRIPTS AND CSS --%>
[2008/05/23 14:15:24.947]
[2008/05/23 14:15:25.426] Note: /home/resin/resin-pro-3.1.6/webapps/foo/WEB-INF/work/_jsp/_WEB_22dINF/_tags/_fUtil/_setMessage__tag.java uses unchecked or unsafe operations.
[2008/05/23 14:15:25.426] Note: Recompile with -Xlint:unchecked for details.

After I click reload on the same jsp I get

[2008/05/23 14:16:57.588] Note: /home/resin/resin-pro-3.1.6/webapps/foo/WEB-INF/work/_jsp/_WEB_22dINF/_tags/_fUtil/_getRegion__tag.java uses unchecked or unsafe operations.
[2008/05/23 14:16:57.588] Note: Recompile with -Xlint:unchecked for details.
[2008/05/23 14:16:57.745] Note: /home/resin/resin-pro-3.1.6/webapps/foo/WEB-INF/work/_jsp/_WEB_22dINF/_tags/_f/_link__tag.java uses unchecked or unsafe operations.
[2008/05/23 14:16:57.745] Note: Recompile with -Xlint:unchecked for details.
[2008/05/23 14:16:57.965] Note: /home/resin/resin-pro-3.1.6/webapps/foo/WEB-INF/work/_jsp/_WEB_22dINF/_tags/_f/_templateHome__tag.java uses unchecked or unsafe operations.
[2008/05/23 14:16:57.965] Note: Recompile with -Xlint:unchecked for details.
[2008/05/23 14:16:58.087] Note: /home/resin/resin-pro-3.1.6/webapps/foo/WEB-INF/work/_jsp/_WEB_22dINF/_tags/_f/_content__tag.java uses unchecked or unsafe operations.
[2008/05/23 14:16:58.087] Note: Recompile with -Xlint:unchecked for details.
[2008/05/23 14:16:58.268] Note: /home/resin/resin-pro-3.1.6/webapps/foo/WEB-INF/work/_jsp/_WEB_22dINF/_tags/_f/_templateHome__tag.java uses unchecked or unsafe operations.
[2008/05/23 14:16:58.268] Note: Recompile with -Xlint:unchecked for details.
[2008/05/23 14:16:58.280] java.lang.NoClassDefFoundError: _jsp/_WEB_22dINF/_tags/_f/_templateHome__tag
[2008/05/23 14:16:58.280] at _jsp._home__jsp.init(_home__jsp.java:222)
[2008/05/23 14:16:58.280] at com.caucho.jsp.JspManager.loadPage(JspManager.java:396)
[2008/05/23 14:16:58.280] at com.caucho.jsp.JspManager.compile(JspManager.java:246)
[2008/05/23 14:16:58.280] at com.caucho.jsp.JspManager.createPage(JspManager.java:170)
[2008/05/23 14:16:58.280] at com.caucho.jsp.JspManager.createPage(JspManager.java:149)
[2008/05/23 14:16:58.280] at com.caucho.jsp.PageManager.getPage(PageManager.java:248)
[2008/05/23 14:16:58.280] at com.caucho.jsp.PageManager.getPage(PageManager.java:178)
[2008/05/23 14:16:58.280] at com.caucho.jsp.PageManager.getPage(PageManager.java:161)
[2008/05/23 14:16:58.280] at com.caucho.jsp.QServlet.getSubPage(QServlet.java:295)
[2008/05/23 14:16:58.280] at com.caucho.jsp.QServlet.getPage(QServlet.java:210)
[2008/05/23 14:16:58.280] at com.caucho.server.dispatch.PageFilterChain.compilePage(PageFilterChain.java:238)
[2008/05/23 14:16:58.280] at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:145)
[2008/05/23 14:16:58.280] at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:97)
[2008/05/23 14:16:58.280] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:266)
[2008/05/23 14:16:58.280] at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:283)
[2008/05/23 14:16:58.280] at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:108)
[2008/05/23 14:16:58.280] at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
[2008/05/23 14:16:58.280] at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
[2008/05/23 14:16:58.280] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
[2008/05/23 14:16:58.280] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
[2008/05/23 14:16:58.280] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
[2008/05/23 14:16:58.280] at javax.servlet.http.HttpServlet.service(HttpServlet.java:114)
[2008/05/23 14:16:58.280] at javax.servlet.http.HttpServlet.service(HttpServlet.java:91)
[2008/05/23 14:16:58.280] at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)
[2008/05/23 14:16:58.280] at com.fooairlines.base.filter.ValidSessionFilter.doFilter(ValidSessionFilter.java:67)
[2008/05/23 14:16:58.280] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
[2008/05/23 14:16:58.280] at com.fooairlines.base.filter.DomainRedirectFilter.doFilter(DomainRedirectFilter.java:123)
[2008/05/23 14:16:58.280] at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:87)
[2008/05/23 14:16:58.280] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187)
[2008/05/23 14:16:58.280] at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:266)
[2008/05/23 14:16:58.280] at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:270)
[2008/05/23 14:16:58.280] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:678)
[2008/05/23 14:16:58.280] at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721)
[2008/05/23 14:16:58.280] at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643)
[2008/05/23 14:16:58.280] at java.lang.Thread.run(Thread.java:619)
[2008/05/23 14:16:58.280] Caused by: java.lang.ClassNotFoundException: _jsp._WEB_22dINF._tags._f._templateHome__tag [java.io.IOException: class file length mismatch]
[2008/05/23 14:16:58.280] at com.caucho.loader.DynamicClassLoader.findClassImpl(DynamicClassLoader.java:1395)
[2008/05/23 14:16:58.280] at com.caucho.loader.DynamicClassLoader.loadClassImpl(DynamicClassLoader.java:1287)
[2008/05/23 14:16:58.280] at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1218)
[2008/05/23 14:16:58.280] at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1202)
[2008/05/23 14:16:58.280] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
[2008/05/23 14:16:58.280] ... 35 more
[2008/05/23 14:16:58.280] Caused by: java.io.IOException: class file length mismatch
[2008/05/23 14:16:58.280] at com.caucho.loader.ClassEntry.load(ClassEntry.java:398)
[2008/05/23 14:16:58.280] at com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1469)
[2008/05/23 14:16:58.280] at com.caucho.loader.DynamicClassLoader.findClassImpl(DynamicClassLoader.java:1387)
[2008/05/23 14:16:58.280] ... 39 more

There are no notes attached to this issue.