tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sunitha Kumar <sunit...@cisco.com>
Subject Unable to deploy a JSP from tomcat
Date Thu, 29 Jul 2004 19:07:38 GMT
Folks:
I have defined CLASSPATH to have $JAVA_HOME/lib/tools.jar, in catalina.sh
However, while deploying my .war file, it fails to find tools.jar.
Any pointers?
thanks,
-sunitha

Servlet  threw load() exception
org.apache.jasper.JasperException: Unable to compile class for JSP

No Java compiler was found to compile the generated source for the JSP.
This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar 
from the JDK
to the common/lib directory of the Tomcat server, followed by a Tomcat 
restart.
If using an alternate Java compiler, please check its installation and 
access path.

        at 
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)
        at 
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
        at 
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
        at 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
        at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
        at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at sun.reflect.GeneratedMethodAccessor146.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at 
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:284)




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


Mime
View raw message