3 Replies Latest reply on May 18, 2017 5:58 AM by Irfan Ali Dogar

    EAR Deployment in Wildfly 10

    Irfan Ali Dogar Newbie

      I am trying to deploy my application's lib ear to wildfly and I am getting following error:

       

      2017-05-17 12:36:40,156 INFO  [org.jboss.as.repository] (External Management Request Threads -- 3) WFLYDR0001: Content added at location E:\ICM\Project\migration\wildfly-10.1.0.Final\wildfly-10.1.0.Final\standalone\data\content\9c\8998ef8caaed08e1f6c94e9ecec0c5d405da0e\content

      2017-05-17 12:36:40,290 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "my-application-libs.ear" (runtime-name: "my-application-libs.ear")

      2017-05-17 12:36:50,147 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."my-application-libs.ear".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."my-application-libs.ear".STRUCTURE: WFLYSRV0153: Failed to process phase STRUCTURE of deployment "my-application-libs.ear"

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

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)

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

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

        at java.lang.Thread.run(Thread.java:748)

      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYEE0095: Unsupported ear module type: META-INF/jboss-service.xml

        at org.jboss.as.ee.structure.EarStructureProcessor.deploy(EarStructureProcessor.java:181)

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

        ... 5 more

       

       

      2017-05-17 12:36:50,150 ERROR [org.jboss.as.controller.management-operation] (External Management Request Threads -- 3) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "my-application-libs.ear")]) - failure description: {

          "WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"my-application-libs.ear\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"my-application-libs.ear\".STRUCTURE: WFLYSRV0153: Failed to process phase STRUCTURE of deployment \"my-application-libs.ear\"

          Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYEE0095: Unsupported ear module type: META-INF/jboss-service.xml"},

          "WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"my-application-libs.ear\".STRUCTURE"],

          "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined

      }

      2017-05-17 12:36:50,158 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0028: Stopped deployment my-application-libs.ear (runtime-name: my-application-libs.ear) in 4ms

      2017-05-17 12:36:50,153 ERROR [org.jboss.as.server] (External Management Request Threads -- 3) WFLYSRV0021: Deploy of deployment "my-application-libs.ear" was rolled back with the following failure message:

      {

          "WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"my-application-libs.ear\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"my-application-libs.ear\".STRUCTURE: WFLYSRV0153: Failed to process phase STRUCTURE of deployment \"my-application-libs.ear\"

          Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYEE0095: Unsupported ear module type: META-INF/jboss-service.xml"},

          "WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"my-application-libs.ear\".STRUCTURE"],

          "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined

      }

      2017-05-17 12:36:50,169 INFO  [org.jboss.as.controller] (External Management Request Threads -- 3) WFLYCTL0183: Service status report

      WFLYCTL0186:   Services which failed to start:      service jboss.deployment.unit."my-application-libs.ear".STRUCTURE

       

      The structure of my application is:

       

      META-INF/

      META-INF/MANIFEST.MF

      META-INF/application.xml

      lib/

      lib/activation-1.0.2.jar

      lib/ant-1.7.1.jar

      lib/ant-launcher-1.7.1.jar

      lib/ant-nodeps-1.7.1.jar

      lib/ant-trax-1.7.1.jar

      lib/antlr-2.7.6.jar

      lib/authapi-1.0.jar

      lib/backport-util-concurrent-1.3.3.jar

      lib/bsh-2.0b4.jar

      lib/cfgatewayadapter-4.0.0.14931.jar

      lib/commons-beanutils-1.8.0.jar

      lib/commons-codec-1.3.jar

      lib/commons-dbcp-1.2.1.jar

      lib/commons-digester-1.7.jar

      lib/commons-fileupload-1.2.1.jar

      lib/commons-httpclient-3.0.1.jar

      lib/commons-io-1.4.jar

      lib/commons-javaflow-1.0.jar

      lib/commons-lang-2.4.jar

      lib/commons-logging-1.1.1.jar

      lib/commons-logging-api-1.0.2.jar

      lib/commons-net-2.0.jar

      lib/commons-net-ftp-2.0.jar

      lib/commons-pool-1.3.jar

      lib/commons-validator-1.3.1.jar

      lib/commons-vfs-2.0.jar

      lib/concurrent-1.3.3.jar

      lib/css-validator-1.0.jar

      lib/fact24-request-schema-1.1.jar

      lib/fact24-response-schema-1.1.jar

      lib/flex-messaging-common-4.0.0.14931.jar

      lib/flex-messaging-core-4.0.0.14931.jar

      lib/flex-messaging-opt-4.0.0.14931.jar

      lib/flex-messaging-proxy-4.0.0.14931.jar

      lib/flex-messaging-remoting-4.0.0.14931.jar

      lib/freemarker-2.3.4.jar

      lib/imodus-ws-client-1.0.jar

      lib/itext-2.1.3.jar

      lib/itext-rtf-2.1.3.jar

      lib/itextasian-1.0.jar

      lib/jackrabbit-api-2.4.jar

      lib/jackrabbit-core-2.4.jar

      lib/jackrabbit-jca-lib-2.4.jar

      lib/jackrabbit-jcr-commons-2.4.jar

      lib/jackrabbit-jcr-rmi-2.4.jar

      lib/jackrabbit-jcr-server-2.4.jar

      lib/jackrabbit-jcr-servlet-2.4.jar

      lib/jackrabbit-webdav-2.4.jar

      lib/jasperreports-4.0.2.jar

      lib/jasperreports-extensions-3.5.3.jar

      lib/jasperreports-fonts-4.0.2.jar

      lib/jbosssx-4.2.2.jar

      lib/jbpm-configs.jar

      lib/jbpm-enterprise-3.3.1.jar

      lib/jbpm-identity-3.3.1.jar

      lib/jbpm-jpdl-3.3.1.jar

      lib/jcr-2.0.jar

      lib/jodconverter-3.0.jar

      lib/jodconverter-cli-2.2.2.jar

      lib/jsch_lib-0.1.41.jar

      lib/jsr173_api-1.0.jar

      lib/juh-3.1.0.jar

      lib/jurt-3.1.0.jar

      lib/jxl-2.6.10.jar

      lib/license-manager-1.9.5.jar

      lib/licensepo-1.1.jar

      lib/mail-1.4.jar

      lib/mir3-ws-client-1.0.jar

      lib/ofs-beansmapper.jar

      lib/ofs-business-process-facade.jar

      lib/ofs-business-process.jar

      lib/ofs-common.jar

      lib/ofs-dao-module.jar

      lib/ofs-datasource-api.jar

      lib/ofs-datasource-xsd.jar

      lib/ofs-facade.jar

      lib/ofs-reporting-utils.jar

      lib/ofs-reporting.jar

      lib/ofs-schema-api.jar

      lib/ofs-ws-api.jar

      lib/opencsv-2.0.jar

      lib/oro-2.0.8.jar

      lib/png-encoder-1.5.jar

      lib/poi-3.7.jar

      lib/resolver-1.5.jar

      lib/ridl-3.1.0.jar

      lib/saxon-9.jar

      lib/saxon-dom-9.jar

      lib/slf4j-api-1.5.11.jar

      lib/slf4j-jdk-1.5.11.jar

      lib/spring-2.5.4.jar

      lib/spring-modules-0.9.jar

      lib/spring-security-core-2.0.3.jar

      lib/spring-security-jboss-2.0.3.jar

      lib/swn-ws-client-1.0.jar

      lib/tika-app-1.0.jar

      lib/tiles-api-2.2.0.jar

      lib/tiles-core-2.2.0.jar

      lib/tiles-jsp-2.2.0.jar

      lib/tiles-servlet-2.2.0.jar

      lib/tiles-template-2.2.0.jar

      lib/truelicense-1.0.jar

      lib/truexml-1.0.jar

      lib/unoil-3.1.0.jar

      lib/velocity-1.7.jar

      lib/xalan-2.6.0.jar

      lib/xbean-2.4.0.jar

      lib/xbean_xpath-2.4.0.jar

      lib/xercesImpl-2.7.0.jar

      lib/xstream-1.3.1.jar

      META-INF/jboss-app.xml

      META-INF/jboss-service.xml

       

      Please help in resolving this issue.

       

      Regards,

      Irfan