try {
POA rootPOA = POAHelper.narrow (_orb ().resolve_initial_references ("RootPOA"));
CurrentServer server_ = CurrentServerHelper.narrow (rootPOA.servant_to_reference (this));
server_.invoked_during_upcall ();
}
catch (InvalidName e) {
// TODO Auto-generated catch block
}
catch (ServantNotActive e) {