0 Replies Latest reply on Mar 22, 2018 10:38 AM by Shubham Gupta

    Problems in Deployment of ear when migrating from Jboss 5 to 7

    Shubham Gupta Newbie

      doing migration stuff for our application..

       

      First the error comes for Required services that are not installed and then Services with missing/unavailable dependencies" =>

       

      "WFLYCTL0412: Required services that are not installed:" => [

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"aspectjtools-1.7.4.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jasperreports-3.5.3.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"batik-ext-1.7.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jackson-databind-2.4.2.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"geronimo-stax-api_1.0_spec-1.0.1.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"spring-amqp-1.2.1.RELEASE.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"batik-awt-util-1.7.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"wss4j-1.6.1.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"avalon-framework-impl-4.2.0.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"bcmail-jdk15-1.38.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"XXX-0.5.5.0-SNAPSHOT.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"HessianIntegrationCustody-6.5.1.1302081025.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"management-core-1.1.6.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"RuleEnginesDomain-1.102.0.27.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"log4j-1.2.16.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"ridl-2.3.0.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"eigenbase-properties-1.1.0.10924.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"xstream-1.4.4.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"castor-core-1.3.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"SiavalWSIntegrationPlatform-6.5.1.1302081025.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"ehcache-terracotta-bootstrap-2.7.1.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"mchange-commons-java-0.2.10.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"databus-rabbitmq-1.5.9.0.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"bcmail-jdk14-1.38.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"ehcache-2.7.1.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"dom4j-1.6.1.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jaxb-xjc-4.3.0.GA_CP07_51.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"ClientesBatch-0.5.5.0-SNAPSHOT.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"IndraProxyAxisObjGen-0.5.5.0-SNAPSHOT.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"webdavlib-2.0.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"commons-collections-3.1.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"SecurityManager-2.4.0.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"ant-1.7.1.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jai_core-1.1.3.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jakarta-regexp-1.4.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jcommon-1.0.15.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"unoil-2.3.0.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"batik-anim-1.7.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"c3p0-0.9.5.1.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"spring-aop-3.2.4.RELEASE.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jackson-core-2.4.2.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"batik-dom-1.7.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"spring-security-core-3.1.0.RELEASE.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"InformaProxyAxis-0.5.5.0-SNAPSHOT.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"XXXX-0.5.5.0-SNAPSHOT.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"core-renderer-R8pre2.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"spring-expression-3.2.4.RELEASE.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jasypt-1.5.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"httpclient-4.2.6.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"spring-context-3.2.4.RELEASE.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"spring-security-crypto-3.1.0.RELEASE.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"opensaml-2.4.1.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"apache-mime4j-core-0.7.2.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"gson-1.4.jar\".beanmanager",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"MtgInsuranceProxy-0.5.5.0-SNAPSHOT.jar\".beanmanager",

                ....................................................................................................]   

       

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

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jjwt-0.4.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jjwt-0.4.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jaxb-api-2.2.3.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jaxb-api-2.2.3.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"batik-svg-dom-1.7.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"batik-svg-dom-1.7.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"servlet-api-2.5.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"servlet-api-2.5.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jfreechart-1.0.12.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jfreechart-1.0.12.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"AdvIdeCommon-7.1.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"AdvIdeCommon-7.1.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"base-5.11.0.0906051106.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"base-5.11.0.0906051106.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jaxb2-basics-runtime-0.6.5.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jaxb2-basics-runtime-0.6.5.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"rpbean-1.0.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"rpbean-1.0.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"itext-2.1.7.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"itext-2.1.7.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jline-0.9.94.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jline-0.9.94.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"SecurityManager-2.4.0.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"SecurityManager-2.4.0.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"INGMe-0.1.0.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"INGMe-0.1.0.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"XXXXFwk-0.5.5.0-SNAPSHOT.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"XXXXFwk-0.5.5.0-SNAPSHOT.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jackson-annotations-2.4.0.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jackson-annotations-2.4.0.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"SocketConnection-0.5.5.0-SNAPSHOT.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"SocketConnection-0.5.5.0-SNAPSHOT.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"concurrentlinkedhashmap-lru-1.2_jdk5.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"concurrentlinkedhashmap-lru-1.2_jdk5.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"spring-core-3.2.4.RELEASE.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"spring-core-3.2.4.RELEASE.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jodconverter-2.2.1.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jodconverter-2.2.1.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"commons-jxpath-1.3.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"commons-jxpath-1.3.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jdtcore-3.1.0.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jdtcore-3.1.0.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"activation-1.1.1.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"activation-1.1.1.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"batik-xml-1.7.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"batik-xml-1.7.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"xpp3_min-1.1.4c.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"xpp3_min-1.1.4c.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"antlr-2.7.6.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"antlr-2.7.6.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jta-1.0.1B.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jta-1.0.1B.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"barcode4j-2.0.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"barcode4j-2.0.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"icu4j-3.8.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"icu4j-3.8.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"AgencySignAxis-0.5.5.0-SNAPSHOT.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"AgencySignAxis-0.5.5.0-SNAPSHOT.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jasperreports-3.5.3.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jasperreports-3.5.3.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"batik-js-1.7.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"batik-js-1.7.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jaxb-xjc-4.3.0.GA_CP07_51.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"jaxb-xjc-4.3.0.GA_CP07_51.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"batik-parser-1.7.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"batik-parser-1.7.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"orika-core-1.4.2.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"orika-core-1.4.2.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"c3p0-0.9.5.1.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"c3p0-0.9.5.1.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"gcm-server-1.0.2.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"gcm-server-1.0.2.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"olap4j-0.9.7.145.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"olap4j-0.9.7.145.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"mybatis-spring-1.2.2.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"mybatis-spring-1.2.2.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"eigenbase-properties-1.1.0.10924.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"eigenbase-properties-1.1.0.10924.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"webdavlib-2.0.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"webdavlib-2.0.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"SecurityAdapter-0.5.5.0-SNAPSHOT.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"SecurityAdapter-0.5.5.0-SNAPSHOT.jar\".beanmanager]",

              "jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"AdvisorSvr-7.1.jar\".batch.artifact.factory is missing [jboss.deployment.subunit.\"XXXX-SNAPSHOT.ear\".\"AdvisorSvr-7.1

      ]

       

       

      And these all jars are in my application.xml file...which looks like

       

      <?xml version="1.0" encoding="UTF-8"?>

      <!DOCTYPE application PUBLIC

      "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"

      "http://java.sun.com/dtd/application_1_3.dtd">

      <application>

        <display-name>XXXXEAR</display-name>

        <module>

          <ejb>XXXXEjb--SNAPSHOT.jar</ejb>

        </module>

        <module>

          <ejb>XXXXEjbArc--SNAPSHOT.jar</ejb>

        </module>

        <module>

          <web>

            <web-uri>XXXXWeb--SNAPSHOT.war</web-uri>

            <context-root>/XXXXWeb</context-root>

          </web>

        </module>

        <module>

          <java>XXXXBsnObj--SNAPSHOT.jar</java>

        </module>

        <module>

          <java>XXXX--SNAPSHOT.jar</java>

        </module>

        <module>

          <java>activation-1.1.1.jar</java>

        </module>

        <module>

          <java>mail-1.4.jar</java>

        </module>

      ....all the other jars tat I m using....

       

      Please hep on this. I found few questions lying there in discussions but no they are not answered.