Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-6113

WS *AddStepHandlers are ignoring rollback callback

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 7.1.3.Final (EAP), EAP 6.1.0.Alpha (7.2.0.Final)
    • Web Services
    • None

      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:

      protected void rollbackRuntime(OperationContext context, final ModelNode operation, final ModelNode model, List> controllers) {
          super.rollbackRuntime(context, operation, model, List>);
          if (!context.isBooting()) {
              context.revertReloadRequired();
          }
      }
      

      [1] https://github.com/jbossas/jboss-as/pull/3588

              ropalka Richard Opalka
              istudens@redhat.com Ivo Studensky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: