serverCommand,
serverOptions,
serverProperties);
sharedActivationGroupDescriptor.create(starterConfig);
/* start no-op service in the shared VM just created */
SharedActivatableServiceDescriptor destroyVMServiceDescriptor =
new SharedActivatableServiceDescriptor(noopServiceCodebase,
noopServicePolicyFile,
noopServiceClasspath,
noopServiceImplName,
sharedVMDir,
noopServiceArgsArray,
false);
Created createdObj = (Created)destroyVMServiceDescriptor.create
(starterConfig);
vmProxy[v] = (SharedGroup)createdObj.proxy;//to destroy service VM
/* start TestService-v in same shared VM as no-op service */
SharedActivatableServiceDescriptor serviceDescriptor =
new SharedActivatableServiceDescriptor(serviceCodebase,
servicePolicyFile,
serviceClasspath,
serviceImplName,
sharedVMDir,
serviceArgsArray,
false);
serviceDescriptor.create(starterConfig);
}//end loop
/* create SDM to retrieve ref to TestService-i from lookup */
sdm = new ServiceDiscoveryManager
(ldm, null, sysConfig.getConfiguration());