This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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: 10146
    
165

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...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to deploy my application on JBoss 5.1