Uploaded image for project: 'JBoss ClassLoader'
  1. JBoss ClassLoader
  2. JBCL-125

Cannot control the domain name for a classloader in a subdeployment

    Details

      Description

      As documented in FAQ, one of the ways to share classes between wars and other deployments
      is to explictly put them in a domain, e.g. the DefaultDomain
      http://www.jboss.org/community/wiki/useJBossWebClassLoaderinJBoss5

      However when the war is a subdeployment the AbstractClassLoaderDescribeDeployer is ignoring
      the domain specified in the jboss-classloading.xml and using the deployment's unit name as the domain.

      This is only true if you don't specify a parent-domain for the subdeployment's classloader.
      But if you want to put the classloader in the "DefaultDomain" you can't specify the parent since it doesn't have one.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  adrian.brock Adrian Brock
                  Reporter:
                  adrian.brock Adrian Brock
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: