|
||||
Deprecated
JMX has been deprecated in favour of the 1060 HTTP backend management interface.
JMX support is still available as an optional download but will no longer be supported or maintained.
Java Management Extensions are a technology for remote management and monitoring of servers. When the 1060 Netkernel is deployed with the optional
JMX support is provided by MX4J. JMX ConfigurationThe JMX connection is configured with the final class JMXEnv:
package com.ten60.netkernel.jmx;
/**Default settings for the JMX session. Assumes a local instance of the dexter server
* with a local client. Also includes constants for MX4J and JNDI MBean names.
* @author pjr
*/
public final class JMXEnv {
//Server Settings
public static final String JMX_KERNEL_JNDI_NAME="ten60:kernel=container";
public static final String JMX_RMI_CONNECTION_JNDI_NAME="jrmp";
public static final int JMX_DEFAULT_PORT=10600;
public static final int RMI_DEFAULT_PORT=1099;
public static final String RMI_DEFAULT_HOST="localhost";
//Logger Settings
public static final String JMX_LOGGER_JNDI_NAME="ten60:kernel=logger";
public static final String JMX_LOGGER_TOKEN="ten60.kernel.log";
//JMX Specific
public static final String JMX_INITIAL_CONTEXT_FACTORY="com.sun.jndi.rmi.registry.RegistryContextFactory";
//MX4J Specific
public static final String MX4J_NAMING_SERVICE="Naming:type=rmiregistry";
public static final String MX4J_NAMING_SERVICE_CLASS="mx4j.tools.naming.NamingService";
public static final String MX4J_ADAPTOR_JRMP="Adaptor:protocol=JRMP";
public static final String MX4J_ADAPTOR_JRMP_CLASS="mx4j.adaptor.rmi.jrmp.JRMPAdaptor";
public static final String MX4J_ADAPTOR_HTTP="Adaptor:protocol=HttpAdaptor";
}
If you wish to reconfigure the JMX settings you only need to change the ports and hostname. The important items are:
The JMXServer and JMXConsole use JMXEnv to ensure they are both configured the same. You may edit and rebuild the JMXEnv to change the default ports to suit your system. ConsoleThe Management Console provides a suite of functionality for controlling and monitoring instances of 1060 Netkernel. The main panel contains two tabs, the first [Log] tab contains the list of logging entries. The second [System Status] tab contains a pane that can show one of a number of system reports.
The menu actions available are:
System Status ReportsThe console can show simplified versions the following key status reports:
|
||||
|
© 2003,2004, 1060® Research Limited
1060 registered trademark, NetKernel trademark of 1060 Research Limited
|
||||