tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53376] New: Unable to load class for JSP - tomcat errors
Date Thu, 07 Jun 2012 03:30:50 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53376

          Priority: P2
            Bug ID: 53376
          Assignee: dev@tomcat.apache.org
           Summary: Unable to load class for JSP - tomcat errors
          Severity: major
    Classification: Unclassified
                OS: Linux
          Reporter: vamshi.x.tekuru@ampf.com
          Hardware: All
            Status: NEW
           Version: 6.0.29
         Component: Jasper
           Product: Tomcat 6

Tomcat is throwing errors when work folder is deleted while it is runing.Please
let us know if this fixed in any of the newer versions.

This prevents the ability to hot deploy the components.

JspCompilationContext.java line 628:
  servletClass = jspLoader.loadClass(name);
and before that, tomcat has successfully recompiled the jsp page at work
folder,
but it seems tomcat cannot find it when load it to memory.


Error details:

org.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to
load class for JSP
org.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to
load class for JSP
    at
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:156)


Thanks,
Vamsi Tekuru
    at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
    at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
    at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)

Caused by: org.apache.jasper.JasperException: Unable to load class for JSP
    at
org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:630)
    at
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:144)
    ... 176 more
Caused by: java.lang.ClassNotFoundException: org.apache.jsp.view_jsp
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:134)
    at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:66)
    at
org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:628)
    ... 177 more

-- 
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