[ 
https://issues.apache.org/jira/browse/AXIS2-935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741314#action_12741314
 ] 

Haroon commented on AXIS2-935:
------------------------------

We are facing the same issue with Axis2-1.2 version when we use Axis2 as our 
Webservices client to make WS calls.

Exception stack trace is : org.apache.axis2.AxisFault: Too many open files
Caused by: org.apache.axis2.AxisFault: Too many open files
Caused by: java.net.SocketException: Too many open files

I saw this post on AXIS2-2931 on the patch for this fix.  And it is mentioned 
that this patch can be seamlessly applied in axis2-1.3 and 1.4

<https://issues.apache.org/jira/browse/AXIS2-2931?focusedCommentId=12676837&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12676837>

However, since we are on Axis2-1.2 version, could you please let us know the 
approach for fixing this issue, with minimum changes to the list of axis2 jars?

I'm doubtful, if I take the fix from 
<http://www.intalio.org/public/maven2/org/apache/axis2/axis2-kernel/1.3i3/> and 
replace axis2-kernel-1.2.jar with axis2-kernel-1.3i3.jar, what other dependent 
jars I might need to upgrade?

Any sort of help/guidelines on applying the proper fix to axis2-1.2 version is 
appreciated.






> Connections are not properly released causing them to stick in the 
> "CLOSE_WAIT" state and cause "Too many files open"
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-935
>                 URL: https://issues.apache.org/jira/browse/AXIS2-935
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.0
>         Environment: Weblogic 8.1.2, Solaris 8 (dont ask!)
>            Reporter: Jeff Peterson
>            Assignee: Deepal Jayasinghe
>            Priority: Critical
>         Attachments: AXIS2-935.patch
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to