cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geissel, Adrian" <>
Subject FW: C2.0.4 - URLFactoryImpl incorrectly resolving URL on WebLogic 6.1/Solaris
Date Wed, 14 May 2003 12:57:47 GMT

I have come across inconsistent behaviour on the two platforms that we
develop for:
	Cocoon 2.0.4 on WebLogic 7 on Windows NT 4 SP6
	Cocoon 2.0.4 on WebLogic 6.1 on SunOS 5.8 Generic
In both cases, the JVM is 1.3 JDK

  <map:match "...url">
    <map:generate type="file" src="cocoon:/xml/{1}.query"/>
    <map:transform type="xslt" src="cocoon:/report/{1}.xsl"/> <!-- Xalan -->
    <map:generate type="xml"/>

  <map:match pattern="report/**.xsl">
    <!-- snip -->
    <map:generate src="stylesheets/system/generic-report.xsl"/>
    <map:serialize type="xml"/>

The layout XSLT, generic-report.xsl, includes a shared XSLT file, using 

    <xsl:import href="WAF-common.xsl"/>

And WAF-common is also located in the directory stylesheets/system.

== The Observation ==
On the WL7/WinNT configuration, this is correctly resolved to the underlying
file-system path. 
However, on the WL6.1/SunOS configuration, the file WAF-common.xsl cannot be

Looking through the logs on both servers, it appears that URLFactoryImpl is

Have tried a number of options, including using internal cocoon:/ protocol
redirects (with sitemap matcher) and similar thoughts, but it appears that
my only effective solution is to copy/paste my included stylesheet :(

Has anyone else come across this issue before, and if so, is there an easy
Many thanks,


Any e-mail message from the European Central Bank (ECB) is sent in good faith but shall neither
be binding nor construed as constituting a commitment by the ECB except where provided for
in a written agreement.
This e-mail is intended only for the use of the recipient(s) named above. Any unauthorised
disclosure, use or dissemination, either in whole or in part, is prohibited.
If you have received this e-mail in error, please notify the sender immediately via e-mail
and delete this e-mail from your system.

View raw message