Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 14 by [email protected]: Child SBB entity persistent state not stored after SBBLO interface method invocation
http://code.google.com/p/jain-slee/issues/detail?id=14

What steps will reproduce the problem?

1. Root SBB creates a child SBB in an event handler.
2. Root SBB invokes a method exposed via child's SBB Local Object interface.
3. Child saves state in SBB Object's member variables and expects to persist the updates in sbbStore.

What is the expected output? What do you see instead?

After completion of the invoked child LO method and event handler of the root SBB (thus event routing), both root SBB and child SBB should be stored and passivated.

Currently, child SBB is only passivated: SBB object assigned to child SBB is returned to the pool without synchronizing the object's state with the child SBB entity's persistent state. Any updates to assigned SBB object's member variables that would be persisted in sbbStore will be lost.


What version of the product are you using? On what operating system?

Mobicents JAIN SLEE version 2.7.0.FINAL. OS - GNU/Linux.

Please provide any additional information below.

Attachments:
- service project to triage the issue;
- log4j config enabling relevant SBB notification sources;
- log file fragment with the issue exposed;
- log file fragment demonstrating the fix;
- patch.

Testing:
build and deploy the attached service and watch the log. To re-run the test - trigger redeployment:
"""
$ touch $JBOSS_HOME/server/default/deploy/ChildSbbPersistenceLifecycleTest-DU-1.0.jar
"""

Attachments:
        csplt_project.tgz  4.3 KB
        jboss-log4j.xml  1.8 KB
        orig.log  3.8 KB
        fixed.log  4.0 KB
        patch.diff  763 bytes

Reply via email to