I am having trouble setting the start level via the felix config file
(conf/config.properties).
Here is the bit I have changed (plus the log level is set to 4):
# Sets the initial start level of the framework upon startup.
org.osgi.framework.startlevel=5

# Sets the start level of newly installed bundles.
felix.startlevel.bundle=1

When I startup I get this:
dhcp-97:felix-1.6.0 azeckoski$ emacs conf/config.properties
dhcp-97:felix-1.6.0 azeckoski$ java -jar bin/felix.jar

Welcome to Felix.
=================

DEBUG: WIRE: 1.0 -> org.osgi.service.packageadmin -> 0
DEBUG: WIRE: 1.0 -> org.osgi.service.startlevel -> 0
DEBUG: WIRE: 1.0 -> org.osgi.framework -> 0
DEBUG: WIRE: 2.0 -> org.osgi.framework -> 0
DEBUG: WIRE: 2.0 -> org.apache.felix.shell -> 1.0
-> DEBUG: WIRE: 3.0 -> org.osgi.service.log -> 7.0
DEBUG: WIRE: 3.0 -> org.osgi.framework -> 0
DEBUG: WIRE: 7.0 -> org.osgi.framework -> 0
DEBUG: DYNAMIC WIRE: 3.0 -> org.apache.felix.shell -> 1.0
DEBUG: WIRE: 9.0 -> org.osgi.service.packageadmin -> 0
DEBUG: WIRE: 9.0 -> org.osgi.service.url -> 0
DEBUG: WIRE: 9.0 -> org.osgi.service.startlevel -> 0
DEBUG: WIRE: 9.0 -> org.osgi.framework -> 0

-> ps -s
START LEVEL 1
   ID   State         Level  Symbolic name
[   0] [Active     ] [    0] org.apache.felix.framework (1.6.0)
[   1] [Active     ] [    1] org.apache.felix.shell (1.2.0)
[   2] [Active     ] [    1] org.apache.felix.shell.tui (1.2.0)
[   3] [Active     ] [    1] org.apache.felix.bundlerepository (1.4.0)
[   7] [Active     ] [    1] org.apache.felix.log (1.0.0)
[   8] [Installed  ] [    2] org.ops4j.pax.web.pax-web-service (0.6.0)
[   9] [Active     ] [    1] org.osgi.core (4.1)
[  10] [Active     ] [    1] org.osgi.compendium (4.1.0)
[  11] [Installed  ] [    1] org.ops4j.pax.web.service.jetty-config (1.0)
-> version
1.6.0

Shouldn't the start level be 5 or do I misunderstand the setting?
-AZ

-- 
Aaron Zeckoski (aar...@vt.edu)
Senior Research Engineer - CARET - Cambridge University
[http://bugs.sakaiproject.org/confluence/display/~aaronz/]
Sakai Fellow - [http://aaronz-sakai.blogspot.com/]

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to