// Ignore when host address is not accessible (localhost is used instead)
}
String vmVendor = System.getProperty("java.vendor");
String vmVersion = System.getProperty("java.version");
String name = vmVendor + " " + vmVersion;
JVM jvm = new JVM(name, lServer, vmVersion, vmVendor, hostName);
ObjectName jvmName = jvm.getObjectName();
server.registerMBean(jvm, jvmName);
}
catch (JMException jme)
{
log.debug("setupJ2EEMBeans - unexpected JMException", jme);