2.4 Start with JMX Access Enabled

2.4.1 On a Linux Platform

To start SpringSource Application Platform with JMX access enabled, allowing a management tool such as JConsole to be attached, run startup.sh passing in the -jmxremote argument:

cd $PLATFORM_HOME
bin/startup.sh -jmxremote
		

This will start the SpringSource Application Platform with JMX enabled for local attach. This allows for JConsole to be attached using the local connection option.

To start with JMX enabled for remote attach on a specific port number, pass this port number in as the value for the -jmxremote argument:

cd $PLATFORM_HOME
bin/startup.sh -jmxremote 9009
		

This will start the SpringSource Application Platform with JMX enabled for remote attach on port 9009.

2.4.2 On a Microsoft Windows Platform

To start SpringSource Application Platform with JMX access enabled, allowing a management tool such as JConsole to be attached, run startup.sh passing in the -jmxremote argument:

cd %PLATFORM_HOME%
bin\startup.bat -jmxremote
		

This will start the SpringSource Application Platform with JMX enabled for local attach. This allows JConsole to be attached using the local connection option.

To start with JMX enabled for remote attach on a specific port number, pass this port number in as the value for the -jmxremote argument:

cd %PLATFORM_HOME%
bin\startup.bat -jmxremote 9009
		

This will start the SpringSource Application Platform with JMX enabled for remote attach on port 9009.