Migration from JBOSS EAP 6.4 to JBOSS EAP 7.4

Posted on

We are working on tech refresh of application and server. We are upgrading server and application to below versions:

Application server:

JBOSS EAP 6.4 to JBOSS EAP 7.4

Application:

Apache Camel: 2.14.1 to 3.14.3

Spring: 3.2.11.RELEASE to 5.3.19

Spring Security: 3.1.7.RELEASE to 5.6.3

We are able to deploy and test application with above upgraded dependency on Jboss EAP 7.2.

But it's failing for Jboss EAP 7.4 with below error:

** 11:47:27,122 ERROR [org.jboss.as.ejb3.invocation] (default task-1) WFLYEJB0526: Remoting connector (address XXX/127.0.0.1, port 4447) is not correctly configured for EJB client invocations, the connector must be listed in <remote/> 'connectors' attribute to receive EJB client invocations **

We have one EJB module deployed on the same JVM and application tries to connect as remoting component with EJB module which is available on port 4447.

Remoting port 4447 is not enabled in Jboss by default, so it’s enabled with below steps

/socket-binding-group=standard-sockets/socket-binding=remoting:add(port=4447)

/subsystem=remoting/connector=remoting-connector:add(socket-binding=remoting)