Ivan created CXF-5535:
-------------------------
Summary: 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
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}
The problem is i don't get the same exception while running on jdk7 (1.7.0_40).
It is only java 6 problem.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)