[ http://issues.apache.org/jira/browse/AXIS-1995?page=all ]
Peter Kullmann updated AXIS-1995:
---------------------------------
Attachment: patch.txt
The patch to AxisHTTPSessionListener.java
> 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