-
Bug
-
Resolution: Done
-
Major
-
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 ]
- is incorporated by
-
JBEAP-20583 [GSS](7.3.z) EJBCLIENT-349 ServiceURLs not constructed correctly when using EJB client 4 application with EAP 7 server
- Closed
- relates to
-
WFLY-12624 Return hostname instead of IP address when generating default client mapping
- Closed