rem this script demonstrates the JMX Agent rem start the "run" command http://www-adele.imag.fr/~donsez/dev/osgi/scriptcmd/scriptcmd.jar to run it rem jmxagent.jar requires to run OSCAR under th JRE 1.5 cd http://www-adele.imag.fr/~donsez/dev/osgi/ rem launch a rmiregistry in a other terminal rem when the JMX agent do not embed a rmi registry (see jmxagent.jar#/config.properties) start jmxagent/jmxagent.jar rem create an advanced connection (url service:jmx:rmi:///jndi/rmi://localhost:9999/server) in jconsole or in "MC4J Console" rem start a HTML adaptor which is registered as a MBean start htmladaptor/htmladaptor.jar rem browse the url http://localhost:8000 in a Web browser start adminmbean/adminmbean.jar start hellospec12/hellospec12.jar start hellombean/hellombean.jar