4 Replies Latest reply on Sep 10, 2012 10:17 AM by Sebastiao Santos

    Developer's workflow and JBAS014803: Duplicate resource

    Radoslav Husar Master

      Here is a doubt about logging message with this developer workflow:


      1. i deploy an app (copy to standalone/deployments) with a deployment issue
      2. the deployment is marked as failed (.failed dep. descriptor is created)
      3. i shutdown ctrl+c
      4. fix my app
      5. copy over in standalone/deployments
      6. start the server again and I get:


      12:05:03,295 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-4) JBAS015012: Started FileSystemDeploymentService for directory /home/rhusar/Download/jboss-as-7.1.0.CR1-SNAPSHOT/standalone/deployments

      12:05:03,310 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed deployment clusterbench-ee6.ear

      12:05:03,441 INFO  [org.jboss.as] (Controller Boot Thread) JBoss AS 7.1.0.CR1-SNAPSHOT "Tesla" started in 3270ms - Started 152 of 259 services (102 services are passive or on-demand)

      12:05:03,442 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) Operation ("add") failed - address: ([("deployment" => "clusterbench-ee6.ear")]) - failure description: "JBAS014803: Duplicate resource [(\"deployment\" => \"clusterbench-ee6.ear\")]"

      12:05:03,450 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS014654: Composite operation was rolled back

      12:05:03,451 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "JBAS014803: Duplicate resource [(\"deployment\" => \"clusterbench-ee6.ear\")]"}}


      Not very usable / user friendly / clear whats going on. Should we provide better wording here?