blob: 35f35cfec9df5ae1fc1a987e13227b4f97ea11f1 [file] [log] [blame]
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
= Directory structure
The directory layout of a Karaf installation is as follows:
* `/bin`: control scripts to start, stop, login, ...
* `/etc`: configuration files
* `/data`: working directory
** `/cache`: OSGi framework bundle cache
** `/generated-bundles`: temporary folder used by the deployers
** `/log`: log files
* `/deploy`: hot deploy directory
* `/instances`: directory containing [instances|instances]
* `/lib`: directory for additional libraries
** `/lib/ext`: directory for JRE extensions
** `/lib/endorsed`: directory for endorsed libraries
** `/lib/boot`: directory for system libraries
* `/system`: OSGi bundles repository, laid out as a Maven 2 repository
TIP: 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|start-stop#Starting Karaf from clean].