[jboss-jira] [JBoss JIRA] (AS7-6113) Handlers of web services do not handle rollback

Ivo Studensky (JIRA) jira-events at lists.jboss.org
Fri Dec 7 08:33:17 EST 2012


Ivo Studensky created AS7-6113:
----------------------------------

             Summary: Handlers of web services do not handle rollback
                 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