2 Replies Latest reply on Aug 25, 2009 2:11 PM by Pete Muir

    Use of NB in Tomcat (java.lang.AbstractMethodError)

    Alexander Bell Newbie

      Hi,


      I've got some problems with the NB from today.
      If I start my Tomcat I get the following exception:


      SCHWERWIEGEND: Exception sending context initialized event to listener instance of class org.jboss.webbeans.environment.servlet.Listener
      java.lang.AbstractMethodError: org.jboss.webbeans.bootstrap.WebBeansBootstrap.initialize()V
              at


      org.jboss.webbeans.environment.servlet.Listener.contextInitialized(Listener.java:97)
              at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
              at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
              at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
              at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
              at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627)
              at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
              at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
              at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
              at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
              at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
              at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
              at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
              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:578)
              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:585)
              at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
              at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)



      IMO the JAR-Files are not compatible


      Alex

        • 1. Re: Use of NB in Tomcat (java.lang.AbstractMethodError)
          Alexander Bell Newbie

          Exception:




          SCHWERWIEGEND: Exception sending context initialized event to listener instance of class org.jboss.webbeans.environment.servlet.Listener
          java.lang.AbstractMethodError: org.jboss.webbeans.bootstrap.WebBeansBootstrap.initialize()V
               at org.jboss.webbeans.environment.servlet.Listener.contextInitialized(Listener.java:97)
               at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
               at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
               at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
               at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
               at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
               at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627)
               at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
               at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
               at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
               at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
               at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
               at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
               at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
               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:578)
               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:585)
               at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
               at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)



          • 2. Re: Use of NB in Tomcat (java.lang.AbstractMethodError)
            Pete Muir Master

            The Servlet integration probably needs updating for the newer SPI. Please file an issue here - and attach a patch if you have time :-)