Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
1.0
-
None
-
None
-
Weblogic 8.1.2, Solaris 8 (dont ask!)
Description
It appears that org.apache.axis2.transport.http.SOAPOverHTTPSender does not properly cleanup the http post connection after payload has been sent.
The symptoms of this problem show up in `netstat` as literally hundreds of connections in the "CLOSE_WAIT" state. On a busy server this can cause the application to report exceptions with the message "Too many open files."
I looked in the source code for axis2 1.0 and discovered that in SOAPOverHTTPSender.java the releaseConnection() is never called on the postMethod variable. This seems to be a likely candidate for the source of the issue.
See SOAPOverHTTPSender.java:97-118
Attachments
Attachments
Issue Links
- relates to
-
AXIS2-2593 Web Service request loop causes many TIME_WAIT Connections & "BindException: Address already in use: connect"
- Resolved
-
AXIS2-2931 CLONE -Web Service request loop causes many TIME_WAIT Connections & "BindException: Address already in use: connect"
- Resolved