1 Reply Latest reply on Sep 24, 2013 3:11 AM by jaikiran pai

    The app  can not startup in JBoss Enterprise Application Platform  6.1.0.GA

    Sam 顾 Newbie

                     My app was worked in jboss 7.1.1 for 1 year,it's not any problem.But, now i want to upgrade the JBOSS to new version(red hat jboss eap 6.1.0),

      i met some questions? my app cannot startup in new version jboss.the error log is blow:

      09:02:29,634 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/myapp]] (ServerService Thread Pool -- 105) JBWEB000285: Error configuring application listener of class com.sun.faces.application.WebappLifecycleListener: java.lang.ClassCastException: com.sun.faces.application.WebappLifecycleListener cannot be cast to java.util.EventListener

        at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3294) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

        at org.apache.catalina.core.StandardContext.start(StandardContext.java:3777) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]

        at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

        at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

        at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_15]

        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_15]

        at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_15]

        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]

        at org.jboss.threads.JBossThread.run(JBossThread.java:122)

       

       

      09:02:29,665 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/myapp]] (ServerService Thread Pool -- 105) JBWEB000286: Skipped installing application listeners due to previous error(s)

      09:02:29,666 ERROR [org.apache.catalina.core] (ServerService Thread Pool -- 105) JBWEB001103: Error detected during context /myapp start, will stop it

      09:02:29,687 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 105) MSC000001: Failed to start service jboss.web.deployment.default-host./myapp: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./myapp: org.jboss.msc.service.StartException in anonymous service: JBAS018040: 启动上下文失败

        at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_15]

        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_15]

        at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_15]

        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]

        at org.jboss.threads.JBossThread.run(JBossThread.java:122)

      Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS018040: 启动上下文失败

        at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:161)

        at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60)

        at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93)

        ... 7 more