5 Replies Latest reply on Oct 16, 2012 3:30 AM by xin.zhang.song

    JBAS014803: Duplicate resource

    xin.zhang.song

      Hi All

       

      I met a question during I deploy the packages, My JBoss version: 7.1.1 final, and Here are the steps:

       

      Steps:

      1.copy h2console.war to ${JBoss_home}/standalone/deployments/

      2. run AS7 service

      3. open a new terminal and execut jboss-cli.bat --connect command

      4. execute undeploy h2console.war and deploy ../standalone/deployments/h2console.war

      5. shutdown AS7 service

      6. run AS7 service again:

      and then there are the following message in the console:

       

      10:34:00,025 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) Operation ("add") failed - address: ([("deployment" => "h2console.war")]) - failure description: "JBAS014803: Duplicate resource [(\"deployment\" => \"h2console.war\")]"

      10:34:00,025 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\" => \"h2console.war\")]"}}

       

      Is there someone met the same question?

       

      Thanks

       

      Xin