Chapter 30. Introduction to the Deploying into Apache Karaf user guide part


Abstract

Before you use this User Guide part of the Deploying into Apache Karaf guide, you must have installed the latest version of Red Hat JBoss Fuse, following the instructions in Installing on Apache Karaf.

30.1. Directory structure

The directory layout of a Karaf installation is as follows:

  • /bin: control scripts to start, stop, login, …​
  • /demos: contains some simple Karaf samples
  • /etc: configuration files
  • /data: working directory

    • /data/cache: OSGi framework bundle cache
    • /data/generated-bundles: temporary folder used by the deployers
    • /data/log: log files
  • /deploy: hot deploy directory
  • /instances: directory containing [instances|instances]
  • /lib: contains libraries

    • /lib/boot: contains the systeù libraries used at Karaf bootstrap
    • /lib/endorsed: directory for endorsed libraries
    • /lib/ext: directory for JRE extensions
  • /system: OSGi bundles repository, laid out as a Maven 2 repository
Note

The data folder contains all the working and temporary files for Karaf. If you want to restart from a clean state, you can wipe out this directory, which has the same effect as using the clean option to the Karaf start.

Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top