Can we use jboss-cli from JBoss EAP 7 to connect to a JBoss EAP 6?
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
