jbossas/jboss-as — pull request #4377 by jaysensharma (2013-04-14 02:29:52+00:00)
Title: [JBPAPP6-1774] jconsole fails if trying to connect to a standalone EAP i...

...nstance running with offset ports

After this fix JConsole will not throw NullPointerException. And all the following conditions will run successfully.

1).
###########
./standalone.sh -Djboss.socket.binding.port-offset=100

JConsole URL
service:jmx:remoting-jmx://localhost:10099

2).
###########
./standalone.sh -Djboss.socket.binding.port-offset=100 -bmanagement 10.3.238.71

JConsole URL
service:jmx:remoting-jmx://10.3.238.71:10099

3).
###########
./standalone.sh -bmanagement 10.3.238.71

JConsole URL
service:jmx:remoting-jmx://10.3.238.71:9999

4).
###########
./standalone.sh

JConsole URL
service:jmx:remoting-jmx://localhost:9999