cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Ulrich Niedermann <niederm...@isd.uni-stuttgart.de>
Subject Re: Cocoon 2.0a3 (fresh from CVS) - java.lang.NullPointerException
Date Fri, 06 Oct 2000 02:37:03 GMT
Viktors Rotanovs <viktors@riga.nu> writes:

> I have Tomcat (tried both 3.1 and 3.2b5) with fresh Cocoon 2.0a3
> from CVS, installed with default settings, and I get "Cocoon 2 - 2.0a3 :)"
> message so it is there. I use JDK1.3beta_refresh and RedHat 6.2.

Cocoon2 currently doesn't seem to work with Tomcat 3.x. Some people
are investigating. In the mean time, you could install Tomcat 4.0. 
A step by step HOWTO describing how I set up Tomcat 4.0 for Cocoon 2
is located at 

 <URL:http://n-dimensional.de/cocoon/docbook-test/howto.db.html>

and will soon be integrated into Cocoon2 itself.

Hope this helps a little bit.

Uli

> But, when I try to request something but "/cocoon" URI, for example,
> "/cocoon/", it says the following:
> 
> Cocoon 2 - Internal server error

[ ... ]

> java.lang.NullPointerException
>         at org.apache.cocoon.sitemap.Handler.process(Handler.java:127)
>         at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:80)
>         at org.apache.cocoon.Cocoon.process(Cocoon.java:229)
>         at 
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:167)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at 
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:387)
>         at org.apache.tomcat.core.Handler.service(Handler.java:263)
>         at 
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:371)
>         at 
> org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:769)
>         at 
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:715)
>         at 
> org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:207)
>         at 
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:403)
>         at 
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
>         at java.lang.Thread.run(Thread.java:484)

Mime
View raw message