File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 9962
    
163

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...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Unable to deploy my application on JBoss 5.1
 
Similar Threads
Class Loading Configuration
Classloading issues with Jboss
JBoss 4.2.3 class loading sequence...
Class Loading - another problem
different Class objects for one type, jboss 5.1, jpa/toplink, classloader?