This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Conflict with jar in the Jboss 5.1 ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Conflict with jar in the Jboss 5.1 ?" Watch "Conflict with jar in the Jboss 5.1 ?" New topic
Author

Conflict with jar in the Jboss 5.1 ?

Edson Cezar
Ranch Hand

Joined: Mar 05, 2011
Posts: 75
    
    1
I have one application that makes two .war, inside this application I have many .jars that are in conflict with Jboss, but I can't remove.

I tried do isolation in the Jboss:

jboss-classloading.xml:

Demystifying the JBoss5 jboss-classloading.xml file

And I tried too:

jboss-web.xml:

Setting class loader in jboss-web.xml

However the mistakes persist, anyone have some idea about this ?

Thanks a lot

Ifteqar Ald
Ranch Hand

Joined: Dec 26, 2011
Posts: 73
Can you post the Exception here?
Edson Cezar
Ranch Hand

Joined: Mar 05, 2011
Posts: 75
    
    1
Edson Cezar
Ranch Hand

Joined: Mar 05, 2011
Posts: 75
    
    1
Well, I solved as follows:

Within my project in WEB-INF/libs I created a directory "endorsed".

The secret was to find the jars in conflict and just put the jars in conflict in the directory.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Conflict with jar in the Jboss 5.1 ?