How to use a different StAX implementation in your application in JBoss EAP 6
Issue
-
We have an application that will not work with the org.codehaus.woodstox, as it creates a class conflict, how can we exclude it or get the application to use a different version of
javax.xml.stream.XMLStreamWriter, in particular we need to usecom.sun.xml.internal.stream.writers.XMLStreamWriterImplWe tried different ways of excludingorg.codehaus.woodstoxin thejboss-deployment-structure.xmlbut were unsuccessful. The only way we could get the application to work is by removing it from thejavax.xml.jaxp-providermodule.xml, but that affects the whole JBoss installation which we do not want to do. -
How to use a different StAX implementation in your application in JBoss EAP 6
Environment
Red Hat JBoss Enterprise Application Platform (EAP) 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.