I have added the support to carbon core which enables any carbon based
product to be monitored using a remote JMX client which is behind a
firewall. For the purpose you can specify JMX RMIRegistryPort (the JMX port)
and the RMIServer port( the random port generate by RMI stack) in
carbon.xml. The configuration looks like follows.
<Ports>
<!-- The JMX Ports -->
<JMX>
<!--The port RMI registry is exposed-->
<!--<RMIRegistryPort>9999</RMIRegistryPort>-->
<!--The port RMI server should be exposed-->
<!--<RMIServerPort>11111</RMIServerPort>-->
</JMX>
</Ports>
By default remote monitoring is turn off. You can also pass this ports at
server start up time using the two system properties
"com.wso2.rmiserver.port" and "com.sun.management.jmxremote.port" for
RMIServer port and the RMIRegistry port respectively.
Rajika
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev