1 Reply Latest reply on Sep 30, 2009 12:19 PM by Julien Kronegg

    Deployment of Seam Project with Eclipse 3.5 and Jboss As 4.2.3 G.A.

    Sandy sandy Newbie
      I have a problem in deploying new Seam project using Eclipse and JBoss As 4.2.3. G.A.

      Hi ,
          I installed Eclipse 3.5 with JBoss Tools from Eclipse install new software option.I got an option of Web Seam project and created a demo project using jboss-seam-2.2.0.GA to provide run time support.I also installed JBoss AS 4.2.3 GA on my machine.I set all the variable in  environment variables (JAVA-HOME ,PATH ,ClashPath,ANT_HOME, JBOSS_HOME etc.).When I am trying to deploy the demo project ,I got exception . Exception description is shown below.
      Sep 30, 2009 2:19:43 PM org.jboss.seam.servlet.SeamListener contextInitialized
      INFO: Welcome to Seam 2.2.0.GA
      Sep 30, 2009 2:19:44 PM org.apache.catalina.core.StandardContext listenerStart
      SEVERE: Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
      java.lang.NoClassDefFoundError: javassist/bytecode/ClassFile
              at org.jboss.seam.deployment.AbstractScanner.<init>(AbstractScanner.java:140)
              at org.jboss.seam.deployment.URLScanner.<init>(URLScanner.java:35)
              at org.jboss.seam.deployment.DeploymentStrategy.initScanner(DeploymentStrategy.java:107)
              at org.jboss.seam.deployment.DeploymentStrategy.getScanner(DeploymentStrategy.java:59)
              at org.jboss.seam.deployment.StandardDeploymentStrategy.scan(StandardDeploymentStrategy.java:113)
              at org.jboss.seam.init.Initialization.create(Initialization.java:132)
              at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36)
              at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
              at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
              at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
              at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
              at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
              at org.apache.catalina.core.StandardService.start(StandardService.java:516)
              at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
              at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
              at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      Caused by: java.lang.ClassNotFoundException: javassist.bytecode.ClassFile
              at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
              at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
              at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
              ... 22 more
      Sep 30, 2009 2:19:44 PM org.apache.catalina.core.StandardContext start
      SEVERE: Error listenerStart
      Sep 30, 2009 2:19:44 PM org.apache.catalina.core.StandardContext start
      SEVERE: Context [/Test] startup failed due to previous errors
      Sep 30, 2009 2:19:44 PM org.apache.catalina.core.StandardContext listenerStop
      SEVERE: Exception sending context destroyed event to listener instance of class org.jboss.seam.servlet.SeamListener
      java.lang.NoClassDefFoundError: javassist/util/proxy/MethodHandler
              at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:243)
              at org.jboss.seam.contexts.Lifecycle.endApplication(Lifecycle.java:61)
              at org.jboss.seam.contexts.ServletLifecycle.endApplication(ServletLifecycle.java:149)
              at org.jboss.seam.servlet.SeamListener.contextDestroyed(SeamListener.java:41)
              at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3973)
              at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4577)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:4474)
              at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
              at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
              at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
              at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
              at org.apache.catalina.core.StandardService.start(StandardService.java:516)
              at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
              at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
              at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      Caused by: java.lang.ClassNotFoundException: javassist.util.proxy.MethodHandler
              at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
              at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
              at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
              ... 20 more
      Sep 30, 2009 2:19:44 PM org.apache.coyote.http11.Http11Protocol start
      INFO: Starting Coyote HTTP/1.1 on http-8080
      Sep 30, 2009 2:19:44 PM org.apache.jk.common.ChannelSocket init
      INFO: JK: ajp13 listening on /0.0.0.0:8009
      Sep 30, 2009 2:19:45 PM org.apache.jk.server.JkMain start
      INFO: Jk running ID=0 time=0/253  config=null
      Sep 30, 2009 2:19:45 PM org.apache.catalina.startup.Catalina start
      INFO: Server startup in 4097 ms


      My Jboss AS is 4.2.3 GA and Seam is of version 2.2.
      Please help me out .Can you provide me the error causes .

      Thanks in advance