jQuery in Action, 2nd edition
The moose likes JBoss and the fly likes Unable to deploy my application on JBoss 5.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » JBoss
Reply 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: 8145
    
  52

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Unable to deploy my application on JBoss 5.1
 
Similar Threads
JBoss 4.2.3 class loading sequence...
Class Loading - another problem
Classloading issues with Jboss
different Class objects for one type, jboss 5.1, jpa/toplink, classloader?
Class Loading Configuration