Details
-
Bug
-
Resolution: Done
-
Major
-
JBossAS-5.0.0.GA
-
None
Description
HASingletonDeploymentScanner has two sets of logic for how it interacts with the ProfileService – one that uses the DeploymentManager when it is available and one that directly interacts with the Profile and the MainDeployer if no DeploymentManager is available.
The code that doesn't use the DeploymentManager is broken. It results in the deploy-hasingleton/ content being removed when a node stops being the master (including at shutdown). See forum thread.
I don't see a good fix for this, and the "basic" ProfileService impl that doesn't use a DeploymentManager is not actually used anymore anyway, and will be dropped from future releases. So, my intent in resolving this JIRA is to remove the relevant code from HASingletonDeploymentScanner impl, and require that a DeploymentManager be available.
There is a separate issue whereby the DeploymentManager isn't being made available to HASingletonDeploymentScanner, causing this to-be-removed logic to execute. I'll file a JIRA for fixing that and link it to this one.
Attachments
Issue Links
- is related to
-
JBAS-6440 HASingletonDeploymentScanner starts before DeploymentManager
- Closed