Hello,

I think there is a bug in Orion 1.1.37 where all the resources that are
used by a SFSB are not released at the end of a transaction.  Here's the
scenario.

A SFSB in its ejbCreate () performs a findByPrimaryKey on the home of a
CMP entity bean.  It then invokes a method on the entity bean and the
transaction completes.  The SFSB retains a reference to the entity bean
instance.  It appears that the entity bean is still locked by the SFSB.
A problem is encountered when another SFSB instance is created and it
tries to access the same entity primary key.

Am I correct in assuming that a SFSB may maintain references to other
entity beans?  And that this should not interfere with other SFSB
accessing the entity beans?  In my code, when I changed the SFSB to
SLSB, everything works fine.  Of course, I need to pass the entity
bean's primary key to all session bean methods.  Hence, I think that
this might be a bug with the SFSB.  Please let me know whether I'm doing
something wrong or incorrectly using SFSB.

Thanks,
Vidur


Reply via email to