This pull request is a collection of three functionally independent older commits, but they are all related to the deployer executables and its variants cdeployer and deployer-corba and would cause merge conflicts if applied in arbitrary order.
Makes sure that shutdownDeployment() is called and the DeploymentComponent is destroyed before the call to ShutdownOrb() and DestroyOrb(). This allows the components to communicate with remote peers during their stop and cleanup transitions and to cleanly disconnect all connections.
lots of minor updates to unify the three deployer implementations, with only minimal functional changes
cleanup of the OCL::Logging hierarchy as added in 12e97bea for deployer.cpp, in 2eae90e5 for cdeployer.cpp, but was missing in deployer-corba.cpp
catch CORBA errors in cdeployer, like with deployer-corba
Actually the implementation of the executables in bin/ would deserve another major refactoring because they still contain a lot of duplicated code and a way too long main function.
f482b2b89adc722b577586fe4de120883fc91895 also partially resolved this issue by aborting the loop if one of the files could not be started/run successfully, but the deployer still does not exit immediately and runs the task browser instead. Is this the behavior that we want?
This pull request is a collection of three functionally independent older commits, but they are all related to the deployer executables and its variants cdeployer and deployer-corba and would cause merge conflicts if applied in arbitrary order.
kick out all components before shutdown and destroying the ORB
shutdownDeployment()
is called and the DeploymentComponent is destroyed before the call toShutdownOrb()
andDestroyOrb()
. This allows the components to communicate with remote peers during their stop and cleanup transitions and to cleanly disconnect all connections.fixed OCL::Logging cleanup in deployer-corba
deployer.cpp
, in 2eae90e5 forcdeployer.cpp
, but was missing indeployer-corba.cpp
cdeployer
, like withdeployer-corba
bin/
would deserve another major refactoring because they still contain a lot of duplicated code and a way too long main function.fixed error reporting of deployers if multiple config/script files are given in the command line