[jboss-jira] [JBoss JIRA] (AS7-6113) WS *AddStepHandlers are ignoring rollback callback

Richard Opalka (JIRA) jira-events at lists.jboss.org
Tue Dec 11 04:10:19 EST 2012


     [ https://issues.jboss.org/browse/AS7-6113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Opalka updated AS7-6113:
--------------------------------

    Summary: WS *AddStepHandlers are ignoring rollback callback  (was: Handlers of web services do not handle rollback)

    
> WS *AddStepHandlers are ignoring rollback callback
> --------------------------------------------------
>
>                 Key: AS7-6113
>                 URL: https://issues.jboss.org/browse/AS7-6113
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Web Services
>    Affects Versions: 7.1.3.Final (EAP), 7.2.0.Alpha1
>            Reporter: Ivo Studensky
>            Assignee: Alessio Soldano
>
> Webservice handlers from org.jboss.as.webservices.dmr package do not handle rollback of the context.restart/reloadRequired() call.
> According to Brian's comment at [1] the handlers need something like this:
> {code}
> protected void rollbackRuntime(OperationContext context, final ModelNode operation, final ModelNode model, List> controllers) {
>     super.rollbackRuntime(context, operation, model, List>);
>     if (!context.isBooting()) {
>         context.revertReloadRequired();
>     }
> }
> {code}
> [1] https://github.com/jbossas/jboss-as/pull/3588

--
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