[
https://issues.apache.org/jira/browse/CXF-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668029#action_12668029
]
Richard Opalka commented on CXF-2011:
-------------------------------------
This is our current issue:
<testcase
classname="org.jboss.test.ws.jaxws.samples.asynchronous.AsynchronousProxyTestCase"
time="0.043" name="testInvokeAsyncHandler">
<failure type="junit.framework.AssertionFailedError" message="Async handler
called">junit.framework.AssertionFailedError: Async handler called
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at
org.jboss.test.ws.jaxws.samples.asynchronous.AsynchronousProxyTestCase.testInvokeAsyncHandler(AsynchronousProxyTestCase.java:103)
</failure>
<system-out>Time spent in future.get() was 8milliseconds
</system-out>
</testcase>
As you can see handler wasn't called at all. The tfuture imeout is set to 5
seconds in the test.
> Asynchronous client behaves improperly
> --------------------------------------
>
> Key: CXF-2011
> URL: https://issues.apache.org/jira/browse/CXF-2011
> Project: CXF
> Issue Type: Sub-task
> Components: JAX-WS Runtime
> Reporter: Richard Opalka
> Fix For: 2.1.4
>
> Attachments: AsynchronousProxyTestCase.java, Endpoint.java,
> EndpointBean.java
>
>
> We're using asynchronous client proxy to access simple echo service.
> However the method future.get() releases lock before handler is called (and
> it doesn't release because of the timeout)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.