You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Gyorgy Orban (JIRA)" <ji...@apache.org> on 2009/03/11 17:10:50 UTC

[jira] Created: (CXF-2104) Caller application hangs in case it uses the polling (Response) method with JAX-WS async mapping and an http error occurs during sending. In case of callback style (AsyncHandler), the client application has no way of getting the exception.

Caller application hangs in case it uses the polling (Response) method with JAX-WS async mapping and an http error occurs during sending. In case of callback style (AsyncHandler), the client application has no way of getting the exception.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: CXF-2104
                 URL: https://issues.apache.org/jira/browse/CXF-2104
             Project: CXF
          Issue Type: Bug
          Components: JAX-WS Runtime
    Affects Versions: 2.1.4, 2.2, 2.1.5
         Environment: sun jdk 1.5.x, 1.6.x
            Reporter: Gyorgy Orban
         Attachments: ClientOutFaultObserver.patch, JaxWsClientProxy.patch

This happens if, for example, a http 404 occurs at sending. If the caller app wants to retrive the response using Response<ResponseBean>.get(), it hangs forever. If it implements the AsynHandler<ResponseBean> method, handleResponse never gets called, which means that the app does not get notified of the exception. The attached patches are against
http://fisheye6.atlassian.com/browse/~raw,r=651669/cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/ClientOutFaultObserver.java
and
http://fisheye6.atlassian.com/browse/~raw,r=743441/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java

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


[jira] Resolved: (CXF-2104) Caller application hangs in case it uses the polling (Response) method with JAX-WS async mapping and an http error occurs during sending. In case of callback style (AsyncHandler), the client application has no way of getting the exception.

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

Daniel Kulp resolved CXF-2104.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.5
                   2.0.11

> Caller application hangs in case it uses the polling (Response) method with JAX-WS async mapping and an http error occurs during sending. In case of callback style (AsyncHandler), the client application has no way of getting the exception.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-2104
>                 URL: https://issues.apache.org/jira/browse/CXF-2104
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.1.4, 2.2, 2.1.5
>         Environment: sun jdk 1.5.x, 1.6.x
>            Reporter: Gyorgy Orban
>            Assignee: Daniel Kulp
>             Fix For: 2.0.11, 2.1.5
>
>         Attachments: ClientOutFaultObserver.patch, JaxWsClientProxy.patch
>
>
> This happens if, for example, an http 404 occurs at sending. If the caller app wants to retrieve the response using Response<ResponseBean>.get(), it hangs forever. If it implements the AsynHandler<ResponseBean> method, handleResponse never gets called, which means that the app does not get notified of the exception. The attached patches are against
> http://fisheye6.atlassian.com/browse/~raw,r=651669/cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/ClientOutFaultObserver.java
> and
> http://fisheye6.atlassian.com/browse/~raw,r=743441/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java

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


[jira] Updated: (CXF-2104) Caller application hangs in case it uses the polling (Response) method with JAX-WS async mapping and an http error occurs during sending. In case of callback style (AsyncHandler), the client application has no way of getting the exception.

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

Gyorgy Orban updated CXF-2104:
------------------------------

    Description: 
This happens if, for example, an http 404 occurs at sending. If the caller app wants to retrieve the response using Response<ResponseBean>.get(), it hangs forever. If it implements the AsynHandler<ResponseBean> method, handleResponse never gets called, which means that the app does not get notified of the exception. The attached patches are against
http://fisheye6.atlassian.com/browse/~raw,r=651669/cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/ClientOutFaultObserver.java
and
http://fisheye6.atlassian.com/browse/~raw,r=743441/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java

  was:
This happens if, for example, a http 404 occurs at sending. If the caller app wants to retrive the response using Response<ResponseBean>.get(), it hangs forever. If it implements the AsynHandler<ResponseBean> method, handleResponse never gets called, which means that the app does not get notified of the exception. The attached patches are against
http://fisheye6.atlassian.com/browse/~raw,r=651669/cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/ClientOutFaultObserver.java
and
http://fisheye6.atlassian.com/browse/~raw,r=743441/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java


> Caller application hangs in case it uses the polling (Response) method with JAX-WS async mapping and an http error occurs during sending. In case of callback style (AsyncHandler), the client application has no way of getting the exception.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-2104
>                 URL: https://issues.apache.org/jira/browse/CXF-2104
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.1.4, 2.2, 2.1.5
>         Environment: sun jdk 1.5.x, 1.6.x
>            Reporter: Gyorgy Orban
>         Attachments: ClientOutFaultObserver.patch, JaxWsClientProxy.patch
>
>
> This happens if, for example, an http 404 occurs at sending. If the caller app wants to retrieve the response using Response<ResponseBean>.get(), it hangs forever. If it implements the AsynHandler<ResponseBean> method, handleResponse never gets called, which means that the app does not get notified of the exception. The attached patches are against
> http://fisheye6.atlassian.com/browse/~raw,r=651669/cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/ClientOutFaultObserver.java
> and
> http://fisheye6.atlassian.com/browse/~raw,r=743441/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java

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


[jira] Updated: (CXF-2104) Caller application hangs in case it uses the polling (Response) method with JAX-WS async mapping and an http error occurs during sending. In case of callback style (AsyncHandler), the client application has no way of getting the exception.

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

Gyorgy Orban updated CXF-2104:
------------------------------

    Attachment: ClientOutFaultObserver.patch
                JaxWsClientProxy.patch

> Caller application hangs in case it uses the polling (Response) method with JAX-WS async mapping and an http error occurs during sending. In case of callback style (AsyncHandler), the client application has no way of getting the exception.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-2104
>                 URL: https://issues.apache.org/jira/browse/CXF-2104
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.1.4, 2.2, 2.1.5
>         Environment: sun jdk 1.5.x, 1.6.x
>            Reporter: Gyorgy Orban
>         Attachments: ClientOutFaultObserver.patch, JaxWsClientProxy.patch
>
>
> This happens if, for example, a http 404 occurs at sending. If the caller app wants to retrive the response using Response<ResponseBean>.get(), it hangs forever. If it implements the AsynHandler<ResponseBean> method, handleResponse never gets called, which means that the app does not get notified of the exception. The attached patches are against
> http://fisheye6.atlassian.com/browse/~raw,r=651669/cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/ClientOutFaultObserver.java
> and
> http://fisheye6.atlassian.com/browse/~raw,r=743441/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java

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


[jira] Assigned: (CXF-2104) Caller application hangs in case it uses the polling (Response) method with JAX-WS async mapping and an http error occurs during sending. In case of callback style (AsyncHandler), the client application has no way of getting the exception.

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

Daniel Kulp reassigned CXF-2104:
--------------------------------

    Assignee: Daniel Kulp

> Caller application hangs in case it uses the polling (Response) method with JAX-WS async mapping and an http error occurs during sending. In case of callback style (AsyncHandler), the client application has no way of getting the exception.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-2104
>                 URL: https://issues.apache.org/jira/browse/CXF-2104
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.1.4, 2.2, 2.1.5
>         Environment: sun jdk 1.5.x, 1.6.x
>            Reporter: Gyorgy Orban
>            Assignee: Daniel Kulp
>         Attachments: ClientOutFaultObserver.patch, JaxWsClientProxy.patch
>
>
> This happens if, for example, an http 404 occurs at sending. If the caller app wants to retrieve the response using Response<ResponseBean>.get(), it hangs forever. If it implements the AsynHandler<ResponseBean> method, handleResponse never gets called, which means that the app does not get notified of the exception. The attached patches are against
> http://fisheye6.atlassian.com/browse/~raw,r=651669/cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/ClientOutFaultObserver.java
> and
> http://fisheye6.atlassian.com/browse/~raw,r=743441/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JaxWsClientProxy.java

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