2 Replies Latest reply on Jul 19, 2013 7:05 AM by fan kam thong

    Error encountered during deployment

    fan kam thong Newbie

      I have a strange issue here:

       

      During deployment, there are errors :

       

      [root@slave2 bin]# ./deploy-standalone.sh
      {
          "outcome" => "failed",
          "failure-description" => {
              "JBAS014671: Failed services" => {"jboss.deployment.subunit.\"LRv4.ear\".\"console.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"LRv4.ear\".\"console.war\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of subdeployment \"console.war\" of deployment \"LRv4.ear\"
          Caused by: java.lang.RuntimeException: JBAS018757: Error getting reflective information for class org.apache.struts2.tiles.StrutsTilesListener with ClassLoader ModuleClassLoader for Module \"deployment.LRv4.ear.console.war:main\" from Service Module Loader
          Caused by: java.lang.NoClassDefFoundError: org/apache/tiles/startup/TilesInitializer
          Caused by: java.lang.ClassNotFoundException: org.apache.tiles.startup.TilesInitializer from [Module \"deployment.LRv4.ear.console.war:main\" from Service Module Loader]"},
              "JBAS014771: Services with missing/unavailable dependencies" => [
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.UnprocessableSummaryTransferStartUpBean.Validator Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.UnprocessableSummaryTransferStartUpBean]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.AggregatedResultTransferStartupBean.Validator Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.AggregatedResultTransferStartupBean]",
                  "jboss.naming.context.java.comp.LRv4.collector-service.CollectorManagerEJB.HandleDelegate Missing[jboss.naming.context.java.comp.LRv4.collector-service.CollectorManagerEJB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.CorrelationSummaryMDB.HandleDelegate Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.CorrelationSummaryMDB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.UnprocessableSummaryMDB.HandleDelegate Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.UnprocessableSummaryMDB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultPortMDB.ValidatorFactory Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultPortMDB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.UnprocessableSummaryTransferStartUpBean.HandleDelegate Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.UnprocessableSummaryTransferStartUpBean]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultEventMDB.ORB Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultEventMDB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultPortMDB.ORB Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultPortMDB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.AggregatorManagerEJB.ORB Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.AggregatorManagerEJB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.CorrelationSummaryTransferStartupBean.HandleDelegate Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.CorrelationSummaryTransferStartupBean]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.CorrelationSummaryTransferStartupBean.Validator Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.CorrelationSummaryTransferStartupBean]",
                  "jboss.deployment.unit.\"LRv4.ear\".INSTALL Missing[JBAS014861: <one or more transitive dependencies>]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultProtocolMDB.HandleDelegate Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultProtocolMDB]",
                  "jboss.naming.context.java.comp.LRv4.collector-service.CollectorControllerStartupBean.ValidatorFactory Missing[jboss.naming.context.java.comp.LRv4.collector-service.CollectorControllerStartupBean]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultEventMDB.HandleDelegate Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultEventMDB]",
                  "jboss.deployment.subunit.\"LRv4.ear\".\"collector-service.jar\".INSTALL Missing[JBAS014861: <one or more transitive dependencies>]",
                  "jboss.naming.context.java.comp.LRv4.collector-service.CollectorManagerEJB.ValidatorFactory Missing[jboss.naming.context.java.comp.LRv4.collector-service.CollectorManagerEJB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.AggregatedResultTransferStartupBean.HandleDelegate Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.AggregatedResultTransferStartupBean]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.CorrelationSummaryMDB.Validator Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.CorrelationSummaryMDB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.CorrelationSummaryMDB.ORB Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.CorrelationSummaryMDB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.AggregatorManagerEJB.Validator Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.AggregatorManagerEJB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultPortMDB.Validator Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultPortMDB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.UnprocessableSummaryMDB.Validator Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.UnprocessableSummaryMDB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.AggregatorManagerEJB.ValidatorFactory Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.AggregatorManagerEJB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.AggregatedResultTransferStartupBean.ORB Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.AggregatedResultTransferStartupBean]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultStatisticMDB.Validator Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultStatisticMDB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.UnprocessableSummaryMDB.ORB Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.UnprocessableSummaryMDB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.UnprocessableSummaryTransferStartUpBean.ORB Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.UnprocessableSummaryTransferStartUpBean]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultStatisticMDB.ValidatorFactory Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultStatisticMDB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultStatisticMDB.HandleDelegate Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultStatisticMDB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.UnprocessableSummaryMDB.ValidatorFactory Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.UnprocessableSummaryMDB]",
                  "jboss.naming.context.java.comp.LRv4.collector-service.CollectorManagerEJB.ORB Missing[jboss.naming.context.java.comp.LRv4.collector-service.CollectorManagerEJB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultProtocolMDB.ValidatorFactory Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultProtocolMDB]",
                  "jboss.naming.context.java.comp.LRv4.collector-service.CollectorManagerEJB.Validator Missing[jboss.naming.context.java.comp.LRv4.collector-service.CollectorManagerEJB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.AggregationControllerStartupBean.ORB Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.AggregationControllerStartupBean]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultProtocolMDB.Validator Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultProtocolMDB]",
                  "jboss.naming.context.java.comp.LRv4.collector-service.CollectorControllerStartupBean.Validator Missing[jboss.naming.context.java.comp.LRv4.collector-service.CollectorControllerStartupBean]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultTotalEventMDB.ValidatorFactory Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultTotalEventMDB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.UnprocessableSummaryTransferStartUpBean.ValidatorFactory Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.UnprocessableSummaryTransferStartUpBean]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultTotalEventMDB.ORB Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultTotalEventMDB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultTotalEventMDB.HandleDelegate Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultTotalEventMDB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.AggregationControllerStartupBean.ValidatorFactory Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.AggregationControllerStartupBean]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultEventMDB.Validator Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultEventMDB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.AggregatedResultTransferStartupBean.ValidatorFactory Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.AggregatedResultTransferStartupBean]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.AggregationControllerStartupBean.Validator Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.AggregationControllerStartupBean]",
                  "jboss.naming.context.java.comp.LRv4.collector-service.CollectorControllerStartupBean.ORB Missing[jboss.naming.context.java.comp.LRv4.collector-service.CollectorControllerStartupBean]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultProtocolMDB.ORB Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultProtocolMDB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.AggregationControllerStartupBean.HandleDelegate Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.AggregationControllerStartupBean]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.CorrelationSummaryTransferStartupBean.ORB Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.CorrelationSummaryTransferStartupBean]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.AggregatorManagerEJB.HandleDelegate Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.AggregatorManagerEJB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.CorrelationSummaryTransferStartupBean.ValidatorFactory Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.CorrelationSummaryTransferStartupBean]",
                  "jboss.deployment.subunit.\"LRv4.ear\".\"aggregator-service.jar\".INSTALL Missing[JBAS014861: <one or more transitive dependencies>]",
                  "jboss.naming.context.java.comp.LRv4.collector-service.CollectorControllerStartupBean.HandleDelegate Missing[jboss.naming.context.java.comp.LRv4.collector-service.CollectorControllerStartupBean]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultTotalEventMDB.Validator Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultTotalEventMDB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultStatisticMDB.ORB Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultStatisticMDB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultPortMDB.HandleDelegate Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultPortMDB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultEventMDB.ValidatorFactory Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.DashboardResultEventMDB]",
                  "jboss.naming.context.java.comp.LRv4.aggregator-service.CorrelationSummaryMDB.ValidatorFactory Missing[jboss.naming.context.java.comp.LRv4.aggregator-service.CorrelationSummaryMDB]"
              ]
          },
          "rolled-back" => true
      }
      

       

      the jboss deployment structure XML is

       

      <?xml version="1.0" encoding="UTF-8"?>
      <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.0">
        <deployment>
          <exclusions>
                          <module name="org.jboss.as.jaxrs"/>
                          <module name="org.jboss.resteasy"/>
                          <module name="org.jboss.resteasy.resteasy-jaxrs"/>
          </exclusions>
        </deployment>
      </jboss-deployment-structure>
      

       

      Anyone facing the similiar issue? Pointers are appreciated.

        • 1. Re: Error encountered during deployment
          Stephen Coy Master

          Please show the output of

           

               jar tf LRv4.ear

           

          and attach the complete server.log.

           

          tip: click on "Use advanced editor" on the righthand side of the reply panel to get access to file attachments.

          • 2. Re: Error encountered during deployment
            fan kam thong Newbie

            Hi Stephen:

             

               I think the problem is resolved after adding the following dependencies. I will update again should the problem persists. Thanks.

             

              

            <dependency>

                                          <groupId>org.apache.tiles</groupId>

                                          <artifactId>tiles-core</artifactId>

                                          <version>2.2.2</version>

                                </dependency>

             

             

                                <dependency>

                                          <groupId>org.apache.tiles</groupId>

                                          <artifactId>tiles-api</artifactId>

                                          <version>2.2.2</version>

                                </dependency>

                                <dependency>

                                          <groupId>org.apache.tiles</groupId>

                                          <artifactId>tiles-jsp</artifactId>

                                          <version>2.1.4</version>

                                </dependency>