You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Patrick Moore (JIRA)" <ji...@apache.org> on 2008/07/11 22:10:33 UTC

[jira] Created: (HTTPCORE-166) IOReactor should save the reason for the shutdown.

IOReactor should save the reason for the shutdown.
--------------------------------------------------

                 Key: HTTPCORE-166
                 URL: https://issues.apache.org/jira/browse/HTTPCORE-166
             Project: HttpComponents HttpCore
          Issue Type: Improvement
          Components: HttpCore NIO
    Affects Versions: 4.0-beta2
            Reporter: Patrick Moore


an extension to HTTPCORE-165:

If an IOReactor shuts down because of an exception, the IOReactor should save the exception. 

If the IOReactor was shutdown explicitly, the IOReactor should create an exception that will save the stack trace of the call that caused the exception. 

In both cases, the timestamp of the shutdown should also be saved.

Highly useful information for diagnosing issues on production environments! This information could be made visible via JMX for example.

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


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


[jira] Updated: (HTTPCORE-166) IOReactor should save the reason for the shutdown.

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCORE-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski updated HTTPCORE-166:
---------------------------------------

    Attachment: ioreactor-eh.patch

Patrick,

Would this patch solve the problem for you? Please review and let me know what you think.

Oleg

> IOReactor should save the reason for the shutdown.
> --------------------------------------------------
>
>                 Key: HTTPCORE-166
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-166
>             Project: HttpComponents HttpCore
>          Issue Type: Improvement
>          Components: HttpCore NIO
>    Affects Versions: 4.0-beta2
>            Reporter: Patrick Moore
>             Fix For: 4.0-beta3
>
>         Attachments: ioreactor-eh.patch
>
>
> an extension to HTTPCORE-165:
> If an IOReactor shuts down because of an exception, the IOReactor should save the exception. 
> If the IOReactor was shutdown explicitly, the IOReactor should create an exception that will save the stack trace of the call that caused the exception. 
> In both cases, the timestamp of the shutdown should also be saved.
> Highly useful information for diagnosing issues on production environments! This information could be made visible via JMX for example.

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


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


[jira] Resolved: (HTTPCORE-166) IOReactor should save the reason for the shutdown.

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCORE-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCORE-166.
----------------------------------------

    Resolution: Fixed

Patrick,

I committed the patch and am going to close the issue. Please review the fix and if you find it unsatisfactory feel free to re-open issue.

Oleg

> IOReactor should save the reason for the shutdown.
> --------------------------------------------------
>
>                 Key: HTTPCORE-166
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-166
>             Project: HttpComponents HttpCore
>          Issue Type: Improvement
>          Components: HttpCore NIO
>    Affects Versions: 4.0-beta2
>            Reporter: Patrick Moore
>             Fix For: 4.0-beta3
>
>         Attachments: ioreactor-eh.patch
>
>
> an extension to HTTPCORE-165:
> If an IOReactor shuts down because of an exception, the IOReactor should save the exception. 
> If the IOReactor was shutdown explicitly, the IOReactor should create an exception that will save the stack trace of the call that caused the exception. 
> In both cases, the timestamp of the shutdown should also be saved.
> Highly useful information for diagnosing issues on production environments! This information could be made visible via JMX for example.

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


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


[jira] Updated: (HTTPCORE-166) IOReactor should save the reason for the shutdown.

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCORE-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski updated HTTPCORE-166:
---------------------------------------

    Fix Version/s: 4.0-beta3

> IOReactor should save the reason for the shutdown.
> --------------------------------------------------
>
>                 Key: HTTPCORE-166
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-166
>             Project: HttpComponents HttpCore
>          Issue Type: Improvement
>          Components: HttpCore NIO
>    Affects Versions: 4.0-beta2
>            Reporter: Patrick Moore
>             Fix For: 4.0-beta3
>
>
> an extension to HTTPCORE-165:
> If an IOReactor shuts down because of an exception, the IOReactor should save the exception. 
> If the IOReactor was shutdown explicitly, the IOReactor should create an exception that will save the stack trace of the call that caused the exception. 
> In both cases, the timestamp of the shutdown should also be saved.
> Highly useful information for diagnosing issues on production environments! This information could be made visible via JMX for example.

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


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