aspose file tools*
The moose likes JBoss/WildFly and the fly likes Unable to deploy my application on JBoss 5.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Unable to deploy my application on JBoss 5.1" Watch "Unable to deploy my application on JBoss 5.1" New topic
Author

Unable to deploy my application on JBoss 5.1

Guy Roth
Ranch Hand

Joined: Aug 09, 2009
Posts: 74
My application worked fine on JBoss 4.2.3.
I am now trying to deploy it on Jboss 5.1 that also uses java 5.

during deployment I get the error:
Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser
Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration


I first try to isolate my application by adding the jboess-web.xml to my web-inf/lib that conain this:

It didn't help so I tried to add to jboss-5.1.0.GA\server\standard\lib the version of jars that are used by my applications:
xalan.jar, xerces.jar, xercesImpl.jar

those changes didn't change a bit. I still get the same error on server.log

What do I do wrong?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10222
    
166

See this

[My Blog] [JavaRanch Journal]
Guy Roth
Ranch Hand

Joined: Aug 09, 2009
Posts: 74
It worked.
So apperenly isolation won't work here due to a know bug of JBoss - Great...
 
 
subject: Unable to deploy my application on JBoss 5.1