-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: xml parser problem with jboss5
PostPosted: Wed Jan 13, 2010 2:25 am 
Newbie

Joined: Thu Nov 19, 2009 2:27 am
Posts: 1
Hello Friends,

Problem is regarding Jboss 5 deployment.
My application uses Spring, Hibernate. EAR deploy over the jboss4 works perfectly but problem with Jboss5,
throws exception:-

jboss java.lang.classcastexception org.apache.xerces.jaxp.documentbuilderfactoryimpl

I can trace that this is basically due to the xml parsers.
Jboss 5 already contains the xalan and xercesImpl jars (not xml-apis) and my app also bundles the xalan and xml-apis jars (not xercesImpl).

Jboss5 complains to keep same jars at two places. But......

1. If remove from jboss5/lib/endorsed it stops working
2. and, If remove from war/ear file it throws different exception

both are strange. Any solution about the problem. Please suggest.

Note: I found that jboss4 also contains the xalan, xercesImpl and also xml-apis so no problem while deploying the war,
but jboss5 doesn't have the xml-apis so complains during the deployment.

Kind regards
luv zorabian


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.