7 Replies Latest reply on May 17, 2013 5:24 AM by Madhu Nagaram

    Error listenerStart while deployed war in jboss as7

    xiaojun zou Newbie

      Hi,I saw maney people asked this question with deployed war in jboss as 7, but I can't find who has solved this problem. today, I get it and conflused me long time.

      this is the error log:

       

      16:47:02,140 INFO  [org.jboss.as.osgi] (MSC service thread 1-4) JBAS011907: Register module: Module "deployment.DR-FaceWeb-1.0.0.war:main" from Service Module Loader

      16:47:05,890 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-3) Error listenerStart

      16:47:05,890 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-3) Context [/fw] startup failed due to previous errors

      16:47:05,890 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.web.deployment.default-host./fw: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./fw: JBAS018040: 启动上下文失败

                at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:95)

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_34]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_34]

                at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_34]

       

       

      16:47:06,140 INFO  [org.jboss.as.server] (HttpManagementService-threads - 4) JBAS015870: 部署 "DR-FaceWeb-1.0.0.war" 的部署被回滚并带有错误消息 {"JBAS014671: 失败的服务" => {"jboss.web.deployment.default-host./fw" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./fw: JBAS018040: 启动上下文失败"},"JBAS014771: 具有丢失/不可用依赖关系的服务" => ["jboss.deployment.unit.\"DR-FaceWeb-1.0.0.war\".jboss.security.jacc 丢失了[JBAS014861: <one or more transitive dependencies>]"]}

      16:47:06,156 INFO  [org.jboss.as.osgi] (MSC service thread 1-4) JBAS011908: Unregister module: Module "deployment.DR-FaceWeb-1.0.0.war:main" from Service Module Loader

      16:47:06,781 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment DR-FaceWeb-1.0.0.war in 635ms

        • 2. Re: Error listenerStart while deployed war in jboss as7
          xiaojun zou Newbie

          thank you! some useless jars has added in my project, but I don't know which, I had replaced pom.xml files and updated versions, now the war can deployed in jboss as7.

          you have remind me the questions where is, thanks.

          • 3. Re: Error listenerStart while deployed war in jboss as7
            Daniel Schröder Newbie

            How exactly did you fix it ?

            What useless jars did you delete ?

             

            I'm encountering the same problem, same error log..

             

             

             

            16:14:54,318 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-8) Error listenerStart

            16:14:54,318 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-8) Context [/openreports] startup failed due to previous errors

            16:14:54,319 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.web.deployment.default-host./openreports: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./openreports: JBAS018040: Starten von Kontext fehlgeschlagen

                at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:94)

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA-redhat-2.jar:1.0.2.GA-redhat-2]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA-redhat-2.jar:1.0.2.GA-redhat-2]

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_15]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_15]

                at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_15]

             

            Here's the WEB-INF/lib:

             

             

            activation-1.1.jar

            antlr-2.7.6rc1.jar

            aopalliance-1.0.jar

            asm-1.5.3.jar

            asm-attrs-1.5.3.jar

            avalon-framework-4.1.5.jar

            axis-1.4.jar

            axis-jaxrpc-1.4.jar

            axis-saaj-1.4.jar

            axis-wsdl4j-1.5.1.jar

            batik-1.5-fop-0.20-5.jar

            birt-2.3.2-chartengineapi.jar

            birt-2.3.2-com.ibm.icu_3.8.1.v20080530.jar

            birt-2.3.2-coreapi.jar

            birt-2.3.2-crosstabcoreapi.jar

            birt-2.3.2-dataadapterapi.jar

            birt-2.3.2-dataaggregationapi.jar

            birt-2.3.2-dataextraction.jar

            birt-2.3.2-dteapi.jar

            birt-2.3.2-engineapi.jar

            birt-2.3.2-flute.jar

            birt-2.3.2-js.jar

            birt-2.3.2-modelapi.jar

            birt-2.3.2-modelodaapi.jar

            birt-2.3.2-odadesignapi.jar

            birt-2.3.2-org.eclipse.emf.common_2.4.0.v200902171115.jar

            birt-2.3.2-org.eclipse.emf.ecore.xmi_2.4.1.v200902171115.jar

            birt-2.3.2-org.eclipse.emf.ecore_2.4.2.v200902171115.jar

            birt-2.3.2-scriptapi.jar

            bsf-2.3.0.jar

            bsh-1.3.0.jar

            c3p0-0.9.0.jar

            cglib-2.1.jar

            commons-beanutils-1.7.0.jar

            commons-cli-1.0.jar

            commons-codec-1.3.jar

            commons-collections-3.2.jar

            commons-dbcp-1.2.1.jar

            commons-digester-1.7.jar

            commons-discovery-0.2.jar

            commons-fileupload-1.2.jar

            commons-httpclient-3.0.jar

            commons-io-1.3.1.jar

            commons-javaflow-20060411.jar

            commons-jexl-1.1.jar

            commons-lang-2.1.jar

            commons-logging-1.0.4.jar

            commons-math-1.0.jar

            commons-pool-1.2.jar

            commons-vfs-1.0.jar

            concurrent-1.3.4.jar

            displaytag-1.2-patched-for-itext-2.1.0-mod-sources.jar

            displaytag-1.2-patched-for-itext-2.1.0.jar

            displaytag-export-poi-1.2.jar

            dom4j-1.4.jar

            ehcache-1.3.0.jar

            filename.txt

            fop-0.20.5.jar

            freemarker-2.3.8.jar

            groovy-all-1.5.5.jar

            hibernate-3.1.3.jar

            isorelax-20020414.jar

            iText-2.1.0.jar

            iText-rtf-2.1.0.jar

            jakarta-regexp-1.4.jar

            jasperreports-3.5.1-javaflow.jar

            jasperreports-3.5.1.jar

            jasperreports-query-1.1.0.jar

            javacup-0.10.jar

            jaxen-1.0-FCS.jar

            jcommon-1.0.15.jar

            jcommon-xml-1.0.5.jar

            jdbc-stdext-2.0.jar

            jdom-1.0.jar

            jdt-compiler-3.1.1.jar

            jfreechart-1.0.12.jar

            jfreereport-0.8.7-5.jar

            jpivot-1.8-eigenbase-properties.jar

            jpivot-1.8-eigenbase-resgen.jar

            jpivot-1.8-tbutils-wcf.jar

            jpivot-1.8-wcf.jar

            jpivot-1.8.jar

            jpviot-1.8-eigenbase-xom.jar

            jstl-1.1.2.jar

            jta-1.0.1B.jar

            junit-3.8.1.jar

            jxl-2.6.jar

            jxls-core-0.9.8.jar

            LegacyReportDesignerFunctions-1.0.jar

            libfonts-0.2.1.jar

            libloader-0.1.5.jar

            log4j-1.2.15.jar

            mail-1.4.jar

            mondrian-3.0.jar

            msv-20020414.jar

            myfaces-jsf-api-1.0.8-beta.jar

            odmg-3.0.jar

            ognl-2.6.11.jar

            openreports-3.2.0.jar

            oscore-2.2.4.jar

            png-encoder-1.5.jar

            poi-3.2-FINAL-20081019.jar

            quartz-all-1.6.0.jar

            relaxngDatatype-20020414.jar

            rhino-1.7R1.jar

            sac-1.3.jar

            saxpath-1.0-FCS.jar

            slf4j-log4j12-1.0.jar

            spring-2.0.2.jar

            spring-ldap-1.3.0.RELEASE-all.jar

            standard-1.1.2.jar

            stax-api-1.0.1.jar

            struts2-core-2.0.9.jar

            struts2-spring-plugin-2.0.6.jar

            velocity-1.4.jar

            velocity-dep-1.4.jar

            velocity-tools-1.1.jar

            wcf-1.8.0-070305.jar

            wsdl4j-1.5.2.jar

            wstx-asl-2.9.3.jar

            xalan-2.6.0.jar

            xbean-spring-2.8.jar

            xercesImpl-2.0.2.jar

            xfire-all-1.2.1.jar

            xml-apis-2.0.2.jar

            xmlpull-1.1.3.4.O_min.jar

            xstream-1.2.jar

            xwork-2.0.4.jar

            • 4. Re: Error listenerStart while deployed war in jboss as7
              Madhu Nagaram Newbie

              Hi

              I didn't see what is the exact solution for above issue but I am also facing same error on Jboss 6 EAP server .

               

              15:52:12,136 INFO  [org.jboss.as.osgi] (MSC service thread 1-3) JBAS011907: Register module: Module "deploymen
              t.ppts-lan.war:main" from Service Module Loader
              15:52:13,855 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Error listenerStart
              15:52:13,855 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-2) Context [/ppts-lan] sta
              rtup failed due to previous errors
              15:52:13,855 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jb
              oss.web.deployment.default-host./ppts-lan: org.jboss.msc.service.StartException in service jboss.web.deploymen
              t.default-host./ppts-lan: JBAS018040: Failed to start context
                      at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:95)
                      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
              [jboss-msc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]
                      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-m
              sc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]
                      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_2
              0]
                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_20]
                      at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_20]

              Please suggest a solution..

               

               

              • 5. Re: Error listenerStart while deployed war in jboss as7
                Stephen Coy Master

                Start a new thread and list the jars in your application

                • 6. Re: Error listenerStart while deployed war in jboss as7
                  Madhu Nagaram Newbie

                  The above error is occuring when I give this spring listener lentery in my Web.xml

                   

                  <listener>
                    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
                  </listener

                   

                  • 7. Re: Error listenerStart while deployed war in jboss as7
                    Madhu Nagaram Newbie

                    Hi Stephen

                    I have started new thread. Could you please see at below link and suggest if any solution

                     

                    Error listenerStart -org.apache.catalina.core.StandardContext while deployed war in jboss as7

                     

                    Thanks