Does CxfBcRMProviderTest work well?
jav1erp May 5, 2009 1:39 PMHi all,
Trying to implement ws-rm I found that CxfBcRMProviderTest works fine until I add a sleep before it shutdown CXF Service/Endpoint.
private void localTestProvider(boolean withRM) throws Exception {
....
Thread.sleep(10000);
factory.getBus().shutdown(true);
// Shutdown jbi
jbi.shutDown();
}
In fuse 3.3.1.17 I get the repetitive warning:
May 5, 2009 2:08:10 PM org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$3 resend
INFO: WS-RM retransmission of message 1.
May 5, 2009 2:08:10 PM org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
INFO: retrieving MAPs from context property javax.xml.ws.addressing.context.outbound
May 5, 2009 2:08:10 PM org.apache.cxf.ws.addressing.ContextUtils retrieveMAPs
May 5, 2009 2:08:10 PM org.apache.cxf.endpoint.AbstractConduitSelector getSelectedConduit
WARNING: MessageObserver not found
in fuse 4.1.0.0 i get the repetitive error:
May 5, 2009 2:14:20 PM org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl$3 resend
INFO: WS-RM retransmission of message 1.
May 5, 2009 2:14:20 PM org.apache.cxf.endpoint.AbstractConduitSelector getSelectedConduit
WARNING: MessageObserver not found
May 5, 2009 2:14:21 PM org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl resend
SEVERE: 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:2014)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1993)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1918)
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)
I would appreciate any comments because I have the same warning or error in my implementation.
thx in advance
javier
Edited by: javier on May 5, 2009 2:38 PM