ObjectInstance instance2 = null;
try
{
server = MBeanServerFactory.createMBeanServer();
name = new ObjectName(":property=1");
instance1 = server.registerMBean(new Trivial(), name);
MBeanServerFactory.releaseMBeanServer(server);
server = MBeanServerFactory.createMBeanServer();
instance2 = server.registerMBean(new Trivial(), name);
}
catch (Exception e)
{
fail(e.toString());
}