tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50634] New: Running a precompiled JSP causes ClassNotFoundException for dependent Jasper class
Date Sat, 22 Jan 2011 15:35:51 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50634

           Summary: Running a precompiled JSP causes
                    ClassNotFoundException for dependent Jasper class
           Product: Tomcat 7
           Version: trunk
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: chris@christopherschultz.net


Created an attachment (id=26533)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26533)
Webapp that demonstrates this error.

Deploy the attached webapp and navigate to http://host/jspc/Test.jsp

Expected: correct execution of the JSP.

Result:
java.lang.ClassNotFoundException: org.apache.jasper.runtime.JspSourceDependent
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1643)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1488)
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
        at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2775)
        at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1115)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1610)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1488)
        at
org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:415)
        at
org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:397)
        at
org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:118)
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
        at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:799)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:135)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
        at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:380)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166)
        at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message