madnaelo / jain-slee

Automatically exported from code.google.com/p/jain-slee
0 stars 0 forks source link

Child SBB entity persistent state not stored after SBBLO interface method invocation #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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
"""

Original issue reported on code.google.com by vil...@users.sourceforge.net on 3 Dec 2012 at 10:07

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by EMMart...@gmail.com on 28 Feb 2013 at 12:38

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 56945787b59f.

Original comment by EMMart...@gmail.com on 28 Feb 2013 at 12:40

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 9b74c9fb07e8.

Original comment by EMMart...@gmail.com on 28 Feb 2013 at 12:40

GoogleCodeExporter commented 9 years ago

Original comment by EMMart...@gmail.com on 11 Apr 2013 at 11:25

GoogleCodeExporter commented 9 years ago

Original comment by EMMart...@gmail.com on 11 Apr 2013 at 11:30

GoogleCodeExporter commented 9 years ago

Original comment by EMMart...@gmail.com on 11 Apr 2013 at 2:35

GoogleCodeExporter commented 9 years ago

Original comment by EMMart...@gmail.com on 11 Apr 2013 at 2:36