Apache Karaf is a small OSGi based runtime which provides a lightweight container onto which various components and applications can be deployed.

Here is a short list of features supported by the Karaf:

  • Hot deployment: Karaf supports hot deployment of OSGi bundles by monitoring jar files inside the [home]/deploy directory. Each time a jar is copied in this folder, it will be installed inside the runtime. You can then update or delete it and changes will be handled automatically. In addition, the Karaf also supports exploded bundles and custom deployers (blueprint and spring ones are included by default).
  • Dynamic configuration: Services are usually configured through the ConfigurationAdmin OSGi service. Such configuration can be defined in Karaf using property files inside the [home]/etc directory. These configurations are monitored and changes on the properties files will be propagated to the services.
  • Logging System: using a centralized logging back end supported by Log4J, Karaf supports a number of different APIs (JDK 1.4, JCL, SLF4J, Avalon, Tomcat, OSGi)
  • Provisioning: Provisioning of libraries or applications can be done through a number of different ways, by which they will be downloaded locally, installed and started.
  • Native OS integration: Karaf can be integrated into your own Operating System as a service so that the lifecycle will be bound to your Operating System.
  • Extensible Shell console: Karaf features a nice text console where you can manage the services, install new applications or libraries and manage their state. This shell is easily extensible by deploying new commands dynamically along with new features or applications.
  • Remote access: use any SSH client to connect to Karaf and issue commands in the console
  • Security framework based on JAAS
  • Managing instances: Karaf provides simple commands for managing multiple instances. You can easily create, delete, start and stop instances of Karaf through the console.
  • Karaf 4.0.x branch Supports the latest OSGi 5.0 containers: Apache Felix Framework 4.4 and Eclipse Equinox 3.9
  • Karaf 3.0.x branch Supports the latest OSGi 4.3 containers: Apache Felix Framework 4.0 and Eclipse Equinox 3.8
  • Karaf 2.4.x branch Supports the latest OSGi 5.0 containers: Apache Felix Framework 4.4 and Eclipse Equinox 3.9
  • Karaf 2.3.x branch Supports the latest OSGi 4.3 containers: Apache Felix Framework 4.0 and Eclipse Equinox 3.8
  • Karaf 2.2.x branch Supports the latest OSGi 4.2 containers: Apache Felix Framework 3.0 and Eclipse Equinox 3.6

News

The Apache Karaf Team posted on August 19, 2015
Karaf 4.0.1 released!

The Karaf team is pleased to announce the availability of Karaf 4.0.1.

This is an update patch for Apache Karaf 4.0.x, containing many bug fixes, dependency updates, and improvements. New feature highlights include: Providing Spring 4.2.0.RELEASE, OpenJPA 2.4.0, and JTA 1.2 features. Important dependency upgrades include: Spring 4.1.7.RELEASE, Spring 3.2.14.RELEASE, transaction.blueprint 1.1.1, and Pax-Web 4.2.0.

For more information, please see the release notes.

The Apache Karaf Team posted on August 01, 2015
Karaf Decanter 1.0.0 released!

The Karaf team is pleased to announce the availability of Karaf Decanter 1.0.0.

Apache Karaf Decanter 1.0.0 is the first release of Decanter, a complete monitoring and alerting solution for Karaf and related projects (like Camel, ActiveMQ, etc).

For more information, please see the release notes.

The Apache Karaf Team posted on July 12, 2015
Karaf 2.4.3 released!

The Karaf team is pleased to announce the availability of Karaf 2.4.3.

This is an update patch for Apache Karaf 2.4.x, containing many bug fixes, dependency updates, and improvements. New feature highlights include: Support for Karaf 4 feature repositories in degraded mode, support for Pax-web 4.x, and updates to Felix FileInstall 3.5.0 and Felix ConfigAdmin 1.8.4.
For more information, please see the release notes.

The Apache Karaf Team posted on July 8, 2015
Karaf Cave 4.0.0 released!

The Karaf team is pleased to announce the availability of Karaf Cave 4.0.0.

This is a complete new Cave version, providing an implementation of OSGi Repository R5 specification. Take a look on the user guide for details.

For more information, please see the release notes.

The Apache Karaf Team posted on July 2, 2015
Karaf 3.0.4 released!

The Karaf team is pleased to announce the availability of Karaf 3.0.4.

This is an update patch for Apache Karaf 3.0.x, containing many bug fixes, dependency updates, and improvements. New features highlights include: Jaas commands to create and list group, bundles in etc/statup.properties shouldn't be uninstalled through feature services, and more secure host SSH key by default.
For more information, please see the release notes.

The Apache Karaf Team posted on June 26, 2015
Karaf 4.0.0 released!

The Karaf team is pleased to announce the availability of Karaf 4.0.0.

Apache Karaf 4.0.0 is the first production ready version of the new 4.0.0 branch.
It's a major step forward, including a complete new features resolver, a large set of new features, improvements, and bug fixes.

For more information, please see the release notes.

The Apache Karaf Team posted on June 8, 2015
Karaf 4.0.0.M3 released!

The Karaf team is pleased to announce the availability of Karaf 4.0.0.M3.

!! This is a technology preview release of Apache Karaf, and should NOT be considered production ready !!

Apache Karaf 4.0.0.M3 represents a major refactoring of the project, and includes numerous new features. We ask that users provide the community with their feed back so that the full Apache Karaf 4.0.0 release can be as feature complete and stable as possible.

For more information, please see the release notes.

The Apache Karaf Team posted on May 12, 2015
Karaf Cellar 3.0.3 released!

The Karaf team is pleased to announce the availability of Karaf Cellar 3.0.3.

Apache Karaf Cellar 3.0.3 is a major update on the 3.0.x series branch.

It includes several big fixes, especially on the bundle sync support.

For more information, please see the release notes.

The Apache Karaf Team posted on May 12, 2015
Karaf Cellar 2.3.6 released!

The Karaf team is pleased to announce the availability of Karaf Cellar 2.3.6.

Apache Karaf Cellar 2.3.6 is a major update on the 2.3.x series branch.
It includes several big fixes, especially on the bundle sync support.

For more information, please see the release notes.

The Apache Karaf Team posted on April 25, 2015
Karaf 2.4.2 released!

The Karaf team is pleased to announce the availability of Karaf 2.4.2.

This is an update patch for Apache Karaf 2.4.x, containing many bug fixes, dependency updates, and improvements. New feature highlights include: jaas commands to create and list groups, and bundles in etc/startup.properties should not be uninstalled through feature service (protecting essential features from accidental removal).
For more information, please see the release notes.

The Apache Karaf Team posted on April 11, 2015
Karaf 2.3.11 released!

The Karaf team is pleased to announce the availability of Karaf 2.3.11.

This is an update patch for Apache Karaf 2.3.x, containing several bug fixes. Amoung them are a fix for password encryption, txlog files locked during admin clone on windows, and an issue with using LDAPLoginModule with ActiveDirectory is resolved.
For more information, please see the release notes.

The Apache Karaf Team posted on March 27, 2015
Karaf Cellar 3.0.2 released!

The Karaf team is pleased to announce the availability of Karaf Cellar 3.0.2.

Apache Karaf Cellar 3.0.2 is a major update on the 3.0.x series branch.

It includes several big fixes, especially on the Synchronizers.

For more information, please see the release notes.

The Apache Karaf Team posted on March 27, 2015
Karaf Cellar 2.3.5 released!

The Karaf team is pleased to announce the availability of Karaf Cellar 2.3.5.

Apache Karaf Cellar 2.3.5 is a major update on the 2.3.x series branch.
It includes several big fixes, especially on the Synchronizers.

For more information, please see the release notes.

The Apache Karaf Team posted on February 13, 2015
Karaf 4.0.0.M2 released!

The Karaf team is pleased to announce the availability of Karaf 4.0.0.M2.

!! This is a technology preview release of Apache Karaf, and should NOT be considered production ready !!

Apache Karaf 4.0.0.M2 represents a major refactoring of the project, and includes numerous new features. We ask that users provide the community with their feed back so that the full Apache Karaf 4.0.0 release can be as feature complete and stable as possible.

The 4.0.x line will ship with OSGi Rev5 support via Felix 4.4.1 and Equinox 3.9.1-v20140110-1610, and a completely refactored internal framework without Blueprint for internal usage. From a users point of view these changes will yield a smaller, more efficient Karaf core. There will be a Blueprint feature present in Karaf so that you can easily install Blueprint based applications. You will always be capable of using Blueprint in Karaf. So the main difference from a user perspective is that you’d need to depend on the Blueprint service if you need it. New features since the M1 release include: Support for custom command parsers, a verify-features goal to validate the feature with a real OSGi resolution, and a backing engine serivce for org.apache.karaf.jaas.modules.publickey.PublickeyLoginModule.

For more information, please see the release notes.