You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Henning von Bargen <H....@Triestram-Partner.de> on 2000/08/16 09:53:19 UTC

how to setup cocoon2 with Apache Tomcat on WinNt?

I have Tomcat and Apache working, but not Cocoon2.
If I request http://localhost/cocoon/welcome (for example), I always get

Cocoon 2.0: Exception

----------------------------------------------------------------------------
----
Class: java.lang.NullPointerException
Message: null

java.lang.NullPointerException
	boolean
org.apache.cocoon.sitemap.SitemapHandler.process(org.apache.cocoon.environme
nt.Environment)
	boolean
org.apache.cocoon.sitemap.SitemapManager.invoke(org.apache.cocoon.environmen
t.Environment, java.lang.String, java.lang.String, boolean)
	boolean
org.apache.cocoon.Cocoon.process(org.apache.cocoon.environment.Environment)
	void
org.apache.cocoon.servlet.CocoonServlet.service(javax.servlet.http.HttpServl
etRequest, javax.servlet.http.HttpServletResponse)
	void
javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
javax.servlet.ServletResponse)
	void
org.apache.tomcat.core.ServletWrapper.handleRequest(org.apache.tomcat.core.R
equest, org.apache.tomcat.core.Response)
	void
org.apache.tomcat.core.ContextManager.service(org.apache.tomcat.core.Request
, org.apache.tomcat.core.Response)
	void
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(org.apache.tomcat.service.TcpConnection, java.lang.Object[])
	void org.apache.tomcat.service.TcpConnectionThread.run()
	void java.lang.Thread.run()
----------------------------------------------------------------------------
----

It seems that at least Cocoon is running, but somethings wrong in the
sitemap handler (?).
Can anyone help me (setup follows)?
Is there a step-by-step howto install/setup Cocoon2 with Apache Tomcat
anywhere?
The best guide was in the well-known excerpt from the O'Reilly book, but it
is for Cocoon1 and didn't solve my problem.

thanks in advance 
Henning

Here is my setup: