1 Reply Latest reply on Nov 20, 2011 7:35 PM by dbschofield

    Need help resolving deployment failure for Apache's DayTrader

    dbschofield

      Decided to port Apache's DayTrader application to JBoss AS 7.0.2.final today.  Getting the following error during deployment.

       

      00:49:31,045 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" =>

        {"Services with missing/unavailable dependencies" =>

          ["jboss.deployment.subunit.\"daytrader-ear-2.2.1.ear\".\"dt-ejb.jar\".CONFIGURE_MODULE missing

              [ jboss.module.information.service.\"deployment.daytrader-ear-2.2.1.ear.core.jar\".main ]",

          "jboss.deployment.subunit.\"daytrader-ear-2.2.1.ear\".\"streamer.jar\".CONFIGURE_MODULE missing

              [ jboss.module.information.service.\"deployment.daytrader-ear-2.2.1.ear.core.jar\".main ]",

          "jboss.deployment.unit.\"daytrader-ear-2.2.1.ear\".CONFIGURE_MODULE missing

              [ jboss.module.information.service.\"deployment.daytrader-ear-2.2.1.ear.core.jar\".main ]",

          "jboss.deployment.subunit.\"daytrader-ear-2.2.1.ear\".\"wsappclient.jar\".CONFIGURE_MODULE missing

              [ jboss.module.information.service.\"deployment.daytrader-ear-2.2.1.ear.core.jar\".main ]",

          "jboss.deployment.subunit.\"daytrader-ear-2.2.1.ear\".\"web.war\".CONFIGURE_MODULE missing

              [ jboss.module.information.service.\"deployment.daytrader-ear-2.2.1.ear.core.jar\".main ]"]}}}

       

      The core.jar that appears to be missing is a utility jar located in the root directory of the ear.  Each JEE module that uses it (dt-ejb.jar, streamer.jar, wsappclient.jar, web.war) references it with a CLASS-PATH entry in MANIFEST.MF file.

       

      Attached are all server logs from a clean startup and faild deployment of the application.

       

      Thoughts or insights as to what may be going on?

        • 1. Re: Need help resolving deployment failure for Apache's DayTrader
          dbschofield

          Moving the utility jar files to the ear/lib directory works around the issue above.  Looks to be a problem with how the jboss modules are created for utility jar files that do not reside in the ear/lib directory and are referenced from JEE modules with MANIFEST.MF Class-Path entries.  I'll play around with this in AS 7.1 alpha and open a jira as appropriate.  If anyone has more insight please share.