You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Ivan (JIRA)" <ji...@apache.org> on 2014/02/03 10:54:10 UTC

[jira] [Resolved] (CXF-5535) Get Exception in my stacktrace when discovering web-services

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

Ivan resolved CXF-5535.
-----------------------

       Resolution: Not A Problem
    Fix Version/s: 2.7.8

forgot to call method 
{code}
client.setVersion10();
{code}

With it everything works

> Get Exception in my stacktrace when discovering web-services
> ------------------------------------------------------------
>
>                 Key: CXF-5535
>                 URL: https://issues.apache.org/jira/browse/CXF-5535
>             Project: CXF
>          Issue Type: Bug
>          Components: WS-* Components
>    Affects Versions: 2.7.8
>         Environment: windows 7. java 6 (32), Apache CXF 2.7.8
>            Reporter: Ivan
>            Priority: Minor
>             Fix For: 2.7.8
>
>
> I'm using *ws-discovery-service*.
> Code is straightforward: 
> {code:java}
> WSDiscoveryClient client = new WSDiscoveryClient();
> client.setDefaultProbeTimeout(1000); // timeout 1s
> List<EndpointReference> references = client.probe();
> {code}
> After _probe_-method invocation i get this exception in my stacktrace:
> {code}
> 04:33:863, WARN[     qtp30716137-110],Response message does not contain WS-Addressing properties.  Not correlating response.
> 04:33:928, WARN[     qtp30716137-110],WS-Addressing - failed to retrieve Message Addressing Properties from context
> 04:35:970, WARN[           Finalizer],Unexpected exception.
> java.util.concurrent.RejectedExecutionException
> 	at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1774)
> 	at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:768)
> 	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:656)
> 	at org.apache.mina.core.service.AbstractIoService.executeWorker(AbstractIoService.java:436)
> 	at org.apache.mina.core.service.AbstractIoService.executeWorker(AbstractIoService.java:428)
> 	at org.apache.mina.core.polling.AbstractPollingIoConnector.startupWorker(AbstractPollingIoConnector.java:365)
> 	at org.apache.mina.core.polling.AbstractPollingIoConnector.dispose0(AbstractPollingIoConnector.java:307)
> 	at org.apache.mina.core.service.AbstractIoService.dispose(AbstractIoService.java:289)
> 	at org.apache.mina.core.service.AbstractIoService.dispose(AbstractIoService.java:273)
> 	at org.apache.cxf.transport.udp.UDPConduit.close(UDPConduit.java:165)
> 	at org.apache.cxf.endpoint.AbstractConduitSelector.close(AbstractConduitSelector.java:76)
> 	at org.apache.cxf.endpoint.ClientImpl.destroy(ClientImpl.java:214)
> 	at org.apache.cxf.jaxws.DispatchImpl.close(DispatchImpl.java:538)
> 	at org.apache.cxf.ws.discovery.WSDiscoveryClient.close(WSDiscoveryClient.java:268)
> 	at org.apache.cxf.ws.discovery.WSDiscoveryClient.finalize(WSDiscoveryClient.java:275)
> 	at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
> 	at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
> 	at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
> 	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:172)
> {code}
> Sometimes i just get
> {code}
> 04:33:863, WARN[     qtp30716137-110],Response message does not contain WS-Addressing properties.  Not correlating response.
> 04:33:928, WARN[     qtp30716137-110],WS-Addressing - failed to retrieve Message Addressing Properties from context
> {code}
> without exception stacktrace.
> Found to correlation between java versions.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)