axis-java-dev mailing list archives

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

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

Ann Robinson reopened AXIS2-2170:
---------------------------------


One of the files was not committed.  An updated patch for the missing file will be provided.


> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message