Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The log shell contains a few commands to display the log entries, retrieve or change the log levels:

Code Block
servicemix> log help

Available commands in log:
  d        smx@root:/> help log
  display            Display log entries.
  display-exception  Display the last exception from the log.
  get             Alias to: display   Show log level.
  displayset                DisplaySet log entrieslevel.
  getd                  Link Show Log Levelto: log/display
  setde                   Change the log levelLink to: log/display-exception

See the documentation on the logging system for more informations.

...

OBR (OSGi Bundle Repository) is a proposed specification that defines an xml format for repositories of OSGi bundles and an associated service to access it. ServiceMix Runtime Kernel proposes a number of commands that can be used to deal with such repositories.

Note that this feature is not installed by default. To install it, you must run the following command:

Code Block
servicemix>smx@root:/> features/install obr
Code Block

servicemix> help obr

Available commands in obr:
  addUrl                Add a list of repository URLs to the repository service
  deploy                Deploy
  info                  Display the meta-data for the specified bundles.
  list                  List
  listUrl               Display the repository URLs currently associated with the repository service.
  removeUrl             Remove a list of repository URLs from the repository service
  source                Source
  start                 Start

...

The OSGi sub-shell provides commands for managing the OSGi framework: listing OSGi bundles, services, managing bundle lifecycles.
Look at the online help (launch osgi help command) for more informations.

Code Block
servicemix>smx@root:/> help osgi help

Available commands in osgi:
  bundle-level          Get or set the start level of a given bundle
  headers               Display headers
  install               Install bundle
  list                  List bundles
  ls     list-services         List services
  ls   List services
  refresh              Alias to: list-services
  refreshRefresh bundle
  update                RefreshUpdate bundle
  resolve               Resolve bundle
  shutdown              Shutdown
  start                 Start bundle
  start-level           Get or set the start level
  stop                  Stop bundle
  uninstall             Uninstall bundle

Remote shell

Utils shell

This subshell contains a set of utility commands:

...

Standard commands

Examples:

Code Block
utils cat mvn:org.apache.servicemix/servicemix/3.2.1/pom

or

Code Block
logld d | utils grep error

#top

Wiki Markup
{scrollbar}