You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Steven Punte <st...@excite.com> on 2001/02/21 03:12:16 UTC
Re: Cocoon installed on orion: YES!
On Thu, 15 Feb 2001 22:41:06 -0500, cocoon-users@xml.apache.org wrote:
I second this! Thanks for the great work! I acheive
opeation with cocoon-1.8.2, orion-1.4.5, and Sun's
JDK 1.3.0.
I also ended up adding the JDBC bridge driver (i.e.
mm.mysql...... ) to the manifest list. Would sure
like to instead put it in WEB-INF/lib, but have
never gotton that trick to work. Anyone else ever
get WEB-INF/lib to properly take library jar files?
Steve Punte
stevep@candlelightsoftware.com
> you are my new best friend. this works. thanks!
>
> ----- Original Message -----
> From: "Bronwen Cassidy" <br...@rtse.com>
> To: <co...@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: <co...@xml.apache.org>
> > For additional commands, e-mail: <co...@xml.apache.org>
> >
>
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
_______________________________________________________
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/