Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Table of Contents
locationtop
styledisc

Is the Felix framework compliant with the OSGi specification?

Refer to the Apache Felix Framework OSGi R4.2 CT Results document.

If I use bundles from Felix, will my application be tied to the Felix framework?

See the answer in the OSGi FAQ.

When I update my bundle, why are my bundle's old classes still being used?

See the answer in the OSGi FAQ.

Why do I get an "Unknown protocol: http" exception when I run Felix on a non-Sun JRE?

...

There are two ways to set these system properties. The first way is using the standard -D<property>=<value> syntax when executing java or if you are using Felix' standard Main.java launcher, you can put the system properties into the conf/system.properties file so that they get set automatically each time you execute Felix.

What is the daemon status of framework created threads?

The framework creates a few threads for handling specific tasks, such as event delivery or handling start level change requests. All framework threads are explicitly started as daemon threads except the event dispatcher thread. The logic behind this is that the event dispatcher thread should exit when it is done delivering events. However, if an application is hosting an instance of the framework, it is possible to make the event dispatcher thread a daemon by starting your framework instance from a daemon thread, in which case the event dispatcher thread will inherit this setting.

For bundle developers, it is probably best to explicitly define any created threads as daemon or non-daemon to avoid any ambiguity.