tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Håkon Gunnar Larsson (ETO) <Hakon.Gunnar.Lars...@eto.ericsson.se>
Subject Problems when running JSP files om my Linux Box
Date Wed, 14 Mar 2001 09:57:34 GMT
I'm having some problems when running .jps files om my Linux box, in fact they are not running
at all.
I have also set the TOMCAT_HOME and JAVA_HOME to the correct path according to the manual.
What puzzle's me is that on my NT box I'm not experiencing any of these problems.
Here are the messages I get. What can be wrong??

Håkon G Larsson :o)

System info:
  Linux Mandrake 7.2
  j2sdk-1.3.0.02
  jakarta-tomcat-3.2.1

The stdout message: 
Using
classpath: /var/tomcat/lib/ant.jar:/var/tomcat/lib/jasper.jar:/var/tomcat/lib/jaxp.jar:/var/tomcat/lib/jcert.jar:/var/tomcat/lib/jnet.jar:/var/tomcat/lib/jsse.jar:/var/tomcat/lib/mmpssdk.jar:/var/tomcat/lib/parser.jar:/var/tomcat/lib/servlet.jar:/var/tomcat/lib/servlet.jar.old:/var/tomcat/lib/test:/var/tomcat/lib/webserver.jar:/usr/java/jdk1.3/lib/tools.jar
[root@pcstudio2 bin]# 2001-03-13 05:12:51 - ContextManager: Adding context Ctx( /examples
)
2001-03-13 05:12:51 - ContextManager: Adding context Ctx( /admin )
Starting tomcat. Check logs/tomcat.log for error messages
2001-03-13 05:12:51 - ContextManager: Adding context Ctx(  )
2001-03-13 05:12:51 - ContextManager: Adding context Ctx( /test )
2001-03-13 05:12:51 - ContextManager: Adding context Ctx( /mps )
2001-03-13 05:12:51 - ContextManager: Adding context Ctx( /locator )
2001-03-13 05:12:51 - ContextManager: Adding context Ctx( /lego )
2001-03-13 05:12:52 - PoolTcpConnector: Starting HttpConnectionHandler on 8080
2001-03-13 05:12:53 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007
2001-03-13 05:13:23 - Ctx( /examples ): JasperException: R( /examples + /jsp/dates/date.jsp
+ null) Cannot read
file: /jsp/dates/date.jsp
2001-03-13 05:13:23 - Ctx( /examples ): Exception in: R( /examples + /jsp/dates/date.jsp +
null) - java.lang.NoSuchMethodError
        at org.apache.tomcat.context.ExceptionHandler.doService(DefaultCMSetter.java:281)
        at org.apache.tomcat.core.Handler.service(Handler.java:286)
        at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:1147)
        at org.apache.tomcat.core.Handler.service(Handler.java:311)
        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:498)
        at java.lang.Thread.run(Thread.java:484)

The Jasper.log:

2001-03-14 09:29:36 - Parent class loader is: AdaptiveClassLoader(  )
2001-03-14 09:29:36 - Scratch dir for the JSP engine is: /var/jakarta-tomcat-3.2.1/work/localhost_8080%2Fexamples
2001-03-14 09:29:36 - IMPORTANT: Do not modify the generated servlets
2001-03-14 09:29:36 - Parent class loader is: AdaptiveClassLoader(  )
2001-03-14 09:29:36 - Parent class loader is: AdaptiveClassLoader(  )
2001-03-14 09:29:37 - Parent class loader is: AdaptiveClassLoader(  )
2001-03-14 09:29:37 - Parent class loader is: AdaptiveClassLoader(  )
2001-03-14 09:29:37 - Parent class loader is: AdaptiveClassLoader(  )
2001-03-14 09:29:37 - Parent class loader is: AdaptiveClassLoader(  )
2001-03-14 09:29:57 - JspEngine --> /jsp/num/numguess.jsp
2001-03-14 09:29:57 - 	     ServletPath: /jsp/num/numguess.jsp
2001-03-14 09:29:57 - 	        PathInfo: null
2001-03-14 09:29:57 - 	        RealPath: /var/jakarta-tomcat-3.2.1/webapps/examples/jsp/num/numguess.jsp
2001-03-14 09:29:57 - 	      RequestURI: /examples/jsp/num/numguess.jsp
2001-03-14 09:29:57 - 	     QueryString: null
2001-03-14 09:29:57 - 	  Request Params: 
2001-03-14 09:29:57 - Classpath according to the Servlet Engine is: /var/jakarta-tomcat-3.2.1/webapps/examples/WEB-INF/classes
2001-03-14 09:29:57 - Package name is: jsp.num
2001-03-14 09:29:57 - Class file name is: /var/jakarta-tomcat-3.2.1/work/localhost_8080%2Fexamples/_0002fjsp_0002fnum_0002fnumguess_0002ejspnumguess.class
2001-03-14 09:29:57 - Java file name is: /var/jakarta-tomcat-3.2.1/work/localhost_8080%2Fexamples/_0002fjsp_0002fnum_0002fnumguess_0002ejspnumguess_jsp_0.java
2001-03-14 09:29:57 - Class name is: _0002fjsp_0002fnum_0002fnumguess_0002ejspnumguess_jsp_0
2001-03-14 09:29:57 - JspReader: Exception parsing file /jsp/num/numguess.jsp - java.lang.NoSuchMethodError
	at org.apache.jasper.JspEngineContext.getResourceAsStream(JspEngineContext.java:348)
	at org.apache.jasper.compiler.JspReader.pushFile(JspReader.java:193)
	at org.apache.jasper.compiler.JspReader.pushFile(JspReader.java:146)
	at org.apache.jasper.compiler.JspReader.<init>(JspReader.java:262)
	at org.apache.jasper.compiler.JspReader.createJspReader(JspReader.java:268)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:155)
	at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
	at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
	at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
	at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
	at org.apache.tomcat.core.Handler.service(Handler.java:286)
	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:498)
	at java.lang.Thread.run(Thread.java:484)

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


Mime
View raw message