[jboss-user] [EJB/JBoss] - Re: xercesImpl conflict: How to isolate an EAR deployment

2009-05-07 Thread jaikiran
anonymous wrote : Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration | I haven't looked at the contents of the xercesImpl.jar (yet). But most of the times, its not just that single jar that needed in the classloader scoping. You will have to

[jboss-user] [EJB/JBoss] - Re: xercesImpl conflict: How to isolate an EAR deployment

2009-05-07 Thread negora
jaikiran: Very good point and a big mistake from me... Although it hasn't worked :/ . The package of Xerces-J includes the following JARs: | resolver.jar | serializer.jar | xercesImpl.jar | xml-apis.jar | Before testing your idea, I thought that the lack of dependency libraries

[jboss-user] [EJB/JBoss] - Re: xercesImpl conflict: How to isolate an EAR deployment

2009-05-07 Thread negora
By the way, the forum seems to have ate the tags of one of my last comments, he he he. I meant were already supporting the tag 'java' inside of a tag 'module'. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4229565#4229565 Reply to the post :

[jboss-user] [EJB/JBoss] - Re: xercesImpl conflict: How to isolate an EAR deployment

2009-05-07 Thread negora
Something else... I've also tried the tag *library-directory* in application.xml to specify a different name than lib, but it seems not to be recognized by this version of JBoss: | library-directorylib/library-directory | I'm gonna look for more information on the Internet and, if I'm

[jboss-user] [EJB/JBoss] - Re: xercesImpl conflict: How to isolate an EAR deployment

2009-05-07 Thread negora
More information... I've checked this line in deploy/jboss-web.deployer/META-INF/jboss-service.xml: | attribute name=UseJBossWebLoaderfalse/attribute | I know, it has nothing to do with the deployment of EAR files, but has made me discover why in another past project I could use

[jboss-user] [EJB/JBoss] - Re: xercesImpl conflict: How to isolate an EAR deployment

2009-05-07 Thread negora
Well, well... Sorry for so many messages, but since I can't edit mine, I've to add one after another and so on :P . I've found a solution to use the last version of that JARs and without JBoss complaining because of it. First of all, I've realized that the 3 JARs included in lib/endorsed are

[jboss-user] [EJB/JBoss] - Re: xercesImpl conflict: How to isolate an EAR deployment

2009-05-06 Thread jaikiran
#2 is what i do for my apps. Can you post your configs? And also the entire exception stacktrace? Also list the jars that you are packaging and the place where they are within the EAR. While posting logs or xml content or code, please remember to wrap it in a code block by using the Code

[jboss-user] [EJB/JBoss] - Re: xercesImpl conflict: How to isolate an EAR deployment

2009-05-06 Thread negora
jaikiran: First of all, thank you for your quick answer. It's nice to have such help. I've tested all this using a very simple EAR file whose structure is as follows: | trax.ear | | | |- lib | | |- xercesImpl.jar | | | |- META-INF | | |-