Starting the IceBox Server
Incorporating everything we discussed previously, we can now configure and start IceBox servers.
Starting the IceBox Server
The configuration file for our example C++ service is shown below:
IceBox.Service.Greeter=GreeterService:create --Ice.Trace.Dispatch
Assuming this property resides in a configuration file named config
, we can start the C++ IceBox server as follows:
icebox --Ice.Config=config
IceBox Server Failures
At startup, an IceBox server inspects its configuration for all properties having the prefix IceBox.Service and initializes each service. If initialization fails for a service, the IceBox server invokes the stop
operation on any initialized services, reports an error, and terminates.