[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Java2ParentDelegation and multiple files

Ronnie1972 do-not-reply at jboss.com
Wed Feb 18 11:19:35 EST 2009

Ok I figured it out.  Basically I was doing it very closely to correctly but since I had a War file and a wsr file that were sharing classes it was failing because it was TOO isolated.

The solution was to use a loader-repository, but turn java2ParentDelegation ON (since they were shared):

  | 	<loader-repository>
  | 		myapp:archive=myApp.ear
  | 		<loader-repository-config>
  | 			java2ParentDelegation=true
  | 		</loader-repository-config>
  | 	</loader-repository>
  | </jboss-app>	

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

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

More information about the jboss-user mailing list