1 Reply Latest reply on Sep 6, 2012 10:19 AM by fatbeard

    Restricting classpath to and individual jar within an ear file (Using JBoss 5.1.0GA)

    fatbeard

      I'm trying to use Infinispan 5.1.5 within my ear on JBoss 5.1.0GA (I can't upgrade to 7). My problem is when I add infinispan to my ear along with it's 3rd party library dependecies to the ear WEB-INF/applications.xml I can't boot up JBoss without getting conflicts of some sort (There is not much going on in the logs to identifiy conflict but i suspect its the jboss-logging jar). So what i'd like to do is restrict those 3rd party libraries to the infinispan-core.jar so the rest of my ear cannot see them or atleast prevent the conflict issues. The funny thing is , i believe my ear classpath is isolated.

       

      Currently we're using infinispan 4.2 with all dependent libraries (apart from the transactions jar) added into the ear and identified in the applications.xml without any conflict issues. However I need the 5.1 upgrade. Any thoughts?

       

      thanks in advance.