IdAssignmentPolicyValue.SYSTEM_ID);
poaPolicy[i++] = rootPOA.create_servant_retention_policy(
ServantRetentionPolicyValue.RETAIN);
POA nsPOA = rootPOA.create_POA( "TNameService", null, poaPolicy );
nsPOA.the_POAManager().activate();
// Create an initial context
TransientNamingContext initialContext =
new TransientNamingContext(orb, null, nsPOA);
byte[] rootContextId = nsPOA.activate_object( initialContext );