1 Reply Latest reply on Jan 30, 2013 9:10 AM by Ramesh Reddy

    teiid-odata-8.3.0.Beta1.war causes IllegalStateException on JBOSS start up

    Jose Chavez Newbie

      I installed Teiid 8.3 Beta 1 on top of JBOSS AS 7.1.1 and configured it for teiid domain mode using the cli file teiid-domain-mode-install.cli, after executing the cli file using the jboss cli I saw some errors shown below that concerned me. Is there some configuration that must be done before executing the cli file for Teiid 8.3?:

       

       

      [Server:server-one] 15:19:10,603 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 5) JBAS014612: Operation ("add") failed - address: ([("deployment" => "teiid-odata-8.3.0.Beta1.war")]): java.lang.IllegalStateException: JBAS015841: Only 'hash' is allowed for deployment full replacement for a domain mode server: {"url" => "file:/jose/jboss/jboss-as-7.1.1.Final/modules/org/jboss/teiid/main/deployments/teiid-odata-8.3.0.Beta1.war"}

      [Server:server-one]     at org.jboss.as.server.deployment.DeploymentAddHandler$DomainServerDeploymentAddHandler.addFromContentAdditionParameter(DeploymentAddHandler.java:230)

      [Server:server-one]     at org.jboss.as.server.deployment.DeploymentAddHandler.execute(DeploymentAddHandler.java:147)

      [Server:server-one]     at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:385) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

      [Server:server-one]     at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:272) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

      [Server:server-one]     at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:200) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

      [Server:server-one]     at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:311) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

      [Server:server-one]     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [rt.jar:1.6.0_25]

      [Server:server-one]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.6.0_25]

      [Server:server-one]     at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_25]

      [Server:server-one]     at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.0.0.GA.jar:2.0.0.GA]

      [Server:server-one]

      [Server:server-two] 15:19:10,801 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 17) JBAS014612: Operation ("add") failed - address: ([("deployment" => "teiid-odata-8.3.0.Beta1.war")]): java.lang.IllegalStateException: JBAS015841: Only 'hash' is allowed for deployment full replacement for a domain mode server: {"url" => "file:/jose/jboss/jboss-as-7.1.1.Final/modules/org/jboss/teiid/main/deployments/teiid-odata-8.3.0.Beta1.war"}

      [Server:server-two]     at org.jboss.as.server.deployment.DeploymentAddHandler$DomainServerDeploymentAddHandler.addFromContentAdditionParameter(DeploymentAddHandler.java:230)

      [Server:server-two]     at org.jboss.as.server.deployment.DeploymentAddHandler.execute(DeploymentAddHandler.java:147)

      [Server:server-two]     at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:385) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

      [Server:server-two]     at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:272) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

      [Server:server-two]     at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:200) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

      [Server:server-two]     at org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:311) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

      [Server:server-two]     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) [rt.jar:1.6.0_25]

      [Server:server-two]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.6.0_25]

      [Server:server-two]     at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_25]

      [Server:server-two]     at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.0.0.GA.jar:2.0.0.GA]

        • 1. Re: teiid-odata-8.3.0.Beta1.war causes IllegalStateException on JBOSS start up
          Ramesh Reddy Master

          Jose,

           

          That was my mistake, sorry for the inconvenience. I had changed some dependency structure for odata project, and forgot to update the MANIFEST.MF file before the Beta1 build started. I have corrected that since then, and added few many more improvements to both OData WAR and OData translator.

           

          Workarounds

           

          1) So, if you are not planning on using the OData, you can delete the <jboss-as>/modules/org/jboss/teiid/main/deployments/teiid-odata-8.3.0.Beta1.war safely for now.

          2) You can manually edit the MANIFEST.MF file in <jboss-as>/modules/org/jboss/teiid/main/deployments/teiid-odata-8.3.0.Beta1.war, and append "org.jboss.teiid.translator.odata" text to dependencies line.

          2) if you want I can attach a new odata war to this thread

          3) If you get the latest code, you can build a new war yourself.

           

           

          Thanks

           

          Ramesh..