2 Replies Latest reply on Jan 26, 2017 2:57 PM by amit12345

    Jboss 7.1.1 application deployment failed

    benboss

      Hi There,

       

      I've taken two .war files from an JBoss 5 implementation and move them into C:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\standalone\deployments

      Once I worked out that the auto deployer was expecting an compressed file I zipped up the two war files and the attempted deployment kicked off.

       

      Now I'm getting .failed files in deployment

       

      They say JBAS014654: Composite operation was rolled back

       

      My server.log says

       

      "BenApp-admin.war" was rolled back with no failure message

      "BenApp-client.war" was rolled back with no failure message

       

      Does anyone have any pointers?

       

      I'm not sure that its relevant and hope you can see through to know what I should try next, but when I tried deploying the applications through the admin site and via the plugin for eclipse I couldn't select the .war files when prompted to browse for them. I'm assuming now that both the jboss admin console and the eclipse plugin was expecting a compressed .war file rather than be presenting them with an directory with a .war extension.

       

      I'm a noob at jboss migrations and deployments I'm afraid.

       

      16:57:04,610 INFO  [org.jboss.web] (MSC service thread 1-2) JBAS018210: Registering web context: /BenApp-admin
      16:57:06,750 INFO  [org.jboss.web] (MSC service thread 1-2) JBAS018210: Registering web context: /BenApp-client
      16:57:06,751 INFO  [org.jboss.as] (MSC service thread 1-1) JBAS015951: Admin console listening on http://127.0.0.1:9990
      16:57:06,752 ERROR [org.jboss.as] (MSC service thread 1-1) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 31127ms - Started 324 of 422 services (2 services failed or missing dependencies, 81 services are passive or on-demand)
      16:57:06,956 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015871: Deploy of deployment "BenApp-client.war" was rolled back with no failure message
      16:57:06,958 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015871: Deploy of deployment "BenApp-admin.war" was rolled back with no failure message
      16:57:06,965 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "jms-ra.rar" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.ra.deployer.jms-ra" => "org.jboss.msc.service.StartException in service jboss.ra.deployer.jms-ra: JBAS010446: Failed to start RA deployment [jms-ra]"}}
      16:57:07,061 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment jms-ra.rar in 97ms
      16:57:10,626 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment BenApp-admin.war in 3666ms
      16:57:11,503 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment BenApp-client.war in 4547ms
      16:57:11,507 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
      JBAS014777:   Services which failed to start:      service jboss.ra.deployer.jms-ra: org.jboss.msc.service.StartException in service jboss.ra.deployer.jms-ra: JBAS010446: Failed to start RA deployment [jms-ra]

      16:57:11,510 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.ra.deployer.jms-ra" => "org.jboss.msc.service.StartException in service jboss.ra.deployer.jms-ra: JBAS010446: Failed to start RA deployment [jms-ra]"}}}}
      16:57:11,513 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS014654: Composite operation was rolled back
      16:57:11,515 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS014654: Composite operation was rolled back

       

      Thanks in advance Ben

        • 1. Re: Jboss 7.1.1 application deployment failed
          andey

          Check for the exception stack trace as to why the deployment was rolled back. There could be various reasons for deployment failure as indicated in the stack trace.

           

          It may also occur when the application is not Deployed and the Undeploy command is executed for the application.

          • 2. Re: Jboss 7.1.1 application deployment failed
            amit12345

             

            Is that the only message that appears? If it is you might want to turn on debug or trace logging for org.jboss.as.server.deployment.

             

            Please share the Trace level logging with us.

             

            Are you using the same JDK version that you used for compiling your WAR?

             

            Please try to create a War properly as there might be an issue that .war not created properly please double check .