You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Peter Easton (JIRA)" <ji...@apache.org> on 2010/08/26 17:25:53 UTC

[jira] Created: (CXF-2961) JAXRS Web Client pre-connect errors can be better propagated

JAXRS Web Client pre-connect errors can be better propagated
------------------------------------------------------------

                 Key: CXF-2961
                 URL: https://issues.apache.org/jira/browse/CXF-2961
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS
    Affects Versions: 2.2.10, 2.3
            Reporter: Peter Easton
            Priority: Minor
             Fix For: 2.3


HTTP client errors fall into 2 categories:

i. The connect succeeds, a  non-2xx HTTP response is returned by the service.
ii. The connect does not succeed because of local HTTP client runtime issues (bad hostname, port unavailable, unsupported method).
In the later error cases a WebApplication exceptions is returned BUT no root cause exception is available.

A suggested patch is included.


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


[jira] Updated: (CXF-2961) JAXRS Web Client pre-connect errors can be better propagated

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

Peter Easton updated CXF-2961:
------------------------------

    Attachment: patch.txt

> JAXRS Web Client pre-connect errors can be better propagated
> ------------------------------------------------------------
>
>                 Key: CXF-2961
>                 URL: https://issues.apache.org/jira/browse/CXF-2961
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.2.10, 2.3
>            Reporter: Peter Easton
>            Priority: Minor
>             Fix For: 2.3
>
>         Attachments: patch.txt
>
>
> HTTP client errors fall into 2 categories:
> i. The connect succeeds, a  non-2xx HTTP response is returned by the service.
> ii. The connect does not succeed because of local HTTP client runtime issues (bad hostname, port unavailable, unsupported method).
> In the later error cases a WebApplication exceptions is returned BUT no root cause exception is available.
> A suggested patch is included.

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


[jira] Updated: (CXF-2961) JAXRS Web Client pre-connect errors can be better propagated

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

Peter Easton updated CXF-2961:
------------------------------

    Attachment:     (was: patch.txt)

> JAXRS Web Client pre-connect errors can be better propagated
> ------------------------------------------------------------
>
>                 Key: CXF-2961
>                 URL: https://issues.apache.org/jira/browse/CXF-2961
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.2.10, 2.3
>            Reporter: Peter Easton
>            Priority: Minor
>             Fix For: 2.3
>
>
> HTTP client errors fall into 2 categories:
> i. The connect succeeds, a  non-2xx HTTP response is returned by the service.
> ii. The connect does not succeed because of local HTTP client runtime issues (bad hostname, port unavailable, unsupported method).
> In the later error cases a WebApplication exceptions is returned BUT no root cause exception is available.
> A suggested patch is included.

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


[jira] Commented: (CXF-2961) JAXRS Web Client pre-connect errors can be better propagated

Posted by "Peter Easton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903413#action_12903413 ] 

Peter Easton commented on CXF-2961:
-----------------------------------

Sorry about that will do on Monday when I return from vacation.

Peter

Sent from my iPhone

On 26 Aug 2010, at 17:48, "Sergey Beryozkin (JIRA)" <ji...@apache.org>  




> JAXRS Web Client pre-connect errors can be better propagated
> ------------------------------------------------------------
>
>                 Key: CXF-2961
>                 URL: https://issues.apache.org/jira/browse/CXF-2961
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.2.10, 2.3
>            Reporter: Peter Easton
>            Priority: Minor
>             Fix For: 2.3
>
>         Attachments: patch.txt
>
>
> HTTP client errors fall into 2 categories:
> i. The connect succeeds, a  non-2xx HTTP response is returned by the service.
> ii. The connect does not succeed because of local HTTP client runtime issues (bad hostname, port unavailable, unsupported method).
> In the later error cases a WebApplication exceptions is returned BUT no root cause exception is available.
> A suggested patch is included.

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


[jira] Updated: (CXF-2961) JAXRS Web Client pre-connect errors can be better propagated

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

Peter Easton updated CXF-2961:
------------------------------

    Attachment: patch.txt

Correct Patch file

> JAXRS Web Client pre-connect errors can be better propagated
> ------------------------------------------------------------
>
>                 Key: CXF-2961
>                 URL: https://issues.apache.org/jira/browse/CXF-2961
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.2.10, 2.3
>            Reporter: Peter Easton
>            Priority: Minor
>             Fix For: 2.3
>
>         Attachments: patch.txt
>
>
> HTTP client errors fall into 2 categories:
> i. The connect succeeds, a  non-2xx HTTP response is returned by the service.
> ii. The connect does not succeed because of local HTTP client runtime issues (bad hostname, port unavailable, unsupported method).
> In the later error cases a WebApplication exceptions is returned BUT no root cause exception is available.
> A suggested patch is included.

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


[jira] Resolved: (CXF-2961) JAXRS Web Client pre-connect errors can be better propagated

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

Sergey Beryozkin resolved CXF-2961.
-----------------------------------

         Assignee: Sergey Beryozkin
    Fix Version/s: 2.2.11
       Resolution: Fixed

> JAXRS Web Client pre-connect errors can be better propagated
> ------------------------------------------------------------
>
>                 Key: CXF-2961
>                 URL: https://issues.apache.org/jira/browse/CXF-2961
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.2.10, 2.3
>            Reporter: Peter Easton
>            Assignee: Sergey Beryozkin
>            Priority: Minor
>             Fix For: 2.3, 2.2.11
>
>         Attachments: patch.txt
>
>
> HTTP client errors fall into 2 categories:
> i. The connect succeeds, a  non-2xx HTTP response is returned by the service.
> ii. The connect does not succeed because of local HTTP client runtime issues (bad hostname, port unavailable, unsupported method).
> In the later error cases a WebApplication exceptions is returned BUT no root cause exception is available.
> A suggested patch is included.

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


[jira] Updated: (CXF-2961) JAXRS Web Client pre-connect errors can be better propagated

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

Peter Easton updated CXF-2961:
------------------------------

    Attachment:     (was: patch.txt)

> JAXRS Web Client pre-connect errors can be better propagated
> ------------------------------------------------------------
>
>                 Key: CXF-2961
>                 URL: https://issues.apache.org/jira/browse/CXF-2961
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.2.10, 2.3
>            Reporter: Peter Easton
>            Priority: Minor
>             Fix For: 2.3
>
>
> HTTP client errors fall into 2 categories:
> i. The connect succeeds, a  non-2xx HTTP response is returned by the service.
> ii. The connect does not succeed because of local HTTP client runtime issues (bad hostname, port unavailable, unsupported method).
> In the later error cases a WebApplication exceptions is returned BUT no root cause exception is available.
> A suggested patch is included.

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


[jira] Commented: (CXF-2961) JAXRS Web Client pre-connect errors can be better propagated

Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903092#action_12903092 ] 

Sergey Beryozkin commented on CXF-2961:
---------------------------------------

Hi Peter - can you please reattach the patch - this one relates to JMS-specific issue

thanks

> JAXRS Web Client pre-connect errors can be better propagated
> ------------------------------------------------------------
>
>                 Key: CXF-2961
>                 URL: https://issues.apache.org/jira/browse/CXF-2961
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.2.10, 2.3
>            Reporter: Peter Easton
>            Priority: Minor
>             Fix For: 2.3
>
>         Attachments: patch.txt
>
>
> HTTP client errors fall into 2 categories:
> i. The connect succeeds, a  non-2xx HTTP response is returned by the service.
> ii. The connect does not succeed because of local HTTP client runtime issues (bad hostname, port unavailable, unsupported method).
> In the later error cases a WebApplication exceptions is returned BUT no root cause exception is available.
> A suggested patch is included.

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


[jira] Updated: (CXF-2961) JAXRS Web Client pre-connect errors can be better propagated

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

Peter Easton updated CXF-2961:
------------------------------

    Attachment: patch.txt

> JAXRS Web Client pre-connect errors can be better propagated
> ------------------------------------------------------------
>
>                 Key: CXF-2961
>                 URL: https://issues.apache.org/jira/browse/CXF-2961
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.2.10, 2.3
>            Reporter: Peter Easton
>            Priority: Minor
>             Fix For: 2.3
>
>
> HTTP client errors fall into 2 categories:
> i. The connect succeeds, a  non-2xx HTTP response is returned by the service.
> ii. The connect does not succeed because of local HTTP client runtime issues (bad hostname, port unavailable, unsupported method).
> In the later error cases a WebApplication exceptions is returned BUT no root cause exception is available.
> A suggested patch is included.

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