JOnAS
  1. JOnAS
  2. JONAS-686

Wrong deployment's behaviour when deployment plans are treated (atomic=false)

    Details

      Description

      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=<not set>] 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=<not set>]
      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=<not set>]
      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=<not set>]
      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

        Activity

        Hide
        Mateo Jean-Louis added a comment -

        I've forgotten the comments ....

        In 00-myResources.xml:
        The first jar (bnd-mysql-connector-java-5.1.14-bin.jar) is well deployed
        The second module, jmsadminbundle --> the voluntary error (the jar is absent from the maven repository)
        then the two others (rmibundle, movie-ear) are not managed

        Show
        Mateo Jean-Louis added a comment - I've forgotten the comments .... In 00-myResources.xml: The first jar (bnd-mysql-connector-java-5.1.14-bin.jar) is well deployed The second module, jmsadminbundle --> the voluntary error (the jar is absent from the maven repository) then the two others (rmibundle, movie-ear) are not managed
        Hide
        Florent Benoit added a comment -
        Show
        Florent Benoit added a comment - Linked to issue http://jira.easybeans.org/browse/UTIL-131
        Hide
        Florent Benoit added a comment -

        Fixed in the current 5.3.0 M6 SNAPSHOT

        Show
        Florent Benoit added a comment - Fixed in the current 5.3.0 M6 SNAPSHOT
        Hide
        Florent Benoit added a comment -

        Add 5.2.3 as other fix version

        Show
        Florent Benoit added a comment - Add 5.2.3 as other fix version
        Hide
        Florent Benoit added a comment -

        Add closed flag !

        Show
        Florent Benoit added a comment - Add closed flag !

          People

          • Assignee:
            Florent Benoit
            Reporter:
            Mateo Jean-Louis
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development