2 Replies Latest reply on Sep 8, 2011 11:48 PM by Nitin Khekare

    Getting Error whie deploying jboss-seam-helloworld.ear (Seam Remoting example)

    Nitin Khekare Newbie

      Hi

       

      I am trying to deploy jboss-seam-helloworld.ear the seam remoting example on jboss-as-7.0.1.Final but getting error

       

      11:44:32,251 INFO  [javax.servlet.ServletContextListener] (MSC service thread 1-4) Welcome to Seam null

      11:44:32,282 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/seam-helloworld]] (MSC service thread 1-4) Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener: java.lang.NoClassDefFoundError: javassist/bytecode/ClassFi

      le

              at org.jboss.seam.deployment.AbstractScanner.<init>(AbstractScanner.java:140) [jboss-seam.jar:]

              at org.jboss.seam.deployment.URLScanner.<init>(URLScanner.java:35) [jboss-seam.jar:]

              at org.jboss.seam.deployment.DeploymentStrategy.initScanner(DeploymentStrategy.java:107) [jboss-seam.jar:]

              at org.jboss.seam.deployment.DeploymentStrategy.getScanner(DeploymentStrategy.java:59) [jboss-seam.jar:]

              at org.jboss.seam.deployment.StandardDeploymentStrategy.scan(StandardDeploymentStrategy.java:113) [jboss-seam.jar:]

              at org.jboss.seam.init.Initialization.create(Initialization.java:132) [jboss-seam.jar:]

              at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36) [jboss-seam.jar:]

              at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3368) [jbossweb-7.0.1.Final.jar:7.0.1.Final]

              at org.apache.catalina.core.StandardContext.start(StandardContext.java:3821) [jbossweb-7.0.1.Final.jar:7.0.1.Final]

              at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70) [jboss-as-web-7.0.1.Final.jar:7.0.1.Final]

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

              at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)

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

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

              at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]

       

      11:44:32,314 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-4) Initializing Mojarra (1.2_13-b01-FCS) for context '/seam-helloworld'

      11:44:32,361 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (MSC service thread 1-4) JSF1051: Service entry 'org.jboss.as.web.deployment.jsf.JsfInjectionProvider' does not extend DiscoverableInjectionProvider.  Entry will be ignored.

      11:44:32,376 INFO  [javax.enterprise.resource.webcontainer.jsf.application] (MSC service thread 1-4) JSF1048: PostConstruct/PreDestroy annotations present.  ManagedBeans methods marked with these annotations will have said annotations processed.

      11:44:32,407 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-4) Error listenerStart

      11:44:32,423 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-4) Context [/seam-helloworld] startup failed due to previous errors

      11:44:32,423 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/seam-helloworld]] (MSC service thread 1-4) Exception sending context destroyed event to listener instance of class org.jboss.seam.servlet.SeamListener: java.lang.NoClassDefFoundError: javassist/util/proxy/MethodH

      andler

              at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:243) [jboss-seam.jar:]

              at org.jboss.seam.contexts.Lifecycle.endApplication(Lifecycle.java:61) [jboss-seam.jar:]

              at org.jboss.seam.contexts.ServletLifecycle.endApplication(ServletLifecycle.java:149) [jboss-seam.jar:]

              at org.jboss.seam.servlet.SeamListener.contextDestroyed(SeamListener.java:41) [jboss-seam.jar:]

              at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3465) [jbossweb-7.0.1.Final.jar:7.0.1.Final]

              at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3970) [jbossweb-7.0.1.Final.jar:7.0.1.Final]

              at org.apache.catalina.core.StandardContext.start(StandardContext.java:3888) [jbossweb-7.0.1.Final.jar:7.0.1.Final]

              at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70) [jboss-as-web-7.0.1.Final.jar:7.0.1.Final]

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

              at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)

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

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

              at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]

      Caused by: java.lang.ClassNotFoundException: javassist.util.proxy.MethodHandler from [Module "deployment.jboss-seam-helloworld.ear.jboss-seam.jar:main" from Service Module Loader]

              at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)

              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)

              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)

              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)

              ... 13 more

       

      11:44:32,470 INFO  [org.jboss.web] (MSC service thread 1-4) registering web context: /seam-helloworld

      11:44:32,517 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Replaced deployment "jboss-seam-helloworld.ear" with deployment "jboss-seam-helloworld.ear"

       

       

      I have deployed jboss-seam-booking.ear example successfully, and executing the same steps for helloword example.

       

      Attaching the ear file.