2 Replies Latest reply on Aug 12, 2015 12:37 PM by jaikiran pai

    Simple WAR deployment error

    wintergalt Newbie

      Hi,

       

      I am trying to deploy a very simple WAR file that runs fine on Tomcat 6.0.26 into JBoss AS 7, but am getting the error pasted below. Any ideas regarding what could be possibly causing it? 

       

      Thanks in advance.

       

       

      {noformat}

      09:26:40,880 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Starting deployment of "holidayService.war"

      09:26:41,521 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC00001: Failed to start service jboss.deployment.unit."holidayService.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."holidayService.war".STRUCTURE: Failed to process phase STRUCTURE of deployment "holidayService.war"

                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)

                at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_22]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_22]

                at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]

      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to index deployment root for annotations

                at org.jboss.as.server.deployment.annotation.AnnotationIndexProcessor.deploy(AnnotationIndexProcessor.java:113)

                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)

                ... 5 more

      Caused by: java.io.IOException: Could not index class com/ibm/icu/impl/data/LocaleElements_zh__PINYIN.class in archive '"/content/holidayService.war/WEB-INF/lib/icu4j-2.6.1.jar"'

                at org.jboss.as.server.deployment.annotation.AnnotationIndexProcessor.deploy(AnnotationIndexProcessor.java:105)

                ... 6 more

      Caused by: java.lang.IllegalStateException: Unknown tag! pos=40 poolCount = 47

                at org.jboss.jandex.Indexer.processConstantPool(Indexer.java:604)

                at org.jboss.jandex.Indexer.index(Indexer.java:638)

                at org.jboss.as.server.deployment.annotation.AnnotationIndexProcessor.deploy(AnnotationIndexProcessor.java:103)

                ... 6 more

       

       

      09:26:41,525 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "holidayService.war" was rolled back with failure message {"Failed services" => {"jboss.deployment.unit.\"holidayService.war\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"holidayService.war\".STRUCTURE: Failed to process phase STRUCTURE of deployment \"holidayService.war\""}}

      09:26:41,526 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) Service status report

        Services which failed to start:

            service jboss.deployment.unit."holidayService.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."holidayService.war".STRUCTURE: Failed to process phase STRUCTURE of deployment "holidayService.war"

       

       

      09:26:41,527 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.deployment.unit.\"holidayService.war\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"holidayService.war\".STRUCTURE: Failed to process phase STRUCTURE of deployment \"holidayService.war\""}}}}

      09:26:41,529 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Stopped deployment holidayService.war in 3ms

      {noformat}