There are a number of configuration properties that are set when a container is
bootstrapped. These properties include the container's name, the default features repository
used by the container, the OSGi framework provider, and other settings. These properties are
specified in two property files in the etc
folder:
config.properties—specifies the bootstrap properties for the OSGi frameworksystem.properties—specifies properties to configure container functions
The etc/config.properties file contains the properties used to
specify which OSGi framework implementation to load and properties for configuring the
framework's behaviors. Table 3 describes the key
properties to set.
Table 3. Properties for the OSGi Framework
| Property | Description |
|---|---|
| karaf.framework | Specifies the OSGi framework that Fuse ESB Enterprise uses. The default framework is Apache Felix
which is specified using the value felix. |
| karaf.framework.felix | Specifies the path to the Apache Felix JAR on the file system. |
![]() | Important |
|---|---|
Fuse ESB Enterprise only supports the Apache Felix OSGi implementation. |
The etc/system.properties file contains properties that configure
how various aspects of the container behave including:
the container's name
the default feature repository used by the container
the default port used by the OSGi HTTP service
the initial message broker configuration
Table 4 describes some of the common properties.
Table 4. Container Properties
| Property | Description |
|---|---|
| karaf.name | Specifies the name of this container. The default is root. |
| karaf.default.repository | Specifies the location of the feature repository the container will use by default. The default setting is the local feature repository installed with Fuse ESB Enterprise. |
| org.osgi.service.http.port | Specifies the default port for the OSGi HTTP Service. |






![[Important]](imagesdb/important.gif)


