axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Kullmann (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Commented: (AXIS-1995) ServiceLifecycle.destroy() never called
Date Fri, 13 May 2005 13:26:12 GMT
     [ http://issues.apache.org/jira/browse/AXIS-1995?page=comments#action_65284 ]
     
Peter Kullmann commented on AXIS-1995:
--------------------------------------

This is related to http://issues.apache.org/jira/browse/AXIS-274 (which was bugzilla 11815)

> ServiceLifecycle.destroy() never called
> ---------------------------------------
>
>          Key: AXIS-1995
>          URL: http://issues.apache.org/jira/browse/AXIS-1995
>      Project: Axis
>         Type: Bug
>   Components: Basic Architecture
>     Versions: 1.2
>  Environment: Tomcat 5.5.9 under SUN JRE 1.5.0_02 on Windows XP
>     Reporter: Peter Kullmann
>  Attachments: patch.txt
>
> A deployed service endpoint with session scope that implements javax.xml.rpc.server.ServiceLifecycle
should receive a call to destroy() when the session times out. See bug 11815 for details.

> Axis sets up a http session handler org.apache.axis.transport.http.AxisHTTPSessionListener
that listens to sessionDestroyed events and tries to fire destroy() in all ServiceLifecycle
events in the session. There is a bug in the implementation with the effect that destroy()
is never called. I'm attaching a patch that fixes it.
> As a temporary work around I'm using my own http session listener to destroy my objects.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message