THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Wiki Markup |
---|
{scrollbar} |
Excerpt |
---|
Geronimo provides two OSGi frameworks: Eclipse Equinox and Apache Felix. You can easily configure which OSGi framework is used at runtime by updating the |
Changing the OSGi runtime
The 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.
- Open
config.properties
file under/etc
directory. - 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
config.properties
file.Code Block java java title config.properties ... # # Framework selection properties # #karaf.framework=equinox karaf.framework=felix karaf.framework.felix=repository/org/apache/felix/org.apache.felix.framework/3.0.2/org.apache.felix.framework-3.0.2.jar ...
Save the file and restart the server.