tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Klacansky, Igor" <IKlacan...@ccis2.ucsd.edu>
Subject yet another Error 500 sun/tools/javac/Main with JSP examples
Date Thu, 13 Jul 2000 18:37:57 GMT
Hi,

Working on Win NT 4.0, jdk1.3, Apache1.3.12, Tomcat 3.1 I am getting a
version of sun/tools/javac/Main-error:

all JSP examples from tomcat are working but the ErrorPage when it should
serve the errorpge.jsp

I know the discussion on this subject. I tried CLASSPATH, I expanded
tools.jar in <jakarta-tomcat>\classes.
Funy, but under VisualAge (tomcat embeded) I am not getting this error.

Does anybody have an idea?
Is it possible, that tomcat doesn't like spaces in classpath in this
particular situation (G:\Program Files\Apache Group\...)?

env:

Context log: path="/examples" Adding context path="/examples"
docBase="webapps/examples"
Context log: path="" Adding context path=""  docBase="webapps/ROOT"
Context log: path="/test" Adding context path="/test"
docBase="webapps/test"
Context log: path="/projsp" Adding context path="/projsp"
docBase="webapps/projsp"
Starting tomcat install="G:\Program Files\Apache Group\jakarta-tomcat"
home="G:\Program Files\Apache Group\jakarta-tomcat" classPath="G:\Program
Files\Apache Group\jakarta-tomcat\classes;G:\Program Files\Apache
Group\jakarta-tomcat\lib\webserver.jar;G:\Program Files\Apache
Group\jakarta-tomcat\lib\jasper.jar;G:\Program Files\Apache
Group\jakarta-tomcat\lib\xml.jar;G:\Program Files\Apache
Group\jakarta-tomcat\lib\servlet.jar;G:\jdk1.3\lib\tools.jar;.;G:\jdk1.3\lib
\tools.jar;G:\books;H:\Oracle\Ora81\orb\classes\yoj.jar;H:\Oracle\Ora81\orb\
classes\share.zip;H:\Oracle\Ora81\jdbc\lib\nls_charset12.zip;H:\Oracle\Ora81
\jdbc\lib\classes12.zip;H:\Oracle\Ora81\jdbc\lib\jta.zip;H:\Oracle\Ora81\jdb
c\lib\jndi.zip;G:\Program Files\Apache
Group\jakarta-tomcat\webapps\examples\WEB-INF\classes;G:\IBMVJava2\eab\runti
me30"
Context log: path="/admin" Automatic context load docBase="G:\Program
Files\Apache Group\jakarta-tomcat\webapps\admin"
Unhandled error! You might want to consider having an error page to report
such errors more gracefully
java.lang.NoClassDefFoundError: sun/tools/javac/Main
	at
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:238)
	at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
	at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:149)
	at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
va:161)
	at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
	at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
	at
org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatcherImpl.j
ava:163)
	at
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:357)
	at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:381)
	at
jsp.error._0002fjsp_0002ferror_0002ferr_0002ejsperr_jsp_0._jspService(_0002f
jsp_0002ferror_0002ferr_0002ejsperr_jsp_0.java:130)
	at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
va:174)
	at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
	at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
	at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
	at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:160)
	at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
	at java.lang.Thread.run(Thread.java:484)

Thank you,

Igor Klacansky
iklacansky@ucsd.edu

Mime
View raw message