0 Replies Latest reply on Sep 3, 2002 6:10 AM by Keith Putt

    ejbPassivate called before ejbLoad

    Keith Putt Newbie

      I have a BMP bean which I have restricted the bean pool to 100 instances.
      I then use a session bean to load data (which would be about 130 instances) from the beans.

      When the container gets to the point of having to passivate the existing instances to allow for new ones, I get the following lifecycle:

      ejbActivate -> ejbPassivate -> ejbLoad

      This causes problems as I need the EntityContext to get the PrimaryKey values.

      I am using Jboss-3.0.1 (CVSTag JBoss_3_0_1).

      (I also notice that setEntityContext is called twice).

      Keith