[jira] Created: (CXF-2466) CXF WS-RM impl displays exceptions

View: New views
4 Messages — Rating Filter:   Alert me  

[jira] Created: (CXF-2466) CXF WS-RM impl displays exceptions

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

CXF WS-RM impl displays exceptions
----------------------------------

                 Key: CXF-2466
                 URL: https://issues.apache.org/jira/browse/CXF-2466
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.2.3
         Environment: Fedora 11, Java 1.6
            Reporter: Richard Opalka


CXF WS-RM impl doesn't detect anonymous addressing URIs and tries to create connection with this fake URI on server side.
This is the stack trace:
---
/SEVERE [RetransmissionQueueImpl] WS-RM retransmission failed.
java.net.HttpRetryException: cannot retry due to server authentication,
in streaming mode
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1111)

at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2046)

at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2022)

at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1947)

at
org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl.resend(RetransmissionQueueImpl.java:350)

at
org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl.serverResend(RetransmissionQueueImpl.java:303)

at
org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl.access$500(RetransmissionQueueImpl.java:71)

at
org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$3.resend(RetransmissionQueueImpl.java:546)

at
org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$ResendCandidate.run(RetransmissionQueueImpl.java:417)

at
org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)

at
org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$ResendCandidate.initiate(RetransmissionQueueImpl.java:406)

at
org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$ResendCandidate$1ResendTask.run(RetransmissionQueueImpl.java:500)

at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
---

The workaround was defined here: http://www.nabble.com/Reliable-messaging-resending-causing-a-stack-trace-td22601956.html
It is to make CXF WS-RM client addressable.

The correct fix should be to detect anonymous addressing URIs and don't try to create connection with it.
Also warning in server log could be created about fact WS-RM client is addressable and thus WS-RM resending  won't work.

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


[jira] Commented: (CXF-2466) CXF WS-RM impl displays exceptions

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/jira/browse/CXF-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765022#action_12765022 ]

Richard Opalka commented on CXF-2466:
-------------------------------------

After implementing workaround (i.e. making WS-RM client addressable):

---
  <http:conduit name="{http://cxf.redhat.com}BackendCxfTestPort.http-conduit">
    <http:client DecoupledEndpoint="http://localhost:9990/decoupled_endpoint"/>
  </http:conduit>
---

We're getting another exception. Server WS-RM impl. tries to create connection
with not existing addressable client. But instead of eating "Connection refused" exception
it is displayed on server console :(

Here's the stack trace:
---
11:37:46,179 SEVERE [RetransmissionQueueImpl] WS-RM retransmission failed.
java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:519)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:158)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
        at sun.net.www.http.HttpClient.New(HttpClient.java:306)
        at sun.net.www.http.HttpClient.New(HttpClient.java:323)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:852)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:793)
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:718)
        at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:896)
        at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleHeadersTrustCaching(HTTPConduit.java:1916)
        at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirstWrite(HTTPConduit.java:1871)
        at org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:42)
        at org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresholdOutputStream.java:69)
        at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1934)
        at org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl.resend(RetransmissionQueueImpl.java:350)
        at org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl.serverResend(RetransmissionQueueImpl.java:303)
        at org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl.access$500(RetransmissionQueueImpl.java:71)
        at org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$3.resend(RetransmissionQueueImpl.java:546)
        at org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$ResendCandidate.run(RetransmissionQueueImpl.java:417)
        at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
        at org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$ResendCandidate.initiate(RetransmissionQueueImpl.java:406)
        at org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$ResendCandidate$1ResendTask.run(RetransmissionQueueImpl.java:500)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)

---

> CXF WS-RM impl displays exceptions
> ----------------------------------
>
>                 Key: CXF-2466
>                 URL: https://issues.apache.org/jira/browse/CXF-2466
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.3
>         Environment: Fedora 11, Java 1.6
>            Reporter: Richard Opalka
>
> CXF WS-RM impl doesn't detect anonymous addressing URIs and tries to create connection with this fake URI on server side.
> This is the stack trace:
> ---
> /SEVERE [RetransmissionQueueImpl] WS-RM retransmission failed.
> java.net.HttpRetryException: cannot retry due to server authentication,
> in streaming mode
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1111)
> at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
> at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2046)
> at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2022)
> at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1947)
> at
> org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl.resend(RetransmissionQueueImpl.java:350)
> at
> org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl.serverResend(RetransmissionQueueImpl.java:303)
> at
> org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl.access$500(RetransmissionQueueImpl.java:71)
> at
> org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$3.resend(RetransmissionQueueImpl.java:546)
> at
> org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$ResendCandidate.run(RetransmissionQueueImpl.java:417)
> at
> org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
> at
> org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$ResendCandidate.initiate(RetransmissionQueueImpl.java:406)
> at
> org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$ResendCandidate$1ResendTask.run(RetransmissionQueueImpl.java:500)
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> ---
> The workaround was defined here: http://www.nabble.com/Reliable-messaging-resending-causing-a-stack-trace-td22601956.html
> It is to make CXF WS-RM client addressable.
> The correct fix should be to detect anonymous addressing URIs and don't try to create connection with it.
> Also warning in server log could be created about fact WS-RM client is addressable and thus WS-RM resending  won't work.

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


[jira] Commented: (CXF-2466) CXF WS-RM impl displays exceptions

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/jira/browse/CXF-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765023#action_12765023 ]

Richard Opalka commented on CXF-2466:
-------------------------------------

Cross reference issue: https://jira.jboss.org/jira/browse/JBWS-2778


> CXF WS-RM impl displays exceptions
> ----------------------------------
>
>                 Key: CXF-2466
>                 URL: https://issues.apache.org/jira/browse/CXF-2466
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.3
>         Environment: Fedora 11, Java 1.6
>            Reporter: Richard Opalka
>
> CXF WS-RM impl doesn't detect anonymous addressing URIs and tries to create connection with this fake URI on server side.
> This is the stack trace:
> ---
> /SEVERE [RetransmissionQueueImpl] WS-RM retransmission failed.
> java.net.HttpRetryException: cannot retry due to server authentication,
> in streaming mode
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1111)
> at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
> at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2046)
> at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2022)
> at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1947)
> at
> org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl.resend(RetransmissionQueueImpl.java:350)
> at
> org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl.serverResend(RetransmissionQueueImpl.java:303)
> at
> org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl.access$500(RetransmissionQueueImpl.java:71)
> at
> org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$3.resend(RetransmissionQueueImpl.java:546)
> at
> org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$ResendCandidate.run(RetransmissionQueueImpl.java:417)
> at
> org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
> at
> org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$ResendCandidate.initiate(RetransmissionQueueImpl.java:406)
> at
> org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$ResendCandidate$1ResendTask.run(RetransmissionQueueImpl.java:500)
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> ---
> The workaround was defined here: http://www.nabble.com/Reliable-messaging-resending-causing-a-stack-trace-td22601956.html
> It is to make CXF WS-RM client addressable.
> The correct fix should be to detect anonymous addressing URIs and don't try to create connection with it.
> Also warning in server log could be created about fact WS-RM client is addressable and thus WS-RM resending  won't work.

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


[jira] Updated: (CXF-2466) CXF WS-RM impl displays exceptions

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/CXF-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp updated CXF-2466:
-----------------------------

    Component/s: WS-* Components

> CXF WS-RM impl displays exceptions
> ----------------------------------
>
>                 Key: CXF-2466
>                 URL: https://issues.apache.org/jira/browse/CXF-2466
>             Project: CXF
>          Issue Type: Bug
>          Components: WS-* Components
>    Affects Versions: 2.2.3
>         Environment: Fedora 11, Java 1.6
>            Reporter: Richard Opalka
>
> CXF WS-RM impl doesn't detect anonymous addressing URIs and tries to create connection with this fake URI on server side.
> This is the stack trace:
> ---
> /SEVERE [RetransmissionQueueImpl] WS-RM retransmission failed.
> java.net.HttpRetryException: cannot retry due to server authentication,
> in streaming mode
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1111)
> at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
> at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:2046)
> at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:2022)
> at
> org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1947)
> at
> org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl.resend(RetransmissionQueueImpl.java:350)
> at
> org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl.serverResend(RetransmissionQueueImpl.java:303)
> at
> org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl.access$500(RetransmissionQueueImpl.java:71)
> at
> org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$3.resend(RetransmissionQueueImpl.java:546)
> at
> org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$ResendCandidate.run(RetransmissionQueueImpl.java:417)
> at
> org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
> at
> org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$ResendCandidate.initiate(RetransmissionQueueImpl.java:406)
> at
> org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$ResendCandidate$1ResendTask.run(RetransmissionQueueImpl.java:500)
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> ---
> The workaround was defined here: http://www.nabble.com/Reliable-messaging-resending-causing-a-stack-trace-td22601956.html
> It is to make CXF WS-RM client addressable.
> The correct fix should be to detect anonymous addressing URIs and don't try to create connection with it.
> Also warning in server log could be created about fact WS-RM client is addressable and thus WS-RM resending  won't work.

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