Well you would loose the control of the bundles but if one likes it that
way :-)
But this is actually more like you already said a "nano" container ;)
With Karaf 4 this is a easier to achieve as itself doesn't rely on
blueprint anymore.
With Karaf 3 all internal wiring is handled by blueprint ("eat your own
dogfood") so I don't think it's a worthwhile target.
regards, Achim
2014-11-24 15:23 GMT+01:00 Nick Baker <[email protected]>:
> I can still see value without the Shell or JMX. It would be akin to
> Virgo Nano. Feature, KAR and Deployers alone make Karaf valuable.
>
> -Nick Baker
>
> From: Achim Nierbeck <[email protected]>
> Reply-To: "[email protected]" <[email protected]>
> Date: Monday, November 24, 2014 at 8:53 AM
> To: "[email protected]" <[email protected]>
> Subject: Re: Minimal/core Karaf 4
>
> Hi,
>
> maybe you should give us a hint on your requirements, cause right now
> the *.jmx.* bundles are needed to configure Karaf via JMX which itself is a
> valid requirement.
> Again org.apache.karaf.shell.* is needed to run the Karaf shell, so why
> would you want to run Karaf without shell and without JMX,
> in that scenario you can't use it at all for anything.
>
> At best give us an idea of what kind of requirements you have for a core
> distribution.
> And please also give us an idea, where using Karaf-Core is more helpfull
> then using a plain Framework like Equinox or Felix?
> At the moment I wouldn't know where to strip-off more bundles.
>
> regards, Achim
>
>
> 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?
>>
>
>
>
> --
>
> 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
>
>
--
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