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

Impossible to scope HASingletonDeployer deployments using class loader repositories

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • No Release
    • JBossAS-4.2.3.GA
    • None
    • None

      Deployments deployed by the jboss.ha:service=HASingletonDeployer use always the default class loader repository. The reason is that the deploy-hasingleton directory is deployed by the jboss.system:service=MainDeployer MBean. The Main deployer delegated this work to a JarDeployer that uses the default class loader repository. All deployments in this directory are subdeployments with the same class loader repository.

      As a workaround the jboss.deployment:type=DeploymentScanner,flavor=URL could be used. This scanner scans the directory instead of creating a jar deployer. The workaround works only, if the ScanEnabled property of the jboss.deployment:type=DeploymentScanner,flavor=URL is not set to false.

              Unassigned Unassigned
              wv-javacoder Roland Räz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: