I'm running into a problem since upgrading from JBoss 3.2.1 to 3.2.3 with warnings: 
Unable to passivate due to ctx lock.  I've seen a lot of other people with questions 
about this, but haven't been able to find much in the way of answers, yet.

I have a stateful bean which acts as a page iterator for entity beans.  The client 
creates the stateful bean which calls methods on a stateless bean which in turn uses a 
finder method to retrieve a collection of entity beans.  

The stateless bean then returns to the stateful bean a collection of data objects 
which the stateful bean holds onto.

The client then invokes methods in the stateful bean to navigate through the 
collection of data objects.

If the passivation time expires for the stateful bean, I can see JBoss trying to 
passivate the stateful bean, but fails: Unable to passivate due to ctx lock and 
references the stateful bean (id=xxxx).

If my stateful bean is holding data objects copied from entity beans by the stateless 
bean (session facade for the entites) why is the stateful failing to passivate?  
Shouldn't the entity beans retrieved by the stateless bean be released when the 
stateless bean invocation completes?

Any information would be greatly appreciated.  Thanks.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830561#3830561

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830561


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to