cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samer Kanjo <ska...@yahoo.com>
Subject Install Cocoon 2 on JRun 3.x
Date Tue, 08 Jan 2002 12:56:50 GMT
All,

I recently was able to install Cocoon 2 on JRun 3.0
and wanted to share the experience since it seems to
be a popular topic.

The following steps should get you up and running:

1. Deploy Cocoon to default server (or another server 
   of your choice). See JRun Setup Guide for 
   deployment instructions.

2. After deployment restart the default server.

3. Shutdown all servers.

4. Move xerces-1.4.4.jar and xml-apis.jar from cocoon 
   WEB-INF/lib directory to default/lib directory.

5. Edit the default server local.properties file and 
   modify the JVM Settings section:
      a. Find the classpath settings and add the 
         following line:
            java.classpath={user.classpath};
            {jrun.classpath};{ejb.classpath};
            {servlet.classpath}
      b. Find user.javaargs settings and change to the

         following line:
            -Dorg.apache.cocoon.components.parser.
           
Parser=org.apache.cocoon.components.parser.
            XercesParser
6. Edit the cocoon.xconf file and find the Parse 
   section under General Components. Move the 
   following line out of the comment block:
      <parser class="org.apache.cocoon.components.
      parser.XercesParser"/>
7. Start default server, check default-event.log to 
   verify that the CocoonServlet was successfully 
   started. You should not see an exceptions.
8. Test Cocoon. It should work.

I just figured this out last night and have not fully
exercised Cocoon to determine if there are any other
problems. But at least it is a start.

Regards,
Samer

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message