0 Replies Latest reply on Sep 29, 2006 4:38 AM by Breako Beats

    SeamListener problem

    Breako Beats Newbie

      Hi,
      I am using Tomcat, Embeddable EJB 3.0 container and Seam 1.0.1 GA.
      At start up, I get:

      ERROR 29-09 09:31:52,750 (Log4JLogger.java:error:119) -Exception sending contex
      t initialized event to listener instance of class org.jboss.seam.servlet.SeamLis
      tener
      java.lang.IncompatibleClassChangeError: Implementing class
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
      4)
      at org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
      ClassLoader.java:1650)
      at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
      der.java:856)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
      der.java:1305)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
      der.java:1187)
      at org.jboss.seam.deployment.Scanner.handleItem(Scanner.java:133)
      at org.jboss.seam.deployment.Scanner.handleArchive(Scanner.java:104)
      at org.jboss.seam.deployment.Scanner.getClasses(Scanner.java:84)
      at org.jboss.seam.init.Initialization.addComponents(Initialization.java:
      339)
      at org.jboss.seam.init.Initialization.init(Initialization.java:195)
      at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.j
      ava:32)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
      t.java:3692)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
      127)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
      .java:759)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
      9)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)

      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)

      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693
      )
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472
      )
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
      :310)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
      eSupport.java:119)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)

      at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)

      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442
      )
      at org.apache.catalina.core.StandardService.start(StandardService.java:4
      50)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:680
      )
      at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)


      My web.xml is the same in the booking example that comes with the seam examples.
      Any ideas greatly appreciated?

      Thanks