cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <gree...@hotmail.com>
Subject Re: Installation problem
Date Sun, 15 Oct 2000 00:36:57 GMT
suresh kumar senniappan <suresh_visolve@yahoo.com> wrote:
>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.

You can find a sample cocoon.properties under 
src/org/apache/cocoon/cocoon.properties. Copy it to the specified locatino 
and edit it to suit your needs - and make sure that JServ has read 
permissions for cocoon.properties, and has read/write permissions for the 
repository directory specified in cocoon.properties!



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

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


Mime
View raw message