We're updating the issue view to help you get more done. 

For Existing InstalledLocalContainer, cargo.jboss.management-native.port value incorrectly defaults to 9990 (the http management port)

Description

In the constructor for JBoss7xExistingLocalConfiguration, it sets the default native port to 9990:

setProperty(JBossPropertySet.JBOSS_MANAGEMENT_NATIVE_PORT, "9990");

This results in command execution similar to:

"C:\Program Files\Java\jdk1.6.0_34\bin\java.exe" -jar C:\jbosseap2nd\jboss-eap-6.2\jboss-modules.jar -mp C:/jbosseap2nd/jboss-eap-6.2/modules org.jboss.as.cli --connect --controller=localhost:9990 command=:shutdown

and it won't connect to stop the container.

Workaround: Explicitly set cargo.jboss.management-native.port to 9999. The use of port offset will properly derive from that value.

Status

Assignee

Savas Ali Tokmen

Reporter

Doug Schnee

Components

Fix versions

Affects versions

1.4.7

Priority

Minor