Properties props = new Properties();
props.put("java.security.policy", args[1]);
ActivationGroupDesc agd = new ActivationGroupDesc(props, null);
ActivationGroupID agi = ActivationGroup.getSystem().registerGroup(agd);
ActivationGroup.createGroup(agi, agd, 0);
ActivationDesc ad = new ActivationDesc("ConvertServiceImpl", args[0], null);
Remote r = (Remote) Activatable.register(ad);
Naming.rebind("ConvertService", r);
System.exit(0);