The way the start level service is that when the framework boots, it goes
from 0 to the value specified by org.osgi.framework.startlevel.beginning.
At each level, the start level service will start bundles on that level.
I think the default value is 1 if not otherwise specified.


On Wed, Jan 16, 2013 at 10:57 PM, Dan Tran <dant...@gmail.com> wrote:

> I understand that when user does not specify the start-level of a
> bundle in the feature file, it is default to the value of
> karaf.startlevel.bundle ( which is 80)
>
> However, what is the purpose of
> org.osgi.framework.startlevel.beginning ??  ( max start-level allowed?
> )
>
> Thanks
>
> -Dan
>
> On Wed, Jan 16, 2013 at 1:49 PM, Jean-Baptiste Onofré <j...@nanthrax.net>
> wrote:
> > To be honest, I don't remember why we increased the Karaf start level.
> Let
> > me dig in the Jira/e-mails ;)
> >
> > Regards
> > JB
> >
> >
> > On 01/16/2013 10:47 PM, Guillaume Nodet wrote:
> >>
> >> Well, originally, it karaf.startlevel.bundle was at 50, and for some
> >> reasons, it kept increasing over time.
> >> I think 100 start levels is good enough, but we should lower from 80
> >> back to 50, which would give more room for users.
> >>
> >>
> >> On Wed, Jan 16, 2013 at 9:01 PM, Dan Tran <dant...@gmail.com
> >> <mailto:dant...@gmail.com>> wrote:
> >>
> >>     Yes, I am seeing 2 properties under config.properties
> >>
> >>     org.osgi.framework.startlevel.beginning=100
> >>     karaf.startlevel.bundle=80
> >>
> >>
> >>     It would be nice if those 2 are documented in the config file so
> that
> >>     other user may able to figure out the issue when the same problem
> >>     encounter.
> >>
> >>     May be org.osgi.framework.startlevel.beginning should start with
> >>     higher number so that karaf user would have a longer range to work
> >>     with?
> >>
> >>     Thanks
> >>
> >>     -D
> >>
> >>
> >>     On Wed, Jan 16, 2013 at 11:31 AM, Guillaume Nodet <gno...@gmail.com
> >>     <mailto:gno...@gmail.com>> wrote:
> >>      > That's expecte because the start level of the framework is set to
> >>     100.
> >>      > You can change that in etc/config.properties iirc.
> >>      >
> >>      >
> >>      > On Wed, Jan 16, 2013 at 8:14 PM, Dan Tran <dant...@gmail.com
> >>     <mailto:dant...@gmail.com>> wrote:
> >>      >>
> >>      >> I just happen to change some of my bundle to start at level >
> >>     100 and
> >>      >> the bundle get 'installed' state and would not go to 'active'.
> No
> >>      >> error found in log.  Can some one confirm?
> >>      >>
> >>      >> May karaf is 2.3.0
> >>      >>
> >>      >> Thanks
> >>      >>
> >>      >> -Dan
> >>      >
> >>      >
> >>      >
> >>      >
> >>      > --
> >>      > ------------------------
> >>      > Guillaume Nodet
> >>      > ------------------------
> >>      > Blog: http://gnodet.blogspot.com/
> >>      > ------------------------
> >>      > FuseSource, Integration everywhere
> >>      > http://fusesource.com
> >>
> >>
> >>
> >>
> >> --
> >> ------------------------
> >> Guillaume Nodet
> >> ------------------------
> >> Blog: http://gnodet.blogspot.com/
> >> ------------------------
> >> FuseSource, Integration everywhere
> >> http://fusesource.com
> >
> >
> > --
> > Jean-Baptiste Onofré
> > jbono...@apache.org
> > http://blog.nanthrax.net
> > Talend - http://www.talend.com
>



-- 
------------------------
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
FuseSource, Integration everywhere
http://fusesource.com

Reply via email to