cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Terray <>
Subject RE: Alternative to cocoon ?
Date Tue, 22 Aug 2000 10:06:35 GMT
YES ! Thank you, this work now.

I want to thanks everyone that helped me in this matter, especially Michael 
Christiansen, Ed Staub and Luc Saint-Elie <
  for their help,  and Jeffery Grossman for having fought the battle before 
me :-)

The solution is the following (how to make it available to everyone, by the 
way ?) :
For the iPlanet Web Server (tested on v4.1 under NT 4)
- Follow exactly the same installation instruction as the one for "New 
Atlanta's SevletExec 2.2" on <>
- in the jvm12.conf, add all the needed ".jar" to the jvm.classpath line 
and uncomment it. This would make the following line :


- All these settings can be done through the GUI interface. Everything is 
in the "Servlets" tab of your server setting:
         - You need to set first "Configure Servlet Attributes". DON'T TRY 
TO SET THE CLASSPATH HERE. It is of no use :-(.
                 Servlet Name: Cocoon
                 Servlet Code (class name): org.apache.cocoon.Cocoon
                 Servlet Args: properties=<your local path to 
cocoon>/cocoon/conf/ (This is a disk path)
         - Then, go to "Configure JVM Attributes" and add to the classpath 
the path to the cocoon jar (or copy the jvm.classpath value upper in that mail)
         - To finish, go to "Configure Servlet Virtual Path Translation" 
and add the rule for "*.xml" to point to cocoon servlet :
                 Virtual Path: *.xml
                 Servlet Name: cocoon

I have a last problem, though : it seems the *.xml does not work as a 
virtual path. To test, you can use "/Cocoon.xml" as a virtual path, and 
"/cocoon/samples/", although the images won't work :-( I report the bug to 

At 20:23 21/08/00 -0700, Jeffery Grossman wrote:

>This is the same issue that I have with IBM WebSphere. The
>getResourceAsStream is supposed to use the same class loaders that just
>loaded the class this is now asking it to getResourceAsStream!!!
>I was very upset with IBM and have a trouble ticket in on this issue. The
>way we got around it with WebSphere was to add the all the Cocoon JAR files
>into the WebSphere environment classpath. This file is known as ADMIN.CONF
>(in WebSphere). It sets the classpath for the entire WebSphere application
>server. WebSphere is apparently too dumb to use the servlet classpath
>information. Now that the JAR files were set into the WebSphere application
>classpath, then their class loaders could all of a sudden local
>Having just fought this battle, I am positive that this is what you are
>facing. Just keeping tweaking every classpath you can find in iPlanet until
>it works, and then complain to them that their class loaders are not Java
>Jeffery Grossman

Paul Terray -
tel : 01 34 58 70 76

View raw message