Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 21519 invoked from network); 5 Oct 2000 17:56:22 -0000 Received: from bender.bawue.de (193.197.13.1) by locus.apache.org with SMTP; 5 Oct 2000 17:56:22 -0000 Received: from eisbaer.bb.bawue.de (eisbaer.bb.bawue.de [193.197.13.2]) by bender.bawue.de (Postfix) with ESMTP id B47898C2; Thu, 5 Oct 2000 19:56:20 +0200 (CEST) Received: (from uucp@localhost) by eisbaer.bb.bawue.de (8.9.3/8.9.3) with UUCP id TAA15687; Thu, 5 Oct 2000 19:56:20 +0200 Received: (from uli@localhost) by niedermann.bb.bawue.de (8.9.3/8.9.3) id TAA12605; Thu, 5 Oct 2000 19:55:21 +0200 To: cocoon-dev@xml.apache.org Cc: "Marcus Crafter (OSA)" Subject: Re: [C2] SitemapManager.class change or bug ? References: In-Reply-To: Marcus Crafter's message of "Thu, 5 Oct 2000 18:29:26 +0200 (CEST)" Message-ID: From: Hans Ulrich Niedermann Date: 05 Oct 2000 19:55:21 +0200 Lines: 37 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Bryce Canyon) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Marcus Crafter writes: > java.lang.NullPointerException > at org.apache.cocoon.sitemap.Handler.process(Handler.java:133) > 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:749) > at org.apache.tomcat.core.ContextManager.service(ContextManager.java:695) > 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) I never got C2 to work with Tomcat 3.1 within the last 2 months. I always got the same stack trace. It is a result from a java.lang.VerifyError within the thread that asynchronously recreates the sitemap. (You probably don't see the VerifyError any more because the system.out logging code seems to have been removed. I haven't actually checked this, though.) But I finally managed to get Tomcat 4.0 to work properly (the trick is to check out the correct jakarta-servletapi branch) and C2 works with it like a charm. BTW, a step by step HOWTO for installing Cocoon 2 and Tomcat 4.0 is available from if anyone is interested in it. Uli