You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Geissel, Adrian" <ad...@ecb.int> on 2003/05/14 14:43:27 UTC

C2.0.4 - URLFactoryImpl incorrectly resolving URL on WebLogic 6.1 /Solaris

Hi,

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

Given:
  <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>

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

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
resolved.

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

Has anyone else come across this issue before, and if so, is there an easy
fix/workaround?
Many thanks,
Adrian

== LOGFILE EXRACTS ATTACHED == 








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.