Uploaded image for project: 'EJB Client Library (AS7+)'
  1. EJB Client Library (AS7+)
  2. EJBCLIENT-349

ServiceURLs not constructed correctly when using EJB client 4 application with EAP 7.0 server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.1.0.Final, 4.0.37.Final
    • 4.0.23.Final
    • None

      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
      ]
      
      

        1. discovery-7.0.txt
          80 kB
        2. discovery-7.1.txt
          208 kB
        3. discovery-7.1-modified.txt
          175 kB

              rachmato@redhat.com Richard Achmatowicz
              rachmato@redhat.com Richard Achmatowicz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: