[ https://issues.apache.org/jira/browse/AXIS2-2170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Gallardo reassigned AXIS2-2170: ------------------------------------ Assignee: Nick Gallardo > Error in handling async response when executor service is shutdown > ------------------------------------------------------------------ > > Key: AXIS2-2170 > URL: https://issues.apache.org/jira/browse/AXIS2-2170 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: jaxws > Reporter: Ann Robinson > Assigned To: Nick Gallardo > Attachments: patch.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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]