-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
7.2.0.GA, 7.3.0.GA
-
None
I have experienced the following issue, executing a JBoss EAP 7.2 or 7.3 session
in a jdk 8 runtime environment.
In my web application, I need to use Saxon TransformerFactory to manage XSLT 2.0 transformation, and in order to do it I have created a custom module (in attachment its module.xml file), containing the necessary saxon libraries and additional common libraries
useful for my web application.
Unlike what happened wih JBoss EAP 6.2 session that ended successfully, I have
experienced that JBoss EAP 7.x sessions unexpectedly load xalan TransformerFactory library, which manages up to XSLT 1.0 transformation, and as a result I have got the following error:
"javax.xml.transform.TransformerException: org.xml.sax.SAXException: Impossibile trovare la funzione: current-dateTime", which implies missing functions which are made available
by saxon libraries and are not by xalan library.
As a further attempt, I have tried forcing the "org.apache.xalan" module exclusion, writing the exclusion tag in the web application jboss-deployment-structure.xml file, but I have got the following unexpected warning message, which would seem to highlight some
trouble regarding the handling of such module in JBossEAP 7.x
"WFLYSRV0274: Excluded dependency org.apache.xalan via jboss-deployment-structure.xml does not exist."
Please, may you kindly give useful hints to handle this unexpected behaviour or arrange a proper fix for the issue?
Here attached the following files:
1) module.xml file for my JBoos EAP 7.3 custom module
2) My web application specific jboss-deployment-structure.xml file