Could you send your entire configuration?

-> richard

jaredmac wrote:
Richard S. Hall wrote:
No, this is not possible. However, in the config.properties file (or if you are embedding a Felix instance, then you pass in the configuration properties), you can specify which start level bundles will be installed with. Check this document for the configuration properties:


OK, thanks. This is helpful. I have assigned bundles start levels and told
Felix to employ a start level that is higher than the bundles I've assigned
-- i.e., the client bundles have start level "2" and Felix has start level
"5":

        configuration.put(FelixConstants.FRAMEWORK_STARTLEVEL_PROP, "5");

At this point, shouldn't I expect those bundles to be ... automatically
started? I'm confused by this JavaDoc:

http://www2.osgi.org/javadoc/r4/org/osgi/service/startlevel/StartLevel.html

It says: "When the Framework is launched, the Framework will enter start
level one and all bundles which are assigned to start level one and whose
autostart setting indicates the bundle should be started are started as
described in the Bundle.start method. The Framework will continue to
increase the start level, starting bundles at each start level, until the
Framework has reached a beginning start level."

So, I would think that I expect Felix to start at 0, then proceed up by one
till it reaches 5, starting my bundles that have start level "2" along the
way. But this doesn't appear to happen - the bundles simply remain in the
INSTALLED state.

Am I misunderstanding something in the doc, or doing something wrong?

Thanks,
Jared

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to