RSS

Search Engine

Sunday, July 18, 2010

OSGI console

We will later use the OSGI console. This console is like a MS-DOS prompt. In this console you can type command to perform certain OSGI actions. For following is a reference of OSGi commands.

Use for example the command ss to get an overview of all bundles and their status.

Table 1. OSGi commands

CommandDesription
helpLists the available commmands.
ssGives you an overview of the installed bundles and their status.
ss vogellaGives you an overview of the bundles and their status if they have vogella within their name.
start idStarts the bundle with id
stop idStops the bundle with id
install URLInstalls a bundles from an URL
uninstall idUninstalls the bundle with id
services filter Show all available services and their consumer. Filter is optional.

Bundles can be identified via their id which is displayed by the command ss.

0 comments:

Post a Comment