I am running dcm4chee 2.18.0 on Ubuntu 14.04LTS, fully updated, with Java= java version "1.7.0_65", OpenJDK Runtime Environment (IcedTea 2.5.3) (7u71-2.5.3-0ubuntu0.14.04.1), OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
<?xml version="1.0" encoding="UTF-8"?>
<xsl:output method="xml"/>
<!--
The following parameters are made available by the application:
source-aet - AET of the Storage SCU from which the series was received
retrieve-aet - AET of the Query Retrieve SCP from which the series can be retrieved
ext-retrieve-aet - external AET (e.g. central archive) of the Query Retrieve SCP from which the series can be retrieved
archived - All referenced instances are archived (e.g. HSM)
year - The current year
month - The current month (1=Jan, 2=Feb ..)
date - The current day of the month
day - The current day of the week (0=Sun, 1=Mon ..)
hour - The current hour of the day
These parameters may be to define rules that depend on the source or retrieve AET
or on the current date or time.
An example of the parameters that are made available to this stylesheet is as follows:
<xsl:param name="source-aet">DCMSND</xsl:param>
<xsl:param name="retrieve-aet">DCM4CHEE</xsl:param>
<xsl:param name="ext-retrieve-aet">CENTRAL</xsl:param>
<xsl:param name="archived">true</xsl:param>
<xsl:param name="month">4</xsl:param>
<xsl:param name="date">30</xsl:param>
<xsl:param name="day">1</xsl:param>
<xsl:param name="hour">15</xsl:param>
-->
<xsl:param name="source-aet"/>
<xsl:param name="retrieve-aet"/>
<xsl:param name="ext-retrieve-aet"/>
<xsl:param name="archived"/>
<xsl:param name="year"/>
<xsl:param name="month"/>
<xsl:param name="date"/>
<xsl:param name="day"/>
<xsl:param name="hour"/>
<xsl:template match="/dataset">
<destinations>
<!-- select Called AET from Destination AE -->
When a matching study arrives and the system tries to parse the forward.xsl file I get the following errors and forwarding fails:
2014-11-29 19:40:55,485 INFO -> (Thread-23278) [org.dcm4chex.archive.mbean.TemplatesService] Compiling Stylesheet /mnt/pacs/dcm4chee-2.18.0-mysql/server/default/conf/dcm4chee-ae/forward.xsl
2014-11-29 19:40:55,490 ERROR -> (Thread-23278) [STDERR] Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.
2014-11-29 19:40:55,494 ERROR -> (Thread-23278) [STDERR] Compiler warnings:
2014-11-29 19:40:55,494 ERROR -> (Thread-23278) [STDERR] WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.'
I am totally lost on this one; I've successfully deployed other machines with this exact configuration and the same forward.xsl files. I would really appreciate any input the community can provide.