[jboss-user] [Beginner's Corner] - Restricting classpath to and individual jar within an ear file (Using JBoss 5.1.0GA)

Brian Healy do-not-reply at jboss.com
Thu Aug 23 21:24:52 EDT 2012

Brian Healy [https://community.jboss.org/people/fatbeard] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/755595#755595

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.

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120823/252547da/attachment.html 

More information about the jboss-user mailing list