You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by aledsage <gi...@git.apache.org> on 2017/09/11 15:03:29 UTC

[GitHub] brooklyn-server issue #815: BROOKLYN-532: karaf separate mgmt init and start

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.


---