1 Reply Latest reply on Feb 19, 2007 3:13 AM by wolfc

    javax.ejb.EJBNoSuchObjectException: Could not find Stateful

    indyzone

      Hi,

      We are getting the following exception from time to time when accessing our stateful session beans in JBoss 4.0.4.GA. I've search in the JIRA database and found out that this was infact a bug reported under the id EJBTHREE-769. There it says that the bug is closed and done in the EJB 3.0 RC10 - FD version.

      Then I searched whether we can get the EJB 3.0 RC10 version from the JBoss site but, only the EJB3 RC9 Patch 1 is available for download as the latest version.

      So, my question is, where can I get the EJB3.0 RC10 version and hopefully get the fix for the bug we're experiencing. And if I can't get it, when will it be available for download and do I have any other alternatives to resolve my issue?

      Thanks,

      Indy.


      The exception we're getting is given below:

      10:00:06,074 ERROR [STDERR] javax.ejb.EJBNoSuchObjectException: Could not find Stateful bean: 3j001-f0ka1v-ey5p0qxz-1-ey6mftvu-9
      10:00:06,074 ERROR [STDERR] at org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:266)
      10:00:06,074 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:59)
      10:00:06,074 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      10:00:06,074 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
      10:00:06,074 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      10:00:06,074 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
      10:00:06,075 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      10:00:06,075 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
      10:00:06,075 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      10:00:06,075 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:308)
      10:00:06,075 ERROR [STDERR] at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:55)
      10:00:06,075 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      10:00:06,075 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulRemoteProxy.invoke(StatefulRemoteProxy.java:133)


        • 1. Re: javax.ejb.EJBNoSuchObjectException: Could not find State
          wolfc

          Note that EJBTHREE-769 only propagates a proper exception from an interceptor method.

          You still have a system exception popping up somewhere which causes the removal.

          We're close to finishing RC10, it'll be easier to debug your problem in that release. (I'll not give release dates. It's done, when it's done.)