I am using Jboss 6. I have an issue while deploying my WAR file which has Oracle xml parser to this server. It seems to me that, Jboss web container or deployer is trying to use my Oracle XML parser present in my WAR file instead of its own XML parser. And i am getting following deployment error.
DEPLOYMENTS IN ERROR:
Deployment "vfs:///D:/Softwares/jboss-6.0.0.Final/server/default/deploy/warToJboss.war" is in error due to the following reason(s): java.lang.ClassCastException: oracle.xml.jaxp.JXDocumentBuilderFactory cannot be cast to javax.xml.parsers.DocumentBuilderFactory
Could you please help in making Jboss web container to use its own parser?