You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by suresh kumar senniappan <su...@yahoo.com> on 2000/10/13 23:21:09 UTC
Installation problem
Hi,
I couldn't install the cocoon successfully. pls help
me how to do it?
The following procedure i have followed to install
cocoon in my linux box
1. extract cocoon-1.8.tar.gz into my /usr/local folder
2. i am using Apache JServ1.1
i have edit the following file in apache jserv
1. /usr/local/Apache Jserv1.1/example - is the
servlet zone
2. /example/example.properties
@ I have added the path
/usr/local/cocoon-1.8/bin/cocoon.jar to list of
repositories
@ Added this line
servlet.org.apache.cocoon.Cocoon.initArgs=properties=/usr/local/cocoon-1.8/bin/cocoon.properties
into end of the file.
@ Added the folowing line into
/example/jser.properties
wrapper.classpath=/usr/local/jdk1.2.2/lib/tools.jar
wrapper.classpath=/usr/local/cocoon-1.8/bin/cocoon.jar
wrapper.classpath=/usr/local/cocoon-1.8/lib/ant_1_1.jar
wrapper.classpath=/usr/local/cocoon-1.8/lib/bsfengines.jar
wrapper.classpath=/usr/local/cocoon-1.8/lib/stylebook-1.0-b2.jar
wrapper.classpath=/usr/local/cocoon-1.8/lib/xerces_1_2.jar
wrapper.classpath=/usr/local/cocoon-1.8/lib/fop_0_13_0.jar
wrapper.classpath=/usr/local/cocoon-1.8/lib/turbine-pool.jar
wrapper.classpath=/usr/local/cocoon-1.8/lib/bsf.jar
wrapper.classpath=/usr/local/cocoon-1.8/lib/servlet_2_2.jar
wrapper.classpath=/usr/local/cocoon-1.8/lib/xalan_1_2_D02.jar
@ Added the following lines into /example/jsev.conf
at the end of the file
Action cocoon /servlet/org.apache.cocoon.Cocoon
AddHandler cocoon xml
@ set the class path for tool.jar
@ LoadModule action_module /path/to/mod_actions.so
is already loaded
But i am getting the following error has occoured
=====================================================
Cocoon 1.8
Publishing
Engine could not be initialized.
java.io.FileNotFoundException:
/usr/local/cocoon-1.8/bin/cocoon.properties (No such
file or directory)
at
java.io.FileInputStream.open(Native Method)
at
java.io.FileInputStream.(FileInputStream.java:64)
at
org.apache.cocoon.framework.Configurations.(Configurations.java:89)
at
org.apache.cocoon.framework.Configurations.(Configurations.java:77)
at
org.apache.cocoon.Cocoon.init(Cocoon.java:132)
at
org.apache.jserv.JServServletManager.load_init(JServServletManager.java:569)
at
org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java:488)
at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:266)
at
org.apache.jserv.JServConnection.run(JServConnection.java:188)
at
java.lang.Thread.run(Thread.java:475)
Warning: this page has been dynamically
generated.
Copyright
(c) 1999-2000 The Apache XML Project.
All rights reserved.
=====================================================
Regds
Suresh
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/