ACE+TAO Opensource Programming Notes/Starting the basic services

From Wikibooks, open books for an open world
Jump to: navigation, search

As discussed in the previous section, Dealing with IIOP Endpoints, the naming service is one of the basic services. The other basic services you will be needing for most purposes are: CosEvent_Service Notify_Service Scheduling_Service

On most platforms, you can start these with the following command lines by hand:

Naming_Service -ORBEndPoint iiop://localhost:12345 -ORBDaemon
CosEvent_Service -ORBInitRef NameService=corbaloc:iiop:localhost:12345/NameService -ORBDaemon
Notify_Service -ORBInitRef NameService=corbaloc:iiop:localhost:12345/NameService -ORBDaemon
Scheduling_Service -ORBInitRef NameService=corbaloc:iiop:localhost:12345/NameService -ORBDaemon

Where the endpoint determines where the listener for the service will hang-out, and the ORBDaemon option tells the service to run as a background daemon. In the Linux environment, these services can also be started automatically in the background through the boot time scripts found in /etc/rc.d. One of the developers on the list server has been good enough to provide RPMs of ACE+TAO complete with the boot time scripts.