You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Debugging OSGi resolver problems

To diagnose OSGi resolver problems it might be useful to turn on OSGi framework's debug level. Apache Felix and Eclipse Equinox have different way to enable and configure the debug options:

Felix

To turn on debugging when running with Apache Felix edit the etc/system.properties file and uncomment the following line:

etc/system.properties
    felix.log.level=4

The felix.log.level property can be set to any value between 0 and 4. 4 means maximum log level.

Equinox

To turn on debugging when running with Eclipse Equinox edit the etc/system.properties file and uncomment the following line:

etc/system.properties
    osgi.debug=${karaf.home}/etc/equinox-debug.properties

The osgi.debug property specifies a Equinox property file which contains a number of options for controlling the amount and type of logging generated by the Equinox framework.

  • No labels