cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Struzik" <stru...@ne.mediaone.net>
Subject Re: Cocoon installed on orion
Date Fri, 16 Feb 2001 03:41:06 GMT
you are my new best friend.  this works.  thanks!

----- Original Message -----
From: "Bronwen Cassidy" <bronwen.cassidy@rtse.com>
To: <cocoon-users@xml.apache.org>
Sent: Thursday, February 15, 2001 3:19 AM
Subject: Cocoon installed on orion


> I've had a long task accomplishing this, but it now works.
>
> I am including a description of what i did to get it up and running on
orion
> (if anyone is interested).
> Please note that much of this information came from
> http://orionsupport.com/articles/cocoon.html
> with a few differences.
>
> 1)Get cocoon and orion(i did this on orion version 4.7)
> Cocoon can be unpacked anywhere, it does not have to be within orion.
>
> 2)Download the cocoon-filter.jar from
> http://orionsupport.com/articles/downloads/cocoon-filter.jar
> 3)extract MANIFEST.MF from orion.jar and update the classpath to
>
> Class-Path: ejb.jar jndi.jar jdbc.jar jta.jar cocoon-filter.jar cocoon
>  .jar fop_0_15_0.jar turbine-pool.jar xerces_1_2.jar xalan_1_2_D02.jar
>   tools.jar jsse.jar jnet.jar jcert.jar activation.jar mail.jar saxon.
>  jar parser.jar jaxp.jar
>
> maintain the order of parser.jar and jaxp.jar at the end (i am not sure if
> this makes such a difference)
>
> 4)Move from cocoon-xxx/bin cocoon.jar to orion dir(top level)
> 5)move from cocoon-xxx/lib turbine-pool.jar xalan_1_2_D02.jar
xerces_1_2.jar
> 6)place cocoon-filter.jar in orion dir(top-level)
>
> 7)In your web-app directory in orion (I used the default-web-app) place
the
> samples directory from cocoon -just to test-
> 8)move from cocoon/conf cocoon.properties to orion/default-web-app/WEB-INF
> 9)Update cocoon.properties
> Open the file [web-app]/WEB-INF/cocoon.properties in an editor and locate
> the following line:
> producer.type.file = org.apache.cocoon.producer.ProducerFromFile
> Place the following on the next line:
> producer.type.filter = com.orionsupport.cocoon.ProducerFromFilter
> Now locate the following line (not far below):
> producer.default = file
> And replace it with:
> producer.default = filter
>
> 10)In web.xml found in orion/default-web-app/WEB-INF insert
>
> <servlet>
>   <servlet-name>cocoon-servlet</servlet-name>
>
> <servlet-class>com.orionsupport.cocoon.CocoonServlet</servlet-class>
>   <init-param>
>     <param-name>properties</param-name>
>     <param-value>/WEB-INF/cocoon.properties</param-value>
>   </init-param>
> </servlet>
>
> <filter>
>   <filter-name>cocoon-filter</filter-name>
>
> <filter-class>com.orionsupport.cocoon.CocoonFilter</filter-class>
>   <init-param>
>     <param-name>cocoon-servlet</param-name>
>     <param-value>cocoon-servlet</param-value>
>   </init-param>
> </filter>
>
> <filter-mapping>
>   <filter-name>cocoon-filter</filter-name>
>   <url-pattern>*.xml</url-pattern>
> </filter-mapping>
>
> 11)the default XSL Servlet that comes bundled with Orion must be disabled.
> To do this, edit [orion]/config/global-web-application.xml and remove the
> following line:
> <servlet-chaining servlet-name="xsl" mime-type="text/xml" />
>
>
> ---------------------------------------------------------------------
> 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