You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

4.7. Administration

Karaf provides some commands to administer multiple instances. An instance of Karaf is a copy that you can launch separately and deploy applications onto. An instance does not contain a full copy of Karaf, but only a copy of the configuration files and data folder which contains all runtime informations, logs and temporary files.

As of 1.0 version, only a single command is provided to create a new instance. Below is an example of the command:

admin create /Users/gnodet/tmp/karaf1

Such a command will create a new instance in the given directory. To start it, go into the above directory and launch bin/karaf or bin\karaf.bat on Windows. An instance is still pointing to the original home directory, but the base directory reflects the directory which has been created. You can see that using the info command.

4.7. Administration

  • No labels