[jboss-user] [JCA/JBoss] - Re: Classloading and sharing classes between .ear and .rar
weston.price@jboss.com
do-not-reply at jboss.com
Wed Nov 22 10:46:32 EST 2006
Note, just so it is clear to everyone:
Using isolated classloader scoping will require you to add your *-ds.xml file to the EAR file for your deployment. The reason is that when the *-ds.xml file is deployed outside of the EAR the classes cannot be loaded due to the isolation policy. So, using an isolated classloader will force a particular deployment solution in this case.
If you want to deploy the *-ds.xml file in the scoped scenario, include a reference to it in your jboss-app.xml file as
*-ds.xml
Note, to use this type of setup in your *-ds.xml you will also have to specify the RAR name as
<rar-name>ear-name.ear#rar-name.rar</rar-name>
I am working on writing up all the usage scenarios and options as they pertain to RARs...stay tuned.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987921#3987921
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987921
More information about the jboss-user
mailing list