private void testStartupOnlyAttribute(String attributeName,
Object initialAttributeValue, Object anotherAttributeValue) throws Exception
{
MyLocalTestServer server = new MyLocalTestServer();
ServiceAttributeOverrides overrides = new ServiceAttributeOverrides();
// Can't use server.getServerPeerObjectName() here since it's not known to the server yet.
overrides.put(ServiceContainer.SERVER_PEER_OBJECT_NAME, attributeName, initialAttributeValue.toString());
server.start("all", overrides, false, true);
try
{
ObjectName sp = server.getServerPeerObjectName();