tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Barr <gordon.b...@bristol.ac.uk>
Subject Jikes & Tomcat 4.0.1 on Windows NT
Date Thu, 15 Nov 2001 10:41:30 GMT
I wonder if anybody out there can help ................

I am trying to get Jikes to compile my JSP pages but all to no avail. I have set up the catalina.bat
& web.xml files as detailed in the release notes (details listed below) but it still does
not 
work (error thrown listed below). Suspect it may be a classpath prob but am running out of
ideas 
fast! The conventional set up using JAVAC works fine. Anybody got any thoughts on how to 
make it all work?

Thanks in advance,
Gordon

Operating system: Windows NT
Tomcat Version: 4.0.1
Jikes Version: 1.15

catalina.bat entry:
set 
CP=%JAVA_HOME%\jre\lib\rt.jar;%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar

web.xml entry:
  <servlet>
    <servlet-name>jsp</servlet-name>
    <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
    <init-param>
      <param-name>logVerbosityLevel</param-name>
      <param-value>WARNING</param-value>
    </init-param>
    <init-param>
      <param-name>jspCompilerPath</param-name>
      <param-value>c:\jdk1.3\addins\jikes-1.15\bin\jikes.exe</param-value>
    </init-param>
    <init-param>
      <param-name>jspCompilerPlugin</param-name>
      <param-value>org.apache.jasper.compiler.JikesJavaCompiler</param-value>
    </init-param>
    <load-on-startup>3</load-on-startup>
  </servlet>

Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error

--------------------------------------------------------------------------------

type Exception report

message Internal Server Error

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

exception 

org.apache.jasper.JasperException: Unable to compile class for JSP
C:/Program Files/Apache Tomcat 4.0/work/localhost/development/index$jsp.java:0:0:0:0: Error:
Could not find package "java/util" in:
                C:\Program Files\Apache Tomcat 4.0\bin\bootstrap.jar
                C:\Program Files\Apache Tomcat 4.0\webapps\development\WEB-INF\classes
                C:\Program Files\Apache Tomcat 4.0\webapps\development\WEB-INF\lib\crimson.jar
                C:\Program Files\Apache Tomcat 4.0\webapps\development\WEB-INF\lib\jaxp.jar
                C:\Program Files\Apache Tomcat 4.0\classes
                C:\Program Files\Apache Tomcat 4.0\lib\jasper-compiler.jar
                C:\Program Files\Apache Tomcat 4.0\lib\jasper-runtime.jar
                C:\Program Files\Apache Tomcat 4.0\lib\naming-factory.jar
                C:\Program Files\Apache Tomcat 4.0\common\classes
                C:\Program Files\Apache Tomcat 4.0\common\lib\activation.jar
                C:\Program Files\Apache Tomcat 4.0\common\lib\colt.jar
                C:\Program Files\Apache Tomcat 4.0\common\lib\jdbc2_0-stdext.jar
                C:\Program Files\Apache Tomcat 4.0\common\lib\jta.jar
                C:\Program Files\Apache Tomcat 4.0\common\lib\mail.jar
                C:\Program Files\Apache Tomcat 4.0\common\lib\mm.mysql-2.0.7-bin.jar
                C:\Program Files\Apache Tomcat 4.0\common\lib\naming-common.jar
                C:\Program Files\Apache Tomcat 4.0\common\lib\naming-resources.jar
                C:\Program Files\Apache Tomcat 4.0\common\lib\servlet.jar
                C:\Program Files\Apache Tomcat 4.0\common\lib\tools.jar
                C:\Program Files\Apache Tomcat 4.0\common\lib\tyrex-0.9.7.0.jar
                C:\Program Files\Apache Tomcat 4.0\common\lib\xerces.jar
                .


C:/Program Files/Apache Tomcat 4.0/work/localhost/development/index$jsp.java:0:0:0:0: Error:
Could not find package "java/lang" in:
                C:\Program Files\Apache Tomcat 4.0\bin\bootstrap.jar
                C:\Program Files\Apache Tomcat 4.0\webapps\development\WEB-INF\classes
                C:\Program Files\Apache Tomcat 4.0\webapps\development\WEB-INF\lib\crimson.jar
                C:\Program Files\Apache Tomcat 4.0\webapps\development\WEB-INF\lib\jaxp.jar
                C:\Program Files\Apache Tomcat 4.0\classes
                C:\Program Files\Apache Tomcat 4.0\lib\jasper-compiler.jar
                C:\Program Files\Apache Tomcat 4.0\lib\jasper-runtime.jar
                C:\Program Files\Apache Tomcat 4.0\lib\naming-factory.jar
                C:\Program Files\Apache Tomcat 4.0\common\classes
                C:\Program Files\Apache Tomcat 4.0\common\lib\activation.jar
                C:\Program Files\Apache Tomcat 4.0\common\lib\colt.jar
                C:\Program Files\Apache Tomcat 4.0\common\lib\jdbc2_0-stdext.jar
                C:\Program Files\Apache Tomcat 4.0\common\lib\jta.jar
                C:\Program Files\Apache Tomcat 4.0\common\lib\mail.jar
                C:\Program Files\Apache Tomcat 4.0\common\lib\mm.mysql-2.0.7-bin.jar
                C:\Program Files\Apache Tomcat 4.0\common\lib\naming-common.jar
                C:\Program Files\Apache Tomcat 4.0\common\lib\naming-resources.jar
                C:\Program Files\Apache Tomcat 4.0\common\lib\servlet.jar
                C:\Program Files\Apache Tomcat 4.0\common\lib\tools.jar
                C:\Program Files\Apache Tomcat 4.0\common\lib\tyrex-0.9.7.0.jar
                C:\Program Files\Apache Tomcat 4.0\common\lib\xerces.jar
                .


	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)
	at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
	at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
	at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
	at java.lang.Thread.run(Unknown Source)


_________________________________

Gordon Barr, STARTright Project
Department of Engineering Mathematics
Design Information Group
University of Bristol
83 Woodland Road
Bristol BS8 1US

Tel:      0117 9288914
Fax:     0117 9288912
e-mail:  gordon.barr@bristol.ac.uk
http://www.dig.bris.ac.uk/staff/gordon/gb.htm


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message