Geronimo provides two OSGi frameworks: Eclipse Equinox and Apache Felix. You can easily configure which OSGi framework is used at runtime by updating the
etc/onfig.properties configuration file. By default, Geronimo server uses Equinox as its default OSGi runtime. The following example show how to configure Geronimo to use Felix as its OSGi framework.
Changing the OSGi runtime
config.properties file is the system properties file of underlying OSGi framework of Geronimo, in which stores the initial configuration parameters to start up the framework.
- Comment out the line with karaf.framework=equinox and uncomment the line with karaf.framework=felix.
- Specify the location of Felix bundle using the key karaf.framework.felix. The following code snippet is an updated
Save the file and restart the server.