You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Chuck Williams (JIRA)" <ji...@apache.org> on 2006/11/06 01:02:16 UTC

[jira] Created: (AXIS2-1607) Http DefaultConnectionListener can vanish, leaving service unable to accept requests

Http DefaultConnectionListener can vanish, leaving service unable to accept requests
------------------------------------------------------------------------------------

                 Key: AXIS2-1607
                 URL: http://issues.apache.org/jira/browse/AXIS2-1607
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: transports
    Affects Versions: 1.1
         Environment: All
            Reporter: Chuck Williams
         Assigned To: Chuck Williams
             Fix For: 1.1


Http DefaultConnectionListener exits upon any error.  Worse, if the error is a SocketException that results in the socket being closed, the exit is silent without any log message (except at Debug level).  The consequence of this exit are that the http server can no longer accept connections, leaving the axis2 service cut off from any client requests, without any knowledge this has happened.

The built-in SimpleHTTPServer should be more robust than this, supporting a reasonable number of retries before giving up, always logging on termination, and supporting a configurable notification mechanism on exit.

Assigning to myself because I've already fixed this and stand ready to commit the fix, pending jibx.sourceforge.net combing back up so I can get the jibx 1.1.1 jars for a successful build with latest 1.1 branch.


-- 
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-1607) Http DefaultConnectionListener can vanish, leaving service unable to accept requests

Posted by "Chuck Williams (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1607?page=all ]

Chuck Williams resolved AXIS2-1607.
-----------------------------------

    Resolution: Fixed

Fixed in r471995.

By default, the connection listener thread uses DefaultConnectionListenerFailureHandler to re-establish the listen on an exception.  If this fails too many times the thread terminates, but provides a notification hook for the application to take other actions.  All exceptions and terminations are logged.  This is all easily configurable through HttpFactory.


> Http DefaultConnectionListener can vanish, leaving service unable to accept requests
> ------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1607
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1607
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.1
>         Environment: All
>            Reporter: Chuck Williams
>         Assigned To: Chuck Williams
>             Fix For: 1.1
>
>
> Http DefaultConnectionListener exits upon any error.  Worse, if the error is a SocketException that results in the socket being closed, the exit is silent without any log message (except at Debug level).  The consequence of this exit are that the http server can no longer accept connections, leaving the axis2 service cut off from any client requests, without any knowledge this has happened.
> The built-in SimpleHTTPServer should be more robust than this, supporting a reasonable number of retries before giving up, always logging on termination, and supporting a configurable notification mechanism on exit.
> Assigning to myself because I've already fixed this and stand ready to commit the fix, pending jibx.sourceforge.net combing back up so I can get the jibx 1.1.1 jars for a successful build with latest 1.1 branch.

-- 
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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org