Troubleshooting
Problem
The org.apache.xalan.xsltc.trax.TransformerFactoryImpl was available in Java 5, but was removed in Java 6. Thus, if an application is hard-coded to use that transformer factory, it will fail. There is a new compiler implementation in Java 6 which is used by default. Java 6 is included in WebSphere Application Server v7, v8, v8.5, and v8.5.5
Cause
The org.apache.xalan.xsltc.* package does not exist in Java 6. It was replaced by another implementation called XL TXE.
Resolving The Problem
Applications should fix any hard-coded dependencies they had on the old implementation.
Migrating to the XL-TXE-J
http://publib.boulder.ibm.com/infocenter/javasdk/v6r0/topic/com.ibm.java.doc.user.win32.60/user/xml/xslt_migrate.html
To continue using the XSLT4J interpreter as your XSLT processor, set the javax.xml.transform.TransformerFactory service provider to org.apache.xalan.processor.TransformerFactoryImpl.
1. Log into the WebSphere Application Server administrative console.
2. Go to Servers --> Application servers --> select the appropriate server.
3. Under Server Infrastructure, expand Java and Process Management --> Process Definition.
4. Click Java Virtual Machine --> Additional Properties --> Custom Properties.
5. Create the javax.xml.transform.TransformerFactory property and set it to org.apache.xalan.processor.TransformerFactoryImpl.
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21661696