Wrong deployment's behaviour when deployment plans are treated (atomic=false)
When in a deployment plan there are more than 2 modules, even though the "atomic" property is set to false, if one them fails to start, the following ones are untreated. Example of errors INFO | jvm 1 | 2011/11/09 16:10:18 | 2011-11-09 16:10:17,942 : DeployableMonitor.detectNewArchives : Deployables to deploy at startup: [[Y:\Mateo\myJOnAS521\deploy\00-myRepositories.xml, Y:\Mateo\myJOnAS521\deploy\00-myResources.xml, Y:\Mateo\myJOnAS521\deploy\jonasAdmin.xml]] INFO | jvm 1 | 2011/11/09 16:11:21 | 2011-11-09 16:11:21,331 : DeployableMonitor.detectNewArchives : DeployerException : Cannot deploy the deployable 'DeploymentPlanDeployableImpl[archive=Y:\Mateo\myJOnAS521\deploy\00-myResources.xml]' INFO | jvm 1 | 2011/11/09 16:11:21 | org.ow2.util.ee.deploy.api.deployer.DeployerException: Deployment plan deployment failed INFO | jvm 1 | 2011/11/09 16:11:21 | at org.ow2.util.plan.deployer.impl.DeploymentPlanDeployer.deploy(DeploymentPlanDeployer.java:154) INFO | jvm 1 | 2011/11/09 16:11:21 | at org.ow2.util.ee.deploy.impl.deployer.DeployerManager.deploy(DeployerManager.java:129) INFO | jvm 1 | 2011/11/09 16:11:21 | at org.ow2.jonas.deployablemonitor.DeployableMonitor.detectNewArchives(DeployableMonitor.java:491) INFO | jvm 1 | 2011/11/09 16:11:21 | at org.ow2.jonas.deployablemonitor.DeployableMonitor.checkNewArchives(DeployableMonitor.java:306) INFO | jvm 1 | 2011/11/09 16:11:21 | at org.ow2.jonas.deployablemonitor.DeployableMonitor.run(DeployableMonitor.java:216) INFO | jvm 1 | 2011/11/09 16:11:21 | Caused by: org.ow2.util.plan.deployer.api.DeploymentPlanDeploymentException: Error while deploying part Maven2Deployment[com.mat.osgi.jmsadminbundle:jar, reloadable=false, useRepository=] of deployment plan org.ow2.util.plan.bindings.deploymentplan.DeploymentPlan@4a8167 INFO | jvm 1 | 2011/11/09 16:11:21 | at org.ow2.util.plan.deployer.impl.DeploymentPlanDeployer.deployDeploymentPlan(DeploymentPlanDeployer.java:278) INFO | jvm 1 | 2011/11/09 16:11:21 | at org.ow2.util.plan.deployer.impl.DeploymentPlanDeployer.deploy(DeploymentPlanDeployer.java:152) INFO | jvm 1 | 2011/11/09 16:11:21 | at org.ow2.util.ee.deploy.impl.deployer.DeployerManager.deploy(DeployerManager.java:130) INFO | jvm 1 | 2011/11/09 16:11:21 | ... 3 more INFO | jvm 1 | 2011/11/09 16:11:21 | Caused by: org.ow2.util.plan.deployer.api.FragmentDeploymentException: org.ow2.util.plan.fetcher.api.exceptions.FetcherException: org.ow2.util.plan.fetcher.api.exceptions.ResourceNotFoundException: Maven2Deployment[com.mat.osgi.jmsadminbundle:jar, reloadable=false, useRepository=] INFO | jvm 1 | 2011/11/09 16:11:21 | at org.ow2.util.plan.deployer.impl.DeploymentPlanDeployer.deployDeployment(DeploymentPlanDeployer.java:334) INFO | jvm 1 | 2011/11/09 16:11:21 | at org.ow2.util.plan.deployer.impl.DeploymentPlanDeployer.deployDeploymentPlan(DeploymentPlanDeployer.java:260) INFO | jvm 1 | 2011/11/09 16:11:21 | ... 5 more INFO | jvm 1 | 2011/11/09 16:11:21 | Caused by: org.ow2.util.plan.fetcher.api.exceptions.FetcherException: org.ow2.util.plan.fetcher.api.exceptions.ResourceNotFoundException: Maven2Deployment[com.mat.osgi.jmsadminbundle:jar, reloadable=false, useRepository=] INFO | jvm 1 | 2011/11/09 16:11:21 | at org.ow2.util.plan.fetcher.impl.maven2.Maven2ResourceFetcher.resolve(Maven2ResourceFetcher.java:180) INFO | jvm 1 | 2011/11/09 16:11:21 | at org.ow2.util.plan.deployer.impl.DeploymentPlanDeployer.deployDeployment(DeploymentPlanDeployer.java:331) INFO | jvm 1 | 2011/11/09 16:11:21 | ... 6 more INFO | jvm 1 | 2011/11/09 16:11:21 | Caused by: org.ow2.util.plan.fetcher.api.exceptions.ResourceNotFoundException: Maven2Deployment[com.mat.osgi.jmsadminbundle:jar, reloadable=false, useRepository=] INFO | jvm 1 | 2011/11/09 16:11:21 | at org.ow2.util.plan.fetcher.impl.maven2.Maven2ResourceFetcher.resolve(Maven2ResourceFetcher.java:180) INFO | jvm 1 | 2011/11/09 16:11:21 | at org.ow2.util.plan.deployer.impl.DeploymentPlanDeployer.deployDeployment(DeploymentPlanDeployer.java:331) INFO | jvm 1 | 2011/11/09 16:11:21 | at org.ow2.util.plan.deployer.impl.DeploymentPlanDeployer.deployDeploymentPlan(DeploymentPlanDeployer.java:260) INFO | jvm 1 | 2011/11/09 16:11:21 | at org.ow2.util.plan.deployer.impl.DeploymentPlanDeployer.deploy(DeploymentPlanDeployer.java:152) INFO | jvm 1 | 2011/11/09 16:11:21 | at org.ow2.util.ee.deploy.impl.deployer.DeployerManager.deploy(DeployerManager.java:129) INFO | jvm 1 | 2011/11/09 16:11:21 | ... 3 more INFO | jvm 1 | 2011/11/09 16:11:21 | 2011-11-09 16:11:21,409 : WARDeployer.doDeploy : Deploying jonas-admin-5.2.1.war INFO | jvm 1 | 2011/11/09 16:11:21 | 2011-11-09 16:11:21,425 : HttpOnDemandProxy.addWar : The war file 'Y:\Programmes\jonas\jonas-521\repositories\maven2-internal\org\ow2\jonas\jonas-admin\5.2.1\jonas-admin-5.2.1.war' is available on demand at the context /jonasAdmin INFO | jvm 1 | 2011/11/09 16:11:21 | 2011-11-09 16:11:21,441 : J2EEServer.__info : JOnAS AS v5.2.1 named 'JOnAS521' RUNNING
See attached file below : 00-myResources.xml