Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-6600

Setting isolated=true on EarClassLoaderDeployer does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • JBossAS-5.1.0.CR1
    • JBossAS-5.0.0.GA, JBossAS-5.0.1.GA
    • ClassLoading
    • None
    • Workaround Exists
    • Hide

      Package a jboss-app.xml, in each of the EAR, with classloading configurations

      Show
      Package a jboss-app.xml, in each of the EAR, with classloading configurations

    Description

      JBossAS-5 allows each EAR to have its own isolated classloader, by setting the isolated flag to true in the EARClassLoaderDeployer (%JBOSS_HOME%/server/default/deployers/ear-deployer-jboss-beans.xml):

      <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>

      However, this does not work. The classloaders for the EARs are not isolated. Please see the referenced forum thread for the complete details and the patch.

      Attachments

        Activity

          People

            adrian.brock Adrian Brock (Inactive)
            jaikiran Jaikiran Pai (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: