1 Reply Latest reply on Sep 27, 2006 7:34 AM by Pete Muir

    Problem reading components

    Breako Beats Newbie

      Hi,
      I am using tomcat with the embeddable EJB container.
      At startup, after seam initialises it's own components and tries to initialise the application components, I get the following error:

      INFO 27-09 12:06:35,859 (Scanner.java:getClasses:76) -scanning: /D:/tomcat5/we
      bapps/refapp/WEB-INF/lib/refappsa.jar
      ERROR 27-09 12:06:36,015 (StandardContext.java:listenerStart:3696) -Exception s
      ending context initialized event to listener instance of class org.jboss.seam.se
      rvlet.SeamListener
      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:
      248)
      at org.jboss.seam.init.Initialization.init(Initialization.java:109)
      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.deployDirectory(HostConfig.jav
      a:910)
      at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
      ava:873)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474
      )
      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)
      27-Sep-2006 12:06:36 org.apache.catalina.core.StandardContext start
      SEVERE: Error listenerStart
      27-Sep-2006 12:06:36 org.apache.catalina.core.StandardContext start
      SEVERE: Context [/refapp] startup failed due to previous errors

      I am the SeamListener configured in my web.xml and the version of seam I am using is, Seam-Version: 1.0.0.CR3.

      any ideas appreciated?