Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4300

Different behaviour for jboss-ejb-client.xml configuration when undeploy/deploy or server restart

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 9.0.0.Alpha1
    • None
    • EJB
    • None
    • Hide

      To reproduce the ejb-multi-server quickstart can be used.
      Follow the instruction to create the domain and run the client with "mvn exec:java"
      The server show no error.

      • Now change app-main/ear/src/main/application/META-INF/jboss-ejb-client.xml. Replace the <cluster username=quickuser1 with "quickuser2"
      • use cli with "undeploy-domain.cli"
      • rebuild the application
      • use cli with "deploy-domain.cli"
        -> the server fail with "javax.security.sasl.SaslException" --> expected
      • change the user name back to the original value
      • repeat the undeploy/build/deploy procedure
        -> the server still fail
      • restart the domain
      • no error during start
      • execute client again
        -> succeeds with no error
      Show
      To reproduce the ejb-multi-server quickstart can be used. Follow the instruction to create the domain and run the client with "mvn exec:java" The server show no error. Now change app-main/ear/src/main/application/META-INF/jboss-ejb-client.xml. Replace the <cluster username=quickuser1 with "quickuser2" use cli with "undeploy-domain.cli" rebuild the application use cli with "deploy-domain.cli" -> the server fail with "javax.security.sasl.SaslException" --> expected change the user name back to the original value repeat the undeploy/build/deploy procedure -> the server still fail restart the domain no error during start execute client again -> succeeds with no error

    Description

      If remote-outbound-connection to a cluster is used and the application contain a jboss-ejb-client.xml with <clusters> element and this element must be changed a simple undeploy/deploy will not change the behavior. A full server restart is needed!

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhn-support-wfink Wolf-Dieter Fink
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: