User Tools

Site Tools


apache_karaf

This is an old revision of the document!


Apache Karaf

Commands

Bundles

List

To list the installed bundles use the command bundle:list. This will list the installed bundles from a given start level, default 100. To list all bundles starting from a specific level you have to add the level to the command.

bundle:list -t <level>

Packages

To list all exported packages use the command package:exports.

The output of a command can be piped to another command, f. e. a shell command. Example, list all servlet exports: package:exports | grep servlet.

Subshell

Commands can be grouped by a common name. All bundle related commands are available in the group bundle. By default you can access a command by prefixing the group, f. e. bundle:list.

But you can also go into that group and have only the commands of this group available. That is called a subshell. You have only a subset of the normal shell available.

To enter a subshell type the group name and press enter. To exit the subshell use the command exit.

Link Apache Karaf User Guide - Console

HTTP

List deployed servlets:

http:list
apache_karaf.1392292493.txt.gz · Last modified: 2014/02/13 11:54 by mihael