Versions Compared

Key

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

...

Code Block
borderStylesolid
> java -jar lib/karaf-client.jar --help
Apache Felix Karaf client
  -a [addressport]     specify the URLport to connect to
  -h [host]     specify the host to connect to
  -u [user]     specify the user name
  -p [password] specify the password
  --help        shows this help message
  -v            raise verbosity
  -r [attempts] retry connection establishment (up to attempts times)
  -d [delay]    intra-retry delay (defaults to 2 seconds)
  [commands]    commands to run
If no commands are specified, the client will be put in an interactive mode

For example, to shut down the Kernel Karaf from the command line, you can run the following command:

...

Code Block
[KARAF]/etc/org.apache.felix.karaf.shell.cfg

The defaut configuration is as below:

...