You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Raju Balugu <ra...@gmail.com> on 2006/08/31 10:01:52 UTC

Reposting this( precompilation issues with tomcat5.5.17)

 Hi All,

I did the precompilation while build the image and installed this image and
tried to launch the pages , throwing the errors.I inverstigated those errors
and suspected the problem with work directory ,deleted the work directory
and stop and started the tomcat  and launched the pages without any issues.

Here my question is : Why it's not launched with precompilation
classes.whatmight be the reason behind this ?
I could see the size difference between the precompiled one and while
launching (compiled one).



*type* Exception report

*message* **

*description* *The server encountered an internal error () that prevented it
from fulfilling this request.*

*exception*

javax.servlet.ServletException: org/apache/jsp/login/login_jsp (wrong
name: org/apache/jsp/login_jsp)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:272)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

 *root cause*

java.lang.NoClassDefFoundError: org/apache/jsp/login/login_jsp (wrong
name: org/apache/jsp/login_jsp)
	java.lang.ClassLoader.defineClass1(Native Method)
	java.lang.ClassLoader.defineClass(ClassLoader.java:620)
	java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
	java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
	java.net.URLClassLoader.access$100(URLClassLoader.java:56)
	java.net.URLClassLoader$1.run(URLClassLoader.java:195)
	java.security.AccessController.doPrivileged(Native Method)
	java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:133)
	org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:65)
	org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:596)
	org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:147)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:315)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

 *note* *The full stack trace of the root cause is available in the Apache
Tomcat/5.5.17 logs.*

Please share your experience?How to avoid this problem?

Regards
 Raju