Bug 1427 - preDestroy can only be called once if container is not restart
: preDestroy can only be called once if container is not restart
Status: RESOLVED FIXED
: Java WS Core
globus_ogsi_core
: 3.0.2
: PC Linux
: P2 normal
: ---
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2003-11-27 18:10 by
Modified: 2004-05-28 15:48 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2003-11-27 18:10:51
in the method "preDestroy", if we throw a exception, then this method will 
only be called at the first time if the client call xxx.destroy(). If we do 
not restart the container, then the later client call xxx.destroy(), the 
service side "preDestroy" will not be invoked. In the above description, "xxx" 
means any service.
------- Comment #1 From 2003-12-18 23:39:21 -------
I modified the code so that the service is considered destroyed only if 
preDestroy was called successfully on all operation providers and the destroy 
listener was also invoked successfully. The fix was committed to trunk.