Issue Details (XML | Word | Printable)

Key: OPENEJB-561
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: David Jencks
Reporter: David Jencks
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenEJB

Stateless and Stateful pools on a per ejb basis

Created: 16/Apr/07 11:25 PM   Updated: 27/Sep/07 03:02 AM
Return to search
Component/s: container system
Affects Version/s: 3.0-beta-1
Fix Version/s: 3.0-beta-1

Time Tracking:
Not Specified

Resolution Date: 27/Sep/07 03:02 AM


 Description  « Hide
the stateless and stateful instance pools are global and aren't cleaned up when an ejb is undeployed. Instead the pool should go in the containerData of the CoreDeploymentInfo.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #529649 Tue Apr 17 15:41:01 UTC 2007 djencks OPENEJB-561 clean up pools on undeployment. still need to ejb-remove stateless beans.
Files Changed
MODIFY /incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/stateless/StatelessInstanceManager.java
MODIFY /incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/stateful/SessionSynchronizationCoordinator.java
MODIFY /incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/stateful/StatefulContainer.java
MODIFY /incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/UndeployException.java
MODIFY /incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/stateless/StatelessContainer.java
MODIFY /incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/stateful/StatefulInstanceManager.java
MODIFY /incubator/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/core/stateful/StatefulBeanManagedTxPolicy.java

David Jencks added a comment - 17/Apr/07 03:42 PM
Fixed in rev 529649 except that at least for stateless beans we aren't calling ejbRemove (or the 3.0 equivalent) when undeploy happens. I'm not sure if this is required... if someone knows its not please close, or if someone knows how to implement it please do so.

David Blevins made changes - 26/Sep/07 11:49 PM
Field Original Value New Value
Fix Version/s 3.0-beta-1 [ 12312075 ]
Fix Version/s 3.0.x [ 12312806 ]
Affects Version/s 3.0-beta-1 [ 12312075 ]
Affects Version/s 3.0.x [ 12312806 ]
David Blevins made changes - 27/Sep/07 03:01 AM
Fix Version/s 3.0-beta-1 [ 12312075 ]
Fix Version/s 3.0.x [ 12312806 ]
Summary stateless and stateful pools need to be per ejb, not global Stateless and Stateful pools on a per ejb basis
Affects Version/s 3.0.x [ 12312806 ]
Issue Type Bug [ 1 ] Improvement [ 4 ]
Affects Version/s 3.0-beta-1 [ 12312075 ]
David Blevins made changes - 27/Sep/07 03:02 AM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Closed [ 6 ]