tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Alley <mal...@imerge.co.uk>
Subject NullPointerException running JSP samples in Cobalt RaQ4 tomcat in stallation
Date Sat, 01 Sep 2001 10:48:37 GMT
Hi,

I'm pulling my hair out over this...


Set up is
Cobalt RaQ4
Sun Cobalt Developer Kit for Java (jdk 1.3.1 tomcat 3.2.1)

I have two tests that fail:
All samples in webapps/examples
An html file call test.jsp in webapps/examples/jsp/ (file contains just
html)

The jsp seems to compile find, but fails like this:
java.lang.NullPointerException
	at
jsp._0002fjsp_0002ftest_0002ejsptest_jsp_1._jspService(_0002fjsp_0002ftest_0
002ejsptest_jsp_1.java:66)
	at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:177)
	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:79
7)
	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 only config mods we have made following standard installation of the
package is in 
workers.properties - set java_home tomcat_home and ps

Turning on full debug info, the test.jsp gets compiled like this:
2001-09-01 09:03:56 - Compiling with: -encoding UTF8 -classpath
 /usr/java/jakarta-tomcat/lib/ant.jar:
/usr/java/jakarta-tomcat/lib/jasper.jar:
/usr/java/jakarta-tomcat/lib/jaxp.jar:
/usr/java/jakarta-tomcat/lib/parser.jar:
/usr/java/jakarta-tomcat/lib/servlet.jar:
/usr/java/jakarta-tomcat/lib/test:
/usr/java/jakarta-tomcat/lib/webserver.jar:
/usr/java/jdk/lib/tools.jar:
:
.:
/usr/java/jakarta-tomcat/lib/servlet.jar:
/usr/interclient/interclient.jar:
/usr/java/jakarta-tomcat-3.2.1/webapps/examples/WEB-INF/classes:
null:
/usr/java/jakarta-tomcat-3.2.1/work/localhost_8080%2Fexamples



Any help much appreciated
Thanks
Martin


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
Imerge Limited                          Tel :- +44 (0)1954 783600 
Unit 6 Bar Hill Business Park           Fax :- +44 (0)1954 783601 
Saxon Way                               Web :- http://www.imerge.co.uk 
Bar Hill 
Cambridge 
CB3 8SL 
United Kingdom 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 



Mime
View raw message