You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Larry Isaacs <La...@sas.com> on 2002/03/18 19:25:36 UTC

RE: cannot run simple servlets with tomcat 3.3.rc1

I can duplicate this error if I remove JspInterceptor.
It appears that InvokerInterceptor is dependent on some
initialization being done in JspInterceptor.  Was
JspInterceptor removed in your server.xml?

Cheers,
Larry

> -----Original Message-----
> From: Tomcat Programmer [mailto:tcprogrammer@yahoo.com] 
> Sent: Monday, March 18, 2002 11:52 AM
> To: tomcat-user@jakarta.apache.org
> Subject: cannot run simple servlets with tomcat 3.3.rc1
> 
> 
> I upgraded Tomcat from 3.3a because there were some
> bugs fixed in the rc1 release. But now I have run
> across another problem. Servlets that used to run
> correctly do not work at all. So I built a simple
> servlet to print text, but it does not work either. I
> am invoking it with the simple URL syntax of 
> "host:8080/myapp/servlet/ServletTest" and I made sure
> the InvokerInterceptor entry was in the server.xml
> file. However, I always get the following stack trace
> when I try to run the servlet. Can anyone help with
> this problem, please? 
> 
> Thanks -- Tom C.
> 
> java.lang.NullPointerException
> 	at
> org.apache.tomcat.facade.ServletHandler.preInit(ServletHandler
> .java:431)
> 	at
> org.apache.tomcat.facade.ServletHandler.init(ServletHandler.java:228)
> 	at
> org.apache.tomcat.facade.ServletHandler.service(ServletHandler
> .java:472)
> 	at
> org.apache.tomcat.core.ContextManager.internalService(ContextM
> anager.java:917)
> 	at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
> 	at
> org.apache.tomcat.modules.server.Http10Interceptor.processConn
> ection(Http10Interceptor.java:176)
> 	at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> nt.java:494)
> 	at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.java:516)
> 	at java.lang.Thread.run(Thread.java:484)
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/
> 
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
> 

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>