@Achim, I'm not going to use JMX this time (but probably will later on) and for Shell I have my own bundle that does what I need.
@Guillaume, Thanks, I will try your suggestion to achieve a "nano" Karaf installation. On Thu, Nov 27, 2014 at 8:04 PM, Guillaume Nodet <[email protected]> wrote: > > In karaf 4 you can easily tweak the distribution by removing a few > features from > etc/org.apache.karaf.features.cfg > > You should be able to trim it down any way you want, event to an empty > list. Though, shell and features are quite recommended if you want to be > able to install other features through the console. If you have your own > set of features you want to install, you can specify only those. > > You can also build your own distribution by copying the pom from the > apache-karat-minimal distribution and removing the features listed in the > pom you don't want and adding the ones you want. This will achieve the > same result. > > > 2014-11-24 14:43 GMT+01:00 Kim Hansen <[email protected]>: > >> I have tried installing Karaf and starting it and can see that it takes 7 >> seconds (on my laptop) to load fx.: >> >> - org.osgi.jmx.* >> - org.apache.aries.jmx.* >> - org.apache.karaf.shell.* >> >> But I can't understand why these are being loaded at all for a minimal >> distribution? >> >> I would really like to get a Karaf core version that loads nothing and >> starts up in less than a second, and then a manual/guide for how to easily >> create core distribution with nothing/one/multiple of these installed. >> >> While looking through the archive I found these related issues: >> >> - KARAF-2651 <https://issues.apache.org/jira/browse/KARAF-2651> -- >> Minimal distribution should really be minimal >> - KARAF-2652 <https://issues.apache.org/jira/browse/KARAF-2652> -- >> Create net distribution >> >> Why does Karaf core load these? >> > >
