1 Reply Latest reply on Dec 7, 2014 10:24 PM by Jay SenSharma

    problem in starting WildFly 8.2.0.Final with JSF2.2

    Gulam Samdani Expert

      Sometimes i am find following error from WildFly 8.2.0.Final  server ? But same file run on WildFly 8.1.0.Final

      anyone pls explain why i am find this error . How to recover from this error ?

       

       

       

      ========================================================

      22:57:34,283 INFO  [org.jboss.modules] (main) JBoss Modules version 1.3.3.Final

      22:57:34,803 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.2.Final

      22:57:34,894 INFO  [org.jboss.as] (MSC service thread 1-6) JBAS015899: WildFly 8.2.0.Final "Tweek" starting

      22:57:37,440 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found hdivbill.war in deployment directory. To trigger deployment create a file called hdivbill.war.dodeploy

      22:57:37,450 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found hdivbill.war in deployment directory. To trigger deployment create a file called hdivbill.war.dodeploy

      22:57:37,450 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 17) JBAS014613: Operation ("add") failed - address: ([("deployment" => "hdivbill.war")]) - failure description: "JBAS014803: Duplicate resource [(\"deployment\" => \"hdivbill.war\")]"

      22:57:37,460 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) "JBAS014784: Failed executing subsystem deployment-scanner boot operations"

      22:57:37,460 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("parallel-subsystem-boot") failed - address: ([]) - failure description: "\"JBAS014784: Failed executing subsystem deployment-scanner boot operations\""

      22:57:37,470 FATAL [org.jboss.as.server] (Controller Boot Thread) JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.

      22:57:37,490 INFO  [org.jboss.as] (MSC service thread 1-3) JBAS015950: WildFly 8.2.0.Final "Tweek" stopped in 14ms

       

      p34.png

        • 1. Re: problem in starting WildFly 8.2.0.Final with JSF2.2
          Jay SenSharma Master

          The error which you are getting is not specific to JSF2.2 based application.

          But in general the error ["JBAS014803: Duplicate resource [(\"deployment\" => \"hdivbill.war\")]"]  indicates that you might be trying to deploy the same application twice.    One using deployment-scanner by placing the file using "standalone/deployments/hdivbill.war"  and you might be trying to deploy the same application using management utilities which adds an entry inside the JBoss profile like standalone.xml <deployments> tag.

          Example:

              <deployments>
                  <deployment name="test.war" runtime-name=" .war">
                      <fs-archive path="deployments/hdivbill.war" relative-to="jboss.server.base.dir"/>
                  </deployment>
              </deployments>
          
          

           

           

          So can you verify the  jboss profile (like standalone.xml or whatever u are using)  and check the standalone/deployments  directory to see if application is present in both places.

           

           

          One thing is surprising to me is Duplicate entry in your log as following:

          22:57:37,440 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found hdivbill.war in deployment directory. To trigger deployment create a file called hdivbill.war.dodeploy
          22:57:37,450 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found hdivbill.war in deployment directory. To trigger deployment create a file called hdivbill.war.dodeploy
          

           

          Have you altered in the deployment-scanner subsystem of your wildFly profile ?