Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 73384 invoked by uid 500); 5 Jun 2001 19:21:50 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 73333 invoked from network); 5 Jun 2001 19:21:42 -0000 Date: Mon, 4 Jun 2001 20:20:07 +0200 From: Sergio Carvalho To: cocoon-users@xml.apache.org Subject: Re: Apache-Tomcat-Cocoon configuration Message-Id: <20010604202007.03f7c375.sergio.carvalho@acm.org> In-Reply-To: <20010605180815.BHMH19590.fep45-svc.tin.it@[127.0.0.1]> References: <20010605180815.BHMH19590.fep45-svc.tin.it@[127.0.0.1]> X-Mailer: Sylpheed version 0.4.66 (GTK+ 1.2.8; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Just one note. It seems that mod_webapp does not support POST requests. I had to switch from mod_webapp to mod_proxy because of this. On Tue, 5 Jun 2001 20:08:15 +0200 wrote: > Hi, > > I've problems with Apache-Tomcat-Cocoon configuration. > I use Apache 1.3.19, Jakarta-Tomcat 4.0 m5, Cocoon 1.8.2 and JDK 1.1.3 on Linux RedHat 6.2. > > All settings (env variables,...) seem ok, Apache works properly on port 80 and Catalina does the same on port 8080. Mod_webapp.so, contained in Tomcat's distribution, has been put in Apache's libexec dir before httpd.conf's upgrade. > > First problem: > > Cocoon's doc says that $COCOON_HOME/bin/cocoon.jar and all .jar files contained in $COCOON_HOME/lib must be copied in $TOMCAT_HOME/lib. > But with this change Catalina crashes! > This is my catalina.out: > > Exception in thread "main" java.lang.IllegalArgumentException: > addRepositoryInternal: > java.lang.NullPointerException > > at org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(StandardClassLoader.java:1073) > > at org.apache.catalina.loader.StandardClassLoader.(StandardClassLoader.java:166) > > at org.apache.catalina.startup.Bootstrap.createSharedLoader(Bootstrap.java:280) > > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:106) > > > I've seen that without Cocoon's fesi.jar and w3c.jar Catalina doesn't crash. > But it works properly only without Cocoon's servlet_2_2.jar (with this file Tomcat's JSP and Servlets exempla at http://localhost:8080 returns error code no.503). > So, without servlet_2_2.jar, fesi.jar and w3c.jar Catalina works properly. > > I need Catalina and Coccon for XML-->HTML passage: that three .jar files are necessary? > If yes, any idea? > > > Second problem: > > Cocoon's doc says about tomcat-apache.conf (in mod_jserv and mod_jk cases): this file doesn't exist in my Tomcat distribution. > I've read an answer about this, but the file is not automatically generated by Catalina. > So, what is the the right way for Tomcat-Apache (or for mod_webapp) setup with Tomcat 4.0 m5? > > > Thank you in Advance! > > With Regards, ciao > Francesco > > Francesco Casalena > L.U.G. "Il Pinguino" > ---------------------------------------------- > Virgilio Mail - Il tuo indirizzo E-mail gratis > http://mail.virgilio.it > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: