[jboss-user] [Beginners Corner] - Re: Two sars and class loader question.

jiwils do-not-reply at jboss.com
Mon Sep 11 00:14:48 EDT 2006


"wichka" wrote : (1) I was wondering if the two sars in a deploy directory find jars in each others sar.

Yes.

"wichka" wrote : (2) Can a sar in a deploy directory find the jar in the lib directory?

Yes.

"wichka" wrote : My view is that sars are loaded in different class loaders and hence they can't find jars in other sars?

See http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration for more information on how this works (not just for SARs but all "top-level" deployments).

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970652#3970652

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970652



More information about the jboss-user mailing list