[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss 5.0.1 and EARClassLoaderDeployer isolation

xmedeko do-not-reply at jboss.com
Tue May 12 10:19:05 EDT 2009


Hi,

I want to turn on class loader isolation for all EAR deployed into the server. I have followed http://www.jboss.org/community/wiki/ClassLoadingConfiguration, but I cannot find the file deploy/ear-deployer.xml. I have found just the file deployers/ear-deployer-jboss-beans.xml and there I have set there:

<bean name="EARClassLoaderDeployer" class="org.jboss.deployment.EarClassLoaderDeployer">
  |       <!-- A flag indicating if ear deployments should have their own scoped
  |          class loader to isolate their classes from other deployments.
  |       -->      
  |       <property name="isolated">true</property>
  |    </bean>
  | 

I have deployed two versions of my EAR (exploded), but the classes are still shared. When I check the class loader in the JMX console, then classloader loads only classes for one of those EARs, the list of classes for the other EAR is empty.

Is this a bug or do I have set something wrong?

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

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



More information about the jboss-user mailing list