1 #include "../Simple_util.h"
4 // This is the main driver program for the time and date server.
7 ACE_TMAIN(int argc
, ACE_TCHAR
*argv
[])
9 Server
<Grid_Factory_i
> server
;
12 ACE_TEXT ("\n\tGrid server\n\n")));
16 if (server
.init ("Grid",
25 catch (const CORBA::UserException
& userex
)
27 //ACE_UNUSED_ARG (userex);
28 userex
._tao_print_exception ("User Exception in main");
31 catch (const CORBA::SystemException
& sysex
)
33 //ACE_UNUSED_ARG (sysex);
34 sysex
._tao_print_exception ("System Exception in main ");
37 catch (const ::CORBA::Exception
&e
)
39 e
._tao_print_exception ("CORBA exception in main");