axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ann Robinson (JIRA)" <>
Subject [jira] Updated: (AXIS2-2170) Error in handling async response when executor service is shutdown
Date Thu, 15 Feb 2007 17:13:06 GMT


Ann Robinson updated AXIS2-2170:

    Attachment: patch_update.txt

The updated patch file only contains the file that did not get committed.   It was created
for AXIS2 revision 507947.

> Error in handling async response when executor service is shutdown
> ------------------------------------------------------------------
>                 Key: AXIS2-2170
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Ann Robinson
>         Assigned To: Nick Gallardo
>         Attachments: patch.txt, patch_update.txt
> When the ExecutorService associated with a service is shutdownNow(), the ExecutorService
will attempt to stop all actively executing tasks, halt the processing of waiting tasks, and
refuse to accept new tasks.  However, a client is not getting the appropriate notification
that asynchronous requests/responses can not proceed.
> The solution needs to cover:
> (a) When the asynchronous response is received in the CallbackFuture, the Executor is
normally given the task to execute.  If the Executor throws an exception, then the task needs
to be cancelled.  Since the Executor won't process the response task, the callback handler
doesn't get the response or an error.  But, cancelling the task will let the client check
the Future object and will get a cancellation exception.
> (b) When the client submits a request with an asynchronous response and the ExecutorService
is shutdown, then JAXWS needs to refuse the request and throw an exception back to the client.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message