You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2010/01/12 20:38:54 UTC

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

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

Daniel Kulp reassigned CXF-2466:
--------------------------------

    Assignee: Daniel Kulp

> 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
>            Assignee: Daniel Kulp
>
> 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.