cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sven Kuenzler <sv...@gmx.net>
Subject Re: Cocoon2 and Tomcat
Date Thu, 13 Apr 2000 16:57:38 GMT

> Hmmm...you say you're running 3.2b...do you mean you pulled it from CVS?
> The very latest binary release you can download is 3.1rc1.  If you're
> getting the welcome message, it means that the Cocoon2 servlet is not being
> loaded, and the DefaultServlet is pulling the default document (index.html)
> >from the docBase.

No, I do not use a cvs version of tomcat. The 3.2b source distribution
is available as tar.gz from the Jakarta homepage.

> Dang, my bad.  I just realized what I did wrong.  That DefaultServlet
> section is located in the web.xml located in [path-to-Tomcat]/conf.  Remove
> that section, and everything should work.  I've attached a revised
> installing.xml to this message.

When I remove this, Tomcat won't serve anything not even normal pages
from other contexts. Every request returns:

Internal Servlet Error:

java.lang.NullPointerException: 
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:523)
[...]

Again, I am a Tomcat beginner, so please correct me if I'm wrong. But
something called _Default_Servlet seems something very basic, so I don't
like the idea of removing it from the config.

  Sven....

Mime
View raw message