Can we use jboss-cli from JBoss EAP 7 to connect to a JBoss EAP 6?

Solution Verified - Updated -

Issue

When using jboss-cli from JBoss EAP 7 to connect to a default installation of JBoss EAP 6 the connection succeeds.

However, if we change the native port in JBoss EAP 6 to any value (regardless the approach - port-offset, JVM parameter, etc.), the connection fails with the following output:

Failed to connect to the controller: The controller is not available at localhost:10099: java.net.ConnectException: WFLYPRT0053: Could not connect to http-remoting://localhost:10099. The connection failed: WFLYPRT0053: Could not connect to http-remoting://localhost:10099. The connection failed: XNIO000812: Connection closed unexpectedly

Environment

  • JBoss EAP 6.x
  • JBoss EAP 7.x (for jboss-cli)
  • Java 1.8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content