{
try {
DeploymentSession ds = new DeploymentSessionImpl();
PortableRemoteObject.exportObject(ds);
Tie servantsTie = javax.rmi.CORBA.Util.getTie(ds);
servantsTie.orb(ORBManager.getORB());
return ds;
} catch (Throwable t) {
throw new ServerException(localStrings.getLocalString(
"enterprise.tools.deployment.main.couldnotgetorbforserver",
"Couldn't get orb for ({0}) {1}",