2 Replies Latest reply on Aug 3, 2011 1:42 AM by Amar Dhole

    Jboss 7AS, ear deployment fails with  Circular export path in deployment

    Amar Dhole Newbie

      Hi All,

       

      i am trying to deploy on JBOSS AS7. ear is well works in JBOSS 5/6, same I have used it to deploy it. here i am clueless where the actual

      problem is. do i need to create a module for com.ibm.mq.jar? this is referenced in menifest file. and ear contains this jar.

       

       

       

       

       

      15:07:00,943 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC0000
      1: Failed to start service jboss.module.service."deployment.test.ear.com.ibm.mq.j
      ar".main: org.jboss.msc.service.StartException in service jboss.module.service."
      deployment.test.ear.com.ibm.mq.jar".main: Failed to load module: deployment.test.e
      ar.com.ibm.mq.jar:main
              at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadS
      ervice.java:67)
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont
      rollerImpl.java:1765)
              at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(Service
      ControllerImpl.java:2291)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
      utor.java:886) [:1.6.0_25]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:908) [:1.6.0_25]
              at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]
      Caused by: org.jboss.modules.ModuleLoadException: Circular export path in deploy
      ment.test.ear.com.ibm.mq.jar:main
              at org.jboss.modules.Module.linkExports(Module.java:850)
              at org.jboss.modules.Module.linkExports(Module.java:844)
              at org.jboss.modules.Module.linkExportsIfNeeded(Module.java:1146)
              at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:180)
              at org.jboss.modules.Module.linkExports(Module.java:921)
              at org.jboss.modules.Module.linkExports(Module.java:844)
              at org.jboss.modules.Module.linkExportsIfNeeded(Module.java:1146)
              at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:180)
              at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:172)
              at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadS
      ervice.java:63)
              ... 5 more

      15:07:01,551 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads -
      2) Deployment of "test.ear" was rolled back with failure message {"Failed servic
      es" => {"jboss.module.service.\"deployment.test.ear.com.ibm.mq.jar\".main" => "or
      g.jboss.msc.service.StartException in service jboss.module.service.\"deployment.
      test.ear.com.ibm.mq.jar\".main: Failed to load module: deployment.test.ear.com.ibm
      .mq.jar:main"}}

        • 1. Re: Jboss 7AS, ear deployment fails with  Circular export path in deployment
          jaikiran pai Master

          What does the META-INF/MANIFEST.MF contents in com.ibm.mq.jar look like?

          • 2. Re: Jboss 7AS, ear deployment fails with  Circular export path in deployment
            Amar Dhole Newbie

            following is the manifest file from test.war/

             

            Manifest-Version: 1.0

            Ant-Version: Apache Ant 1.8.2

            Created-By: 1.6.0_25-b06 (Sun Microsystems Inc.)

            Class-Path: jakarta-regexp-1.5.jar xml-apis.jar xercesImpl.jar xalan.j

            ar xmlc.jar jsse.jar bsh-core-2.0b4.jar bsf.jar log4j-1.2.14.jar prov

            iderutil.jar fscontext.jar connector.jar tibjms.jar ant.jar fop.jar a

            valon-framework-cvs-20020806.jar com.ibm.mq.jar com.ibm.mqjms.jar bat

            ik.jar antlr.jar ECMClasses.jar be-kernel.jar backport-util-concurren

            t.jar commons-logging-1.0.4.jar commons-discovery-0.2.jar jax-1_1-fr-

            qname-class.jar jsr173_1.0_api.jar lucene-core-2.4.1.jar lucene-highl

            ighter-2.4.1.jar qname.jar wsdl4j-1.6.2.jar configbeans.jar stickyCon

            figuration.jar coherence.jar tangosol.jar xbean.jar xbean_xpath.jar x

            mlpublic.jar jdom.jar annogen-0.1.0.jar axiom-api-1.2.8.jar axiom-imp

            l-1.2.8.jar axiom-dom-1.2.8.jar axis2-adb-1.5.1.jar axis2-codegen-1.5

            .1.jar axis2-kernel-1.5.1.jar axis2-transport-http-1.5.1.jar axis2-

            transport-local-1.5.1.jar axis2-transport-all-1.0.0.jar httpcore-4.0.

            jar backport-util-concurrent-2.1.jar commons-codec-1.3.jar commons-ht

            tpclient-3.1.jar commons-logging-1.0.4.jar dom4j-1.6.1.jar geronimo-s

            pec-activation-1.0.2-rc4.jar geronimo-spec-javamail-1.3.1-rc5.jar icu

            4j-2.6.1.jar jaxen-1.1-beta-8.jar neethi-2.0.4.jar stax-api-1.0.1.jar

            woodstox-core-asl-4.0.5.jar stax2-api-3.0.1.jar XmlSchema-1.4.2.jar

            commons-fileupload-1.1.1.jar XBeans-packaged.jar

            junit-3.8.1.jar aspectjrt-1.2.1.jar cactus-1.7.2.jar cargo-0.5.jar ja

            xen-1.1.1.jar FastInfoset.jar AdminService.jar woden-api-1.0M8.jar lz

            ma-4.63-jio-0.93.jar ContentService.jar EventMgtService.jar netrics.j

            ar DesignDeploy.jar je.jar as-common.jar as-admin.jar quartz-all-1.8.

            3.jar commons-digester-1.7.jar commons-beanutils-1.8.0.jar commons-co

            llections-3.0.jar slf4j-log4j12.jar DecisionTable.

            jar

             

            in test.ear/meta-info manifest dont contain any details it is as follows

            Manifest-Version: 1.0

            Ant-Version: Apache Ant 1.8.2

            Created-By: 1.6.0_25-b06 (Sun Microsystems Inc.)