You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Mark Dzmura <md...@digital-mission.com> on 2001/01/23 21:57:37 UTC

cocoon in servlet zones

Hello, fellow cocoon-ians:

We are running cocoons (1.81) in JServ servlet zones, and in general achieve the
desired behavior.

However, one specific mechanism does not seem to work: the "repository" private
per-zone classloader mechanism.  Our XSP code, and XSP-called Java objects
are unable to access any resource or class which is listed in the zone repository.
We are obliged to put everything in JServ's wrapper.classpath, which defeats a
big part of the functionality of zones (including hot-reloading!!)

In fact, our servlet code and data objects are common across all zones, so we put them
in the wrapper.classpath in jserv.properties.

However, we have chosen to customize these systems with configuration data loaded
from an XML file stored as a resource in a jar file which has the same name in all systems, but
different contents for each zone.

I searched the archives of this list and found a reference to the same thing in March of 2000.
The last reply was from Stefano, saying this would probably be an easy fix...

Any news??

Regards,
Mark