[omniORB] autostarting an omniORB server app
lou_liz@iafrica.com
lou_liz@iafrica.com
Wed, 12 Sep 2001 14:34:44 +0000 (GMT)
Hello,
I want to make my CORBA server application start automatically when booting up
on Linux without needing to log in. (RH 7.0, gcc-2.96-85, omniORB 3.0.3),
I've tried 2 ways:
(1) by adding an entry in the /etc/inittab file in the correct format,
OR
(2) by running the executable from the /etc/rc.d/rc.local script, which is the
last script to be executed at boot time.
Both methods make omniNames start up without error, then I pause for 5 seconds
to make sure omniNames has started up, then I try to start up my CORBA server
app (or any CORBA server app, for that matter, even eg3_imp) without success.
The call to orb->resolve_initial_references("NameService") throws a
CORBA::SystemException, and the handy little function exceptionName() submitted
yesterday by Huw Rogers <count0@building2.co.jp> returns "NO_RESOURCES".
Any ideas, please?
Thanks in advance.
Lourens Janse van Rensburg
Systems Engineer
Vizier Systems
Somerset West
South Africa
---------------------------------------------
This message was sent using M-Web Airmail.
http://airmail.mweb.co.za/