1 Reply Latest reply on Mar 3, 2003 2:27 PM by Stephen Jacobs

    Another variation on the "removing bean lock and it has tx s

    Stephen Jacobs Newbie

      I have a CMP entity bean that answers all queries and is happy while it is in an active state. I can run a script to call thousands of instances successfully.

      If I wait long enough for the beans to passivate, the first time I try to access a bean it will throw the IllegalStateException with the "tx set!" verbiage.

      I have read a number of similar posts with this same error, but most of them pertain to situations where the bean will not ever answer queries correctly. In my case, the queries work fine until the bean passivates.

      I am using JBoss 3.0.4. Any help would be wonderful, because I am stuck!