permaculture playing cards*
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
Don't get me started about those stupid light bulbs.
 
subject: Conflict with jar in the Jboss 5.1 ?
 
Similar Threads
xml parser problem with jboss5
How to add UTF-8 encoding to JBOSS web app
installing and configuring jboss
AOP AspectManager not working on Jboss 5
Deployment errors in JBoss 5.1