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

WS *AddStepHandlers are ignoring rollback callback

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: