Github user aledsage commented on the issue:

    https://github.com/apache/brooklyn-server/pull/815
  
    I tested this by using 
`brooklyn-dist/karaf/apache-brooklyn/target/assembly/`, running `./bin/start`.
    
    I added a `Thread.sleep()` into the code to check that the rest-api and 
web-console started up as soon as karaf-init was done (they did).
    (Oops - I left that config option in `BasicLauncher.startPartTwo()`, I'd 
delete that!)
    
    I also did a `bundle:refresh 123` to refresh `brooklyn-core` and confirmed 
that it started up correctly.
    
    If one just does a `bundle:restart` on only the `brooklyn-karaf-start` then 
it fails (because can't call `start()` multiple times), but if 
`brooklyn-karaf-init` is first refreshed then it works as expected.


---

Reply via email to