Geronimo
  1. Geronimo
  2. GERONIMO-6436

"entry is not checked out" for SFSB in Geronimo v2.2.1

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 2.2.1
    • Fix Version/s: None
    • Component/s: OpenEJB
    • Security Level: public (Regular issues)
    • Labels:
      None
    • Environment:

      Linux x64, Java 1.7 (Oracle and IcedTea)

    • Regression:
      Regression

      Description

      Hi, I'm encountering a problem that seems to be a possible regression of OPENEJB-1049, namely the "unexpected system exception occured while invoking the afterCompletion method on the SessionSynchronization object: entry is not checked-out" error. I understand that this was fixed in OpenEJB 3.1.2 but I'm running Geronimo 2.2.1 which I understand includes OpenEJB 3.1.3-SNAPSHOT.

      Just to be sure, I tried double-checking the openejb.version property but just got null. I also didn't see that property in the console page "Java System Info". Finally I looked in the Repository but there everything related to OpenEJB seems to be 3.1.4?

      After this happens it looks like the session bean is completely destroyed; further attempts to access end up with the following:

      2013-02-09 18:23:20,787 INFO [OpenEJB] Activation failed: file not found /srv/geronimo/var/temp/614551d8c0d7fa38=4614dba7=13cbbd2f95b=-7ec5
      2013-02-09 18:23:20,787 DEBUG [Transaction] TX BeanManaged: Resuming transaction org.apache.geronimo.transaction.manager.TransactionImpl@7769c6a5
      2013-02-09 18:23:20,787 DEBUG [OpenEJB] finished invoking method acceptInput with exception java.rmi.NoSuchObjectException: Not Found

      Full error log and stack trace follows:

      2013-02-09 18:23:20,785 DEBUG [OpenEJB] invoking method acceptInput on TestGameSession.jar/TestGameSession with identity 614551d8c0d7fa38:4614dba7:13cbbd2f95b:-7ec5
      2013-02-09 18:23:20,785 ERROR [OpenEJB] An unexpected system exception occured while invoking the afterCompletion method on the SessionSynchronization object
      java.lang.IllegalStateException: The entry 614551d8c0d7fa38:4614dba7:13cbbd2f95b:-7ec5 is not checked-out
      at org.apache.openejb.core.stateful.SimpleCache.checkIn(SimpleCache.java:219)
      at org.apache.openejb.core.stateful.StatefulContainer.releaseInstance(StatefulContainer.java:742)
      at org.apache.openejb.core.stateful.StatefulContainer.access$700(StatefulContainer.java:89)
      at org.apache.openejb.core.stateful.StatefulContainer$SessionSynchronizationCoordinator.afterCompletion(StatefulContainer.java:1024)
      at org.apache.openejb.core.transaction.JtaTransactionPolicy.fireNonTransactionalCompletion(JtaTransactionPolicy.java:174)
      at org.apache.openejb.core.transaction.TxBeanManaged.commit(TxBeanManaged.java:107)
      at org.apache.openejb.core.transaction.EjbTransactionUtil.afterInvoke(EjbTransactionUtil.java:74)
      at org.apache.openejb.core.stateful.StatefulContainer.afterInvoke(StatefulContainer.java:799)
      at org.apache.openejb.core.stateful.StatefulContainer.businessMethod(StatefulContainer.java:571)
      at org.apache.openejb.core.stateful.StatefulContainer.invoke(StatefulContainer.java:325)
      at org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:217)
      at org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:77)
      at org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:282)
      at $Proxy180.acceptInput(Unknown Source)
      at sun.reflect.GeneratedMethodAccessor362.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at com.gorbworld.dao.GameSessionManager$SessionHandler.invoke(GameSessionManager.java:60)
      at $Proxy181.acceptInput(Unknown Source)
      at com.gorbworld.server.jms.FrameEngine$FrameEngineWorker.acceptInput(FrameEngine.java:125)
      at com.gorbworld.server.jms.FrameEngine$FrameEngineWorker.accept(FrameEngine.java:100)
      at com.gorbworld.server.jms.FrameEngine.onMessage(FrameEngine.java:62)
      at sun.reflect.GeneratedMethodAccessor361.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:162)
      at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:144)
      at org.apache.openejb.monitoring.StatsInterceptor.record(StatsInterceptor.java:164)
      at org.apache.openejb.monitoring.StatsInterceptor.invoke(StatsInterceptor.java:92)
      at sun.reflect.GeneratedMethodAccessor346.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:162)
      at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:144)
      at org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:122)
      at org.apache.openejb.core.mdb.MdbContainer._invoke(MdbContainer.java:393)
      at org.apache.openejb.core.mdb.MdbContainer.invoke(MdbContainer.java:365)
      at org.apache.openejb.core.mdb.EndpointHandler.deliverMessage(EndpointHandler.java:229)
      at org.apache.openejb.core.mdb.EndpointHandler.invoke(EndpointHandler.java:170)
      at $Proxy139.onMessage(Unknown Source)
      at org.apache.activemq.ra.MessageEndpointProxy$MessageEndpointAlive.onMessage(MessageEndpointProxy.java:123)
      at org.apache.activemq.ra.MessageEndpointProxy.onMessage(MessageEndpointProxy.java:64)
      at org.apache.activemq.ActiveMQSession.run(ActiveMQSession.java:833)
      at org.apache.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:169)
      at org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:290)
      at org.apache.geronimo.connector.work.pool.NamedRunnable.run(NamedRunnable.java:32)
      at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:214)
      at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:344)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:722)

      Please let me know if I can be of any assistance tracking this down; happy to try different test cases if they are available.

      Thanks,
      Tim Howe
      Chief Technology Officer
      PJEntertainment, Inc.
      http://www.pj-entertainment.com/

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Tim Howe
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development