tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Niedermann <...@gmx.net>
Subject Error with Tomcat-Example-JSPs
Date Fri, 08 Jun 2001 16:23:42 GMT
Hello,

I've installed the Tomcat-Server jakarta-tomcat-3.2.2 from apache.org
and it is well running with the example-servlets.

But If I try to execute a JSP-Example (comes with tomcat) there are
only errors.
I don't know why it isn't working, it's a standart tomcat-installation
and I don't have modified the JSP-Files.

Would be very nice if somebody could tell me what I can do to solve
this problem!

This is one of the error-Messages which comes up in the Browser
window if I try to access a Sample-JSP:

Error: 500
Location: /vorlage/jsp/num/numguess.jsp
Internal Servlet Error:

javax.servlet.ServletException: sun/tools/javac/Main
	at java.lang.Throwable.(Throwable.java:96)
	at java.lang.Exception.(Exception.java:44)
	at javax.servlet.ServletException.(ServletException.java:161)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
	at org.apache.tomcat.core.Handler.service(Handler.java:287)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
	at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
	at java.lang.Thread.run(Thread.java:498)
Root cause:

java.lang.NoClassDefFoundError: sun/tools/javac/Main
	at
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:136)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
	at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:612)
	at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
	at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:542)
	at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:258)
	at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:268)
	at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
	at org.apache.tomcat.core.Handler.service(Handler.java:287)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
	at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
	at java.lang.Thread.run(Thread.java:498)

Thanks a lot for help!

Frank
-- 
                         -----------------
-----------------------<      F  B  N      >-------------------------
 fbn@gmx.net             -----------------          Frank Niedermann
 fbn@jabber.org                                http://fbn.dyndns.org
                Life's too short for Reboots - Linux
---------------------------------------------------------------------

Mime
View raw message