To be honest I don't understand why you would like to run a container in a container. Just use plane karaf and you would be fine.
And that's probably the reason you don't find a good answer for that. Make sure you control the http servicer port from the outside by setting some env variable that goes to the config admin service. But that's it. Sorry, Achim sent from mobile device Am 17.11.2014 19:16 schrieb "Achim Nierbeck" <[email protected]>: > Unfortunately we can't process this kind of question right now. > > 400 > > Live from apachecon > > Greetings > Am 17.11.2014 16:35 schrieb "Nick Baker" <[email protected]>: > >> Hey All, >> >> I’ve got a mixed environment where a Bundle can be deployed in an >> environment using the standard PAX-Web HttpService as well as one bridging >> out to Tomcat by way of Felix-HTTP Bridge. I need to be able to >> programmatically determine the URL for the HttpService regardless of where >> a bundle is deployed. There doesn’t seem to be any way of determining this >> using the standard OSGI APIs. >> >> Karaf is embedded within both environments. The PAX-Web setup will >> dynamically find an open port on startup and set the appropriate >> Configuration Admin entries before starting Karaf. The Tomcat environment >> does not need to do this work. >> >> Any ideas appreciated, >> -Nick >> >
