Which JMX statistics should I be taking a look at for the examples?  I
downloaded M2 and launched it with Java SE 5 on my Mac.  I enabled JSR
160 JMX remoting, but I'm not really sure which MBeans to look at.
I've started the examples and connected to it via MC4J and Sun's
JConsole (somewhat crippled on the Mac).

Here is how I enabled JMX remoting:

export JAVA_OPTS="-Dcom.sun.management.jmxremote.port=8999
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false"

# these are the defaults from inside bin/servicemix
export SERVICEMIX_OPTS="-Xmx512M -Dderby.system.home=../var
-Dderby.storage.fileSyncTransactionLog=true
-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
$JAVA_OPTS"

bin/servicemix

Oh yeah, there may be a bug in the script, you might want to add an
"else" first.

if [ -n "SERVICEMIX_OPTS" ] ; then
  SERVICEMIX_OPTS="-Xmx512M -Dderby.system.home=../var
-Dderby.storage.fileSyncTransactionLog=true
-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog"
fi

Cameron

Reply via email to