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.<init>(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. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to