cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ling Wang" <lingwa...@hotmail.com>
Subject cocoon-1.7.4 for Apache/Tomcat
Date Fri, 25 Aug 2000 16:36:02 GMT
Hi there,

Any body has any success with latest installation with cocoon-1.7.4 for 
Apache/Tomcat combination. I have a working Apache/Tomcat (all latest 
version). I just can't get cocoon-1.7.4 to work with Apache/Tomcat.
I am working on a Windows NT4.0 server (service pack 6.0a).

Here is what I did:

1. I copied all the jar files from cocoon-1.7.4/lib into jakarta-tomcat/lib.

2. I added the following to tomcat.properties file:
wrapper.classpath=D:\jdk1.2.2\lib\tools.jar
wrapper.classpath=D:\cocoon-1.7.4\bin\cocoon.jar
wrapper.classpath=D:\cocoon-1.7.4\lib\ant.jar
wrapper.classpath=D:\cocoon-1.7.4\lib\fop_0_12_1.jar
wrapper.classpath=D:\cocoon-1.7.4\lib\servlet_2_2.jar
wrapper.classpath=D:\cocoon-1.7.4\lib\stylebook-1.0-b2.jar
wrapper.classpath=D:\cocoon-1.7.4\lib\xalan_1_0_1.jar
wrapper.classpath=D:\cocoon-1.7.4\lib\xerces_1_0_3.jar
servlet.org.apache.cocoon.Cocoon.initArgs=properties=D:\cocoon-1.7.4\conf\confcocoon.properties

3. I added the following to tomcat.conf file:

Action cocoon /servlet/org.apache.cocoon.Cocoon
AddHandler cocoon xml

4. I edited the file D:\cocoon-1.7.4\src\WEB-INF\web.xml and put the right 
path to:

<param-value>
    [path-to-cocoon.properties]/cocoon.properties
</param-value>

namely:

<param-value>
    D:\cocoon-1.7.4\conf\cocoon.properties
</param-value>


5. Then, I first started tomcat startup.bat and then restarted Apache 
service.

6. I typed in from my browser first http://localhost. The Apache page shows 
up OK. I then typed in http://localhost:8080/ and my Tomcat page shows up 
OK. Then, I tried according to the installation manual 
http://localhost/Cocoon.xml. My Browser says: "The page cannot be found". I 
did look through the files and could not find Cocoon.xml in the installed 
Cocoon-1.7.4 directory. I copied some other xml files into Apache htdocs 
directory and I am still getting "The page cannot be found" error.

Can anybody help me to figure out how to make this thing work?
The installation manual is really sketchy about how to install Cocoon on 
Apache/Tomcat.


Thank you.


Ling Wang




________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


Mime
View raw message