Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Managing large sets of OSGi bundles on Equinox
Managing large sets of OSGi bundles on Equinox [message #121759] Thu, 27 November 2008 02:33 Go to next message
Frederic Conrotte is currently offline Frederic ConrotteFriend
Messages: 125
Registered: July 2009
Senior Member
Hello,

I have a couple of features I'd like to see implemented in Equinox:

1- ability in the console to query bundles publishing a particular
service using the service interface

for example: services javax.transaction

would list bundle having currently registered service(s) using this
interface

2- ability in the console to start/stop a set of bundles

for example: start *birt* would start all bundle whose bundle name
contains "birt"

a bit like "ss birt" list all birt bundles

3- last but not least, when you have lot of bundles and you want to have
fine grained control on their start level, the osgi.bundles parameter
from config.ini quickly becomes unmanageable

It would be great to have something like this in config.ini:
osgi.bundles.l1= <list of bundles to start level 1>
osgi.bundles.l2= <list of bundles to start level 2>
osgi.bundles.ln= <list of bundles to start level n>

Looks very much like Linux run levels hmm ? I guess I should have ask
these during RT symposium at ESE :)

Can you tell me if there are already solutions/feature request for the
issues before I put them in Bugzilla ?

Thanks

Fred
Re: Managing large sets of OSGi bundles on Equinox [message #121771 is a reply to message #121759] Thu, 27 November 2008 02:55 Go to previous messageGo to next message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
Open bugs. I'd suggest prefixing all bug titles with [console].
It would be great if you contribute this work as it seems to be readily
doable.
-Simon

"Frederic Conrotte" <frederic@conrotte.be> wrote in message
news:ggl0tp$vui$1@build.eclipse.org...
> Hello,
>
> I have a couple of features I'd like to see implemented in Equinox:
>
> 1- ability in the console to query bundles publishing a particular service
> using the service interface
>
> for example: services javax.transaction
>
> would list bundle having currently registered service(s) using this
> interface
>
> 2- ability in the console to start/stop a set of bundles
>
> for example: start *birt* would start all bundle whose bundle name
> contains "birt"
>
> a bit like "ss birt" list all birt bundles
>
> 3- last but not least, when you have lot of bundles and you want to have
> fine grained control on their start level, the osgi.bundles parameter from
> config.ini quickly becomes unmanageable
>
> It would be great to have something like this in config.ini:
> osgi.bundles.l1= <list of bundles to start level 1>
> osgi.bundles.l2= <list of bundles to start level 2>
> osgi.bundles.ln= <list of bundles to start level n>
>
> Looks very much like Linux run levels hmm ? I guess I should have ask
> these during RT symposium at ESE :)
>
> Can you tell me if there are already solutions/feature request for the
> issues before I put them in Bugzilla ?
>
> Thanks
>
> Fred
Re: Managing large sets of OSGi bundles on Equinox [message #121797 is a reply to message #121771] Thu, 27 November 2008 13:03 Go to previous messageGo to next message
Frederic Conrotte is currently offline Frederic ConrotteFriend
Messages: 125
Registered: July 2009
Senior Member
regarding point 3 below I just red a previous post from Andrew Niefer.

Isn't the new org.eclipse.equinox.simpleconfigurator bundle's task to
handle such feature ?

Simon Kaegi a écrit :
> Open bugs. I'd suggest prefixing all bug titles with [console].
> It would be great if you contribute this work as it seems to be readily
> doable.
> -Simon
>
> "Frederic Conrotte" <frederic@conrotte.be> wrote in message
> news:ggl0tp$vui$1@build.eclipse.org...
>> Hello,
>>
>> I have a couple of features I'd like to see implemented in Equinox:
>>
>> 1- ability in the console to query bundles publishing a particular service
>> using the service interface
>>
>> for example: services javax.transaction
>>
>> would list bundle having currently registered service(s) using this
>> interface
>>
>> 2- ability in the console to start/stop a set of bundles
>>
>> for example: start *birt* would start all bundle whose bundle name
>> contains "birt"
>>
>> a bit like "ss birt" list all birt bundles
>>
>> 3- last but not least, when you have lot of bundles and you want to have
>> fine grained control on their start level, the osgi.bundles parameter from
>> config.ini quickly becomes unmanageable
>>
>> It would be great to have something like this in config.ini:
>> osgi.bundles.l1= <list of bundles to start level 1>
>> osgi.bundles.l2= <list of bundles to start level 2>
>> osgi.bundles.ln= <list of bundles to start level n>
>>
>> Looks very much like Linux run levels hmm ? I guess I should have ask
>> these during RT symposium at ESE :)
>>
>> Can you tell me if there are already solutions/feature request for the
>> issues before I put them in Bugzilla ?
>>
>> Thanks
>>
>> Fred
>
>
Re: Managing large sets of OSGi bundles on Equinox [message #121900 is a reply to message #121771] Fri, 28 November 2008 10:54 Go to previous message
Frederic Conrotte is currently offline Frederic ConrotteFriend
Messages: 125
Registered: July 2009
Senior Member
Simon Kaegi a écrit :
> Open bugs. I'd suggest prefixing all bug titles with [console].
> It would be great if you contribute this work as it seems to be readily
> doable.

Done.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=256866
https://bugs.eclipse.org/bugs/show_bug.cgi?id=256873
https://bugs.eclipse.org/bugs/show_bug.cgi?id=256874

Fred
Previous Topic:[p2] uninstalling babel language pack destroys configuration (3.4 RC3)
Next Topic:Service still used after stopping / uninstalling the service (ServiceTrackerCustomizer)
Goto Forum:
  


Current Time: Fri Apr 26 05:13:16 GMT 2024

Powered by FUDForum. Page generated in 0.03442 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top