0 Replies Latest reply on May 5, 2004 1:23 PM by rasoul

    [AbstractInstanceCache] Unable to passivate due to ctx lock

    rasoul

      Hi all,
      I am having a nasty repetitive error which I am unable to resolve. I have a gui client that depending on the user selection, makes different requests to a JBoss app server. The gui maintains a reference to a SessionFacade which is responsible for readying entity beans that represent database rows. However, the client can only make a single request. On subsequent requests the App server throws the following error:

      TransactionRolledbackLocalException in method: public abstract java.lang.String[] com.rhythm.scene.SceneLocalRemote.getSceneStagesParsed(), causedBy:
      javax.ejb.EJBException: sceneStagesInfo not bound
      at com.rhythm.scene.SceneBean.ejbLoad(SceneBean.java:131)
      at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.ejb.plugins.BMPPersistenceManager.loadEntity(BMPPersistenceManager.java:412)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.loadEntity(CachedConnectionInterceptor.java:352)
      at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:239)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
      at org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:114)
      at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:163)
      at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:89)
      at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:54)
      .
      .
      .
      .

      Also, the first successful request logs the subject message:

      [AbstractInstanceCache] Unable to passivate due to ctx lock

      Can any one help me understand what the subject message means and why would my app server behave this way.

      Thanks in advance
      -r