tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gareth Cantrell <gar...@citec.net>
Subject Unable to run JSPs
Date Mon, 13 Nov 2000 09:00:50 GMT
I have been having problems getting tomcat to run JSPs for the last
week.
I have tried with 3.2b4, b5, b6 and now b7... and still get the same
problems:  "cannot load servlet name: jsp"
I'm currently using RH Linux 6.2, with Sun's JDK1.3. I've also tried
this
on NT4, and Win2000 with the same results. Below is the output from the
startup script... below that is the error I get when trying to load
index.jsp.

Regards
Gareth Cantrell

Guessing TOMCAT_HOME from tomcat.sh to ./..
Setting TOMCAT_HOME to ./..
Using classpath:
.:./../lib/ant.jar:./../lib/jasper.jar:./../lib/jaxp.jar:./../lib/parser.jar:./../lib/servlet.jar:./../lib/test:./../lib/webserver.jar:/opt/jdk1.3/lib/tools.jar

[root@cyclone bin]# Starting tomcat. Check logs/tomcat.log for error
messages
2000-11-13 10:33:19 - ContextManager: Adding context Ctx(  )
2000-11-13 10:33:19 - ContextManager: Adding context Ctx( /admin )
2000-11-13 10:33:19 - ContextManager: Adding context Ctx( /examples )
2000-11-13 10:33:19 - ContextManager: Adding context Ctx( /test )
count = 0, total = 57
cannot load servlet name: jsp
2000-11-13 10:33:21 - PoolTcpConnector: Starting HttpConnectionHandler
on 80
2000-11-13 10:33:21 - PoolTcpConnector: Starting Ajp12ConnectionHandler
on 8007

----------------------------------------------------------------
2000-11-13 10:57:32 - Ctx(  ): Exception in: R(  + /index.jsp + null) -
java.lang.NullPointerException
        at
org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.java:471)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
        at
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:136)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
        at
org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:486)
        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:853)
        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:799)

        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:745)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)

        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:407)

        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)

        at java.lang.Thread.run(Thread.java:484)



Mime
View raw message