cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernhard Huber" <>
Subject Installing Cocoon2 under WLS6.1
Date Fri, 16 Nov 2001 22:42:12 GMT
Installing Cocoon2 under WLS6.1

I have struggled a bit before I managed to run Cocoon2 under WLS6.1

The following section describes the steps to install Cocoon2 under WLS6.1.
I have installed Cocoon2 under WIN2000:

As WLS6.1 sp1 uses it own XMLParser, and XSLTransformer you have to
force Cocoon to use
the apache xerces, and apache xalan jars.

Edit the following files:

1) Edit your server startup script: (startWebLogic.cmd in your domain
Add MYCLASSPATH specifying xerxes, and xalan jar of the Cocoon2
Append both at the start of the CLASSPATH. This change is neccessary.
--- snipped ---

set CLASSPATH=%MYCLASSPATH%;.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar -classpath %CLASSPATH%....
--- snipped ---

2) Next edit the cocoon.xconf file, be sure to specify the
transformer-factory set to
     This is very important: Using the WLS6.1 XSLTransformer I couldn't
managed to generate any valid java sitemap file. This change is neccessary.
<!-- XSLT processor:
        <parameter name="use-store" value="true"/>
        <parameter name="transformer-factory"

3) You may activate the xerces parser explicitly in cocoon.xconf, too.
Although it is not absolutly necessary.

     <parser class="org.apache.cocoon.components.parser.XercesParser"/>

4) Last you may have to edit lib/weblogic.policy, deactivating any
security-policy setting, allowing to load compiled xsp, and
sitemaps. At my last test this change was not necessary!
grant {
     // make cocoon work ??
     // permission;

     // Permission "enableSubstitution" needed to run the WebLogic console
     permission "enableSubstitution";

I hope it helps!

I have not checked the JSPEngine under Cocoon2 + WLS6.1, but it may need
some reconfiguration, too.

bye bernhard

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message