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

[GSS](7.3.z) EJBCLIENT-349 ServiceURLs not constructed correctly when using EJB client 4 application with EAP 7 server

    XMLWordPrintable

Details

    Description

      When an EJB client 4 application interacts with an EAP 7.0 server (using version 2 of the EJB client wire protocol), service URLs for deployments are not constructed correctly.

      For example, for a client and server application using the same deployment, if we execute the application using a version 3 client and a version 2 server, we get service URLs:

      NodeInformation: node node-1 has serviceURLs = [
      service:ejb.jboss:remote+http://127.0.0.1:9080;node=node-1,
      service:ejb.jboss:remote+http://127.0.0.1:9080;cluster=ejb;node=node-1,
      service:ejb.jboss:remote+http://localhost:9080;node=node-1;ejb-module=ear/ear,ear/test,ear/ejb // error! *******************************
      ]
      
      NodeInformation: node node-2 has serviceURLs = [
      service:ejb.jboss:remote+http://localhost:10080;node=node-2;ejb-module=ear/ear,ear/test,ear/ejb,
      service:ejb.jboss:remote+http://127.0.0.1:10080;node=node-2,
      service:ejb.jboss:remote+http://127.0.0.1:10080;cluster=ejb;node=node-2  // error! **********************************
      ]
      

      and if we run the same application but using a version 3 server, we see service URLs:

      NodeInformation: node node-1 has serviceURLs = [
      service:ejb.jboss:remote+http://127.0.0.1:9080;node=node-1;ejb-module=ear/test,ear/ejb,
      service:ejb.jboss:remote+http://127.0.0.1:9080;cluster=ejb;node=node-1;ejb-module=ear/test,ear/ejb,
      service:ejb.jboss:remote+http://localhost:9080;node=node-1;ejb-module=ear/test,ear/ejb
      ]
      
      NodeInformation: node node-2 has serviceURLs = [
      service:ejb.jboss:remote+http://localhost:10080;node=node-2;ejb-module=ear/test,ear/ejb,
      service:ejb.jboss:remote+http://127.0.0.1:10080;node=node-2;ejb-module=ear/test,ear/ejb,
      service:ejb.jboss:remote+http://127.0.0.1:10080;cluster=ejb;node=node-2;ejb-module=ear/test,ear/ejb
      ]
      
      

      Attachments

        Issue Links

          Activity

            People

              rachmato@redhat.com Richard Achmatowicz
              rhn-support-bmaxwell Brad Maxwell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: