Impossible to scope HASingletonDeployer deployments using class loader repositories
-----------------------------------------------------------------------------------
Key: JBAS-5957
URL:
https://jira.jboss.org/jira/browse/JBAS-5957
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: JBossAS-4.2.3.GA
Reporter: Roland Räz
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira