Uploaded image for project: 'JBoss WFK 2'
  1. JBoss WFK 2
  2. WFK2-381

Arquillian EAP adaptor does not support reload operation for Management Operations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.4.0.GA, 2.5.0.GA
    • Fix Version/s: None
    • Component/s: Arquillian
    • Labels:
      None
    • Target Release:
    • Affects:
      Release Notes
    • Release Notes Docs Status:
      Documented as Known Issue
    • Release Notes Text:
      Hide
      Attempting to use a @ServerTask configuration in the Arquillian adaptor for Red Hat JBoss Enterprise Application Platform results in an exception. The operation does not reload to update the configuration even after applying management operation(s). To workaround the issue, users must modify Red Hat JBoss Enterprise Application Platform using Red Hat JBoss Command Line Interface to recognize updates.
      Show
      Attempting to use a @ServerTask configuration in the Arquillian adaptor for Red Hat JBoss Enterprise Application Platform results in an exception. The operation does not reload to update the configuration even after applying management operation(s). To workaround the issue, users must modify Red Hat JBoss Enterprise Application Platform using Red Hat JBoss Command Line Interface to recognize updates.

      Description

      When:

      I want to update EAP6 configuration within test itself using @ServerTask

      Given:

      My operation requires a reload.

          @Override
          public void tearDown(ManagementClient managementClient, String containerId) throws Exception {
       
            // FIXME reload is not working due to https://bugzilla.redhat.com/show_bug.cgi?id=900065         managementClient.getControllerClient().execute(ModelUtil.createOpNode(null, "reload"));
          }
      

      Then:

      Reload fails with socket close exception as Arquillian adaptor will lose connection to application server.

      Additional Information:

      https://issues.jboss.org/browse/WFLY-91 was already pushed upstream. It's a matter of backporting it to AS7 adaptor and releasing new version.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  aslak Aslak Knutsen
                  Reporter:
                  kpiwko Karel Piwko
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: