Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-12791

[7.1] Migration - Incomplete example in "Migrate Clients to Use the WildFlyConfiguration File"

XMLWordPrintable

      Migration guide section 5.12. Migrate Clients to Use the WildFly Configuration File:

      • The "properties file" example is specific to the EJB client, it should probably be mentioned somewhere - this is not for a generic client, also this property file is usually named jboss-ejb-client.properties which should be mentioned somewhere too.
      • The wildfly-config.xml example claims to be the equivalent of the EJB client properties, but it only contains the authentication part, but not the EJB client part (the part which points the client to the correct server). For an example how to configure the EJB client part, see this: https://github.com/jmartisk/mock-artifacts/blob/45f563ef14cb7d6b155658bf62bdee7c145f7431/ejbclient/eap7.1-config-secured/client/src/main/resources/META-INF/wildfly-config.xml#L16
      • Please remove the set-mechanism-realm and providers elements from the XML example, these are not required for a simple use case like this and only make the example very long and more complicated/scary than necessary

            sgilda_jira Sande Gilda (Inactive)
            jmartisk@redhat.com Jan Martiska
            Michal Jurc Michal Jurc
            Michal Jurc Michal Jurc
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: