Laurent
I can't find any informations about JMX in Synapse 1.1.1 site.
Can someone help me?
I'd like to declare a Mbean and make it avalaible after Synapse starts.
Sure, we need to improve JMX support and documentation before the next
release.. if you want to look at the initial JMX support we have with
Synapse, add "-Dcom.sun.management.jmxremote" to your synapse.xml's
last line. e.g:
$JAVA_HOME/bin/java -server -Xms128M -Xmx128M $XDEBUG $PORT $SYNAPSE_XML
*-Dcom.sun.management.jmxremote* -Dresolve.root=$SYNAPSE_HOME/repository
-Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XMLGrammarCachingConfiguration
-Dsynapse.home=$SYNAPSE_HOME
-Daxis2.xml=$SYNAPSE_HOME/repository/conf/axis2.xml
-Djava.endorsed.dirs=$SYNAPSE_ENDORSED
-Djava.io.tmpdir=$SYNAPSE_HOME/work/temp/synapse -classpath
$SYNAPSE_CLASSPATH org.apache.synapse.SynapseServer $SYNAPSE_HOME/repository
Or if you are using Synapse as a daemon, add it to the wrapper.conf as:
wrapper.java.additional.10=*-Dcom.sun.management.jmxremote
*Now if you run jconsole on the local machine, you can access the
MBeans. The standard JMX documentation applies
asankha