1 Reply Latest reply on Mar 17, 2003 2:24 PM by R.H. Stine, Jr.

    unknown managed connection??

    R.H. Stine, Jr. Newbie

      Help?

      I'm running JBoss 3.0.3, Sybase ASE 12.5.

      I have a session bean that evokes the delete method on a BMP entity bean. The bean uses a connection pool to open and close a new connection for each EJB callback.

      Debug writes show that the BMP completes successfully, but before control is returned to the session bean, JBoss throws the following exception:

      12:02:49,517 ERROR [LogInterceptor] TransactionRolledbackException, causedBy:
      java.lang.IllegalArgumentException: disconnect(ManagedConnection mc: null, Object c: org.jboss.resource.adapter.jdbc.local.LocalConnection@d7f3f4) called with unknown managed connection
      at org.jboss.resource.connectionmanager.BaseConnectionManager2.unregisterAssociation(BaseConnectionManager2.java:661)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2.disconnect(BaseConnectionManager2.java:619)
      at org.jboss.resource.connectionmanager.CachedConnectionManager.disconnect(CachedConnectionManager.java:371)
      at org.jboss.resource.connectionmanager.CachedConnectionManager.popMetaAwareObject(CachedConnectionManager.java:160)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:190)
      at org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:64)


      Any suggestions?

      Thanks.