Again, and it might sound hard, but your design is broken. Don't depend on the state of the server. Your commands should be Atomic, if one of your commands isn't make sure it depends on another service. In that case you might want to have some sort of chaining where you chain your commands through services. And only if the latest service is available all of the commands are executed through the last service. You are running in a stateless environment where you always need to be prepared that another service might not be available or is just "leaving" you :-) For those cases you need to make sure that your application in itself is capable of handling this. Same for the appearance of services.
regards, Achim 2014-12-11 14:20 GMT+01:00 <[email protected]>: > FileInstall is just activating the bundles, so even if you can get an > event to indicate that FileInstall has "finished" that will only mean that > all Activators have been called - which may not be the same thing as all > commands have been registered ... > > > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master
