[jboss-jira] [JBoss JIRA] (WFLY-1308) EJB invocation from a remote client when the deployment is being undeployed doesn't trigger a retry on a different node

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Tue Jul 23 14:52:29 EDT 2013


    [ https://issues.jboss.org/browse/WFLY-1308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792371#comment-12792371 ] 

RH Bugzilla Integration commented on WFLY-1308:
-----------------------------------------------

mark yarborough <myarboro at redhat.com> changed the Status of [bug 957171|https://bugzilla.redhat.com/show_bug.cgi?id=957171] from VERIFIED to CLOSED
                
> EJB invocation from a remote client when the deployment is being undeployed doesn't trigger a retry on a different node
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-1308
>                 URL: https://issues.jboss.org/browse/WFLY-1308
>             Project: WildFly
>          Issue Type: Bug
>          Components: EJB
>            Reporter: jaikiran pai
>            Assignee: jaikiran pai
>             Fix For: 8.0.0.Alpha1
>
>
> Consider the following case:
> 1) Same bean deployed on a server A and server B
> 2) Remote EJB client which is aware of both server A and server B, in its EJBClientContext, invokes on the bean
> 3) EJB client API selects server A as the target node and lets it handle it.
> 4) In the meantime, after the request has been sent, but before it has been handled on the server A, the deployment on server A is triggered for undeployment.
> 5) This causes the EJB component on server A to throw an exception telling the client that the bean is in shutdown mode and no more invocations are accepted.
> The exception thrown in #5 should really trigger a retry of the invocation, from the client side, on other eligible nodes (in this case Server B), because this failure is as good as the bean not being available in first place on Server A. 
> Currently, the client isn't retrying the invocation on a different node, because it has no idea that this specific exception is no different than other potential exceptions that can be thrown by the server for a EJB invocation. To fix this, the method invocation handler on the server side should send back a "no such bean" message to the client, when the server sees that the bean is in shutdown mode.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list