Apache Karaf Console Reference
Reference for the Apache Karaf shell commands
Abstract
Chapter 1. bundle Copy linkLink copied to clipboard!
1.1. bundle:capabilities Copy linkLink copied to clipboard!
1.1.1. Description Copy linkLink copied to clipboard!
Displays OSGi capabilities of a given bundles.
1.1.2. Syntax Copy linkLink copied to clipboard!
bundle:capabilities [options] [ids]
1.1.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
ids | The list of bundle (identified by IDs or name or name/version) separated by whitespaces |
1.1.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--namespace | |
--context, -c | Use the given bundle context |
1.2. bundle:classes Copy linkLink copied to clipboard!
1.2.1. Description Copy linkLink copied to clipboard!
Displays a list of classes/resources contained in the bundle
1.2.2. Syntax Copy linkLink copied to clipboard!
bundle:classes [options] [ids]
1.2.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
ids | The list of bundle (identified by IDs or name or name/version) separated by whitespaces |
1.2.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-a, --display-all-files | List all classes and files in the bundle |
--context, -c | Use the given bundle context |
1.3. bundle:diag Copy linkLink copied to clipboard!
1.3.1. Description Copy linkLink copied to clipboard!
Displays diagnostic information why a bundle is not Active
1.3.2. Syntax Copy linkLink copied to clipboard!
bundle:diag [options] [ids]
1.3.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
ids | The list of bundle (identified by IDs or name or name/version) separated by whitespaces |
1.3.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--context, -c | Use the given bundle context |
1.4. bundle:dynamic-import Copy linkLink copied to clipboard!
1.4.1. Description Copy linkLink copied to clipboard!
Enables/disables dynamic-import for a given bundle.
1.4.2. Syntax Copy linkLink copied to clipboard!
bundle:dynamic-import [options] id
1.4.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
id | The bundle ID or name or name/version |
1.4.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--context | Use the given bundle context |
1.5. bundle:find-class Copy linkLink copied to clipboard!
1.5.1. Description Copy linkLink copied to clipboard!
Locates a specified class in any deployed bundle
1.5.2. Syntax Copy linkLink copied to clipboard!
bundle:find-class [options] className
1.5.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
className | Class name or partial class name to be found |
1.5.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
1.6. bundle:headers Copy linkLink copied to clipboard!
1.6.1. Description Copy linkLink copied to clipboard!
Displays OSGi headers of a given bundles.
1.6.2. Syntax Copy linkLink copied to clipboard!
bundle:headers [options] [ids]
1.6.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
ids | The list of bundle (identified by IDs or name or name/version) separated by whitespaces |
1.6.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--no-uses | Print or not the Export-Package uses section |
--indent | Indentation method |
--context, -c | Use the given bundle context |
1.7. bundle:id Copy linkLink copied to clipboard!
1.7.1. Description Copy linkLink copied to clipboard!
Gets the bundle ID.
1.7.2. Syntax Copy linkLink copied to clipboard!
bundle:id [options] id
1.7.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
id | The bundle ID or name or name/version |
1.7.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--context | Use the given bundle context |
1.8. bundle:info Copy linkLink copied to clipboard!
1.8.1. Description Copy linkLink copied to clipboard!
Displays detailed information of a given bundles.
1.8.2. Syntax Copy linkLink copied to clipboard!
bundle:info [options] [ids]
1.8.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
ids | The list of bundle (identified by IDs or name or name/version) separated by whitespaces |
1.8.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--context, -c | Use the given bundle context |
1.9. bundle:install Copy linkLink copied to clipboard!
1.9.1. Description Copy linkLink copied to clipboard!
Installs one or more bundles.
1.9.2. Syntax Copy linkLink copied to clipboard!
bundle:install [options] urls
1.9.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
urls | Bundle URLs separated by whitespaces |
1.9.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-l, --start-level | Sets the start level of the bundles |
--help | Display this help message |
--force, -f | Forces the command to execute |
--r3-bundles | Allow OSGi R3 bundles |
-s, --start | Starts the bundles after installation |
1.10. bundle:list Copy linkLink copied to clipboard!
1.10.1. Description Copy linkLink copied to clipboard!
Lists all installed bundles.
1.10.2. Syntax Copy linkLink copied to clipboard!
bundle:list [options] [ids]
1.10.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
ids | The list of bundle (identified by IDs or name or name/version) separated by whitespaces |
1.10.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-name, -n | Show bundle name |
--help | Display this help message |
-u | Shows the update locations |
-r | Shows the bundle revisions |
--no-ellipsis | |
-l | Show the locations |
-s | Shows the symbolic name |
--context, -c | Use the given bundle context |
-t | Specifies the bundle threshold; bundles with a start-level less than this value will not get printed out. |
--no-format | Disable table rendered output |
1.11. bundle:load-test Copy linkLink copied to clipboard!
1.11.1. Description Copy linkLink copied to clipboard!
Load test bundle lifecycle
1.11.2. Syntax Copy linkLink copied to clipboard!
bundle:load-test [options]
1.11.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--refresh | percentage of bundle refresh vs restart |
--excludes | List of bundles (ids or symbolic names) to exclude |
--iterations | number of iterations per thread |
--delay | maximum delay between actions |
--threads | number of concurrent threads |
1.12. bundle:refresh Copy linkLink copied to clipboard!
1.12.1. Description Copy linkLink copied to clipboard!
Refresh bundles.
1.12.2. Syntax Copy linkLink copied to clipboard!
bundle:refresh [options] [ids]
1.12.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
ids | The list of bundle (identified by IDs or name or name/version) separated by whitespaces |
1.12.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--context, -c | Use the given bundle context |
1.13. bundle:requirements Copy linkLink copied to clipboard!
1.13.1. Description Copy linkLink copied to clipboard!
Displays OSGi requirements of a given bundles.
1.13.2. Syntax Copy linkLink copied to clipboard!
bundle:requirements [options] [ids]
1.13.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
ids | The list of bundle (identified by IDs or name or name/version) separated by whitespaces |
1.13.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--namespace | |
--context, -c | Use the given bundle context |
1.14. bundle:resolve Copy linkLink copied to clipboard!
1.14.1. Description Copy linkLink copied to clipboard!
Resolve bundles.
1.14.2. Syntax Copy linkLink copied to clipboard!
bundle:resolve [options] [ids]
1.14.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
ids | The list of bundle (identified by IDs or name or name/version) separated by whitespaces |
1.14.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--context, -c | Use the given bundle context |
1.15. bundle:restart Copy linkLink copied to clipboard!
1.15.1. Description Copy linkLink copied to clipboard!
Restarts bundles.
1.15.2. Syntax Copy linkLink copied to clipboard!
bundle:restart [options] [ids]
1.15.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
ids | The list of bundle (identified by IDs or name or name/version) separated by whitespaces |
1.15.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--context, -c | Use the given bundle context |
1.16. bundle:services Copy linkLink copied to clipboard!
1.16.1. Description Copy linkLink copied to clipboard!
Lists OSGi services per Bundle
1.16.2. Syntax Copy linkLink copied to clipboard!
bundle:services [options] [ids]
1.16.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
ids | The list of bundle (identified by IDs or name or name/version) separated by whitespaces |
1.16.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-p | Shows the properties of the services |
-u | Shows the services each bundle uses. (By default the provided services are shown) |
--context, -c | Use the given bundle context |
-a | Shows all services. (Karaf commands and completers are hidden by default) |
1.17. bundle:start-level Copy linkLink copied to clipboard!
1.17.1. Description Copy linkLink copied to clipboard!
Gets or sets the start level of a bundle.
1.17.2. Syntax Copy linkLink copied to clipboard!
bundle:start-level [options] id [startLevel]
1.17.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
id | The bundle ID or name or name/version |
startLevel | The bundle’s new start level |
1.17.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--context | Use the given bundle context |
1.18. bundle:start Copy linkLink copied to clipboard!
1.18.1. Description Copy linkLink copied to clipboard!
Starts bundles.
1.18.2. Syntax Copy linkLink copied to clipboard!
bundle:start [options] [ids]
1.18.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
ids | The list of bundle (identified by IDs or name or name/version) separated by whitespaces |
1.18.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-t, --transient | Keep the bundle as auto-start |
--context, -c | Use the given bundle context |
1.19. bundle:status Copy linkLink copied to clipboard!
1.19.1. Description Copy linkLink copied to clipboard!
Get the bundle current status
1.19.2. Syntax Copy linkLink copied to clipboard!
bundle:status [options] id
1.19.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
id | The bundle ID or name or name/version |
1.19.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--context | Use the given bundle context |
1.20. bundle:stop Copy linkLink copied to clipboard!
1.20.1. Description Copy linkLink copied to clipboard!
Stop bundles.
1.20.2. Syntax Copy linkLink copied to clipboard!
bundle:stop [options] [ids]
1.20.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
ids | The list of bundle (identified by IDs or name or name/version) separated by whitespaces |
1.20.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-t, --transient | Keep the bundle as auto-start |
--context, -c | Use the given bundle context |
1.21. bundle:tree-show Copy linkLink copied to clipboard!
1.21.1. Description Copy linkLink copied to clipboard!
Shows the tree of bundles based on the wiring information.
1.21.2. Syntax Copy linkLink copied to clipboard!
bundle:tree-show [options] id
1.21.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
id | The bundle ID or name or name/version |
1.21.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-v, --version | Show bundle versions |
--context | Use the given bundle context |
1.22. bundle:uninstall Copy linkLink copied to clipboard!
1.22.1. Description Copy linkLink copied to clipboard!
Uninstall bundles.
1.22.2. Syntax Copy linkLink copied to clipboard!
bundle:uninstall [options] [ids]
1.22.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
ids | The list of bundle (identified by IDs or name or name/version) separated by whitespaces |
1.22.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--context, -c | Use the given bundle context |
1.23. bundle:update Copy linkLink copied to clipboard!
1.23.1. Description Copy linkLink copied to clipboard!
Update bundle.
1.23.2. Syntax Copy linkLink copied to clipboard!
bundle:update [options] id [location]
1.23.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
id | The bundle ID or name or name/version |
location | The bundles update location |
1.23.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--context | Use the given bundle context |
--raw | Do not update the bundles’s Bundle-UpdateLocation manifest header |
-r, --refresh | Perform a refresh after the bundle update |
1.24. bundle:watch Copy linkLink copied to clipboard!
1.24.1. Description Copy linkLink copied to clipboard!
Watches and updates bundles
1.24.2. Syntax Copy linkLink copied to clipboard!
bundle:watch [options] [urls]
1.24.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
urls | The bundle IDs or URLs |
1.24.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-i | Watch interval |
--help | Display this help message |
--stop | Stops watching all bundles |
--remove | Removes bundles from the watch list |
--start | Starts watching the selected bundles |
--list | Displays the watch list |
1.24.5. Details Copy linkLink copied to clipboard!
Watches the local maven repo for changes in snapshot jars and redploys changed jars
Chapter 2. camel Copy linkLink copied to clipboard!
2.1. camel:component-list Copy linkLink copied to clipboard!
2.1.1. Description Copy linkLink copied to clipboard!
Lists all Camel components that are in use in Karaf.
2.1.2. Syntax Copy linkLink copied to clipboard!
camel:component-list [options] name
2.1.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | The Camel context name where to look for the components |
2.1.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--verbose, -v | Verbose output which shows more information |
2.2. camel:context-inflight Copy linkLink copied to clipboard!
2.2.1. Description Copy linkLink copied to clipboard!
List inflight exchanges.
2.2.2. Syntax Copy linkLink copied to clipboard!
camel:context-inflight [options] name [route]
2.2.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | The Camel context name |
route | The Camel route ID |
2.2.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--limit, -l | To limit the number of exchanges shown |
--sort, -s | true = sort by longest duration, false = sort by exchange id |
2.3. camel:context-info Copy linkLink copied to clipboard!
2.3.1. Description Copy linkLink copied to clipboard!
Display detailed information about a Camel context.
2.3.2. Syntax Copy linkLink copied to clipboard!
camel:context-info [options] name
2.3.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | The name of the Camel context |
2.3.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--verbose, -v | Verbose output |
2.4. camel:context-list Copy linkLink copied to clipboard!
2.4.1. Description Copy linkLink copied to clipboard!
Lists all Camel contexts.
2.4.2. Syntax Copy linkLink copied to clipboard!
camel:context-list [options]
2.4.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
2.5. camel:context-resume Copy linkLink copied to clipboard!
2.5.1. Description Copy linkLink copied to clipboard!
Resumes a Camel context.
2.5.2. Syntax Copy linkLink copied to clipboard!
camel:context-resume [options] context
2.5.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
context | The name of the Camel context. |
2.5.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
2.6. camel:context-start Copy linkLink copied to clipboard!
2.6.1. Description Copy linkLink copied to clipboard!
Start a Camel context.
2.6.2. Syntax Copy linkLink copied to clipboard!
camel:context-start [options] context
2.6.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
context | The name of the Camel context. |
2.6.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
2.7. camel:context-stop Copy linkLink copied to clipboard!
2.7.1. Description Copy linkLink copied to clipboard!
Stop a Camel context. It becomes unavailable and can not be started again.
2.7.2. Syntax Copy linkLink copied to clipboard!
camel:context-stop [options] context
2.7.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
context | The name of the Camel context. |
2.7.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
2.8. camel:context-suspend Copy linkLink copied to clipboard!
2.8.1. Description Copy linkLink copied to clipboard!
Suspends a Camel context.
2.8.2. Syntax Copy linkLink copied to clipboard!
camel:context-suspend [options] context
2.8.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
context | The name of the Camel context. |
2.8.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
2.9. camel:eip-explain Copy linkLink copied to clipboard!
2.9.1. Description Copy linkLink copied to clipboard!
Explain the EIP in the CamelContext
2.9.2. Syntax Copy linkLink copied to clipboard!
camel:eip-explain [options] name nameOrId
2.9.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | The name of the Camel context |
nameOrId | The name of the EIP or a node id to refer to a specific node from the routes |
2.9.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--verbose, -v | Verbose output to explain all options |
--help | Display this help message |
2.10. camel:endpoint-explain Copy linkLink copied to clipboard!
2.10.1. Description Copy linkLink copied to clipboard!
Explain all Camel endpoints available in the CamelContext
2.10.2. Syntax Copy linkLink copied to clipboard!
camel:endpoint-explain [options] name
2.10.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | The name of the Camel context |
2.10.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--verbose, -v | Verbose output to explain all options |
--help | Display this help message |
--filter, -f | To filter endpoints by pattern |
2.11. camel:endpoint-list Copy linkLink copied to clipboard!
2.11.1. Description Copy linkLink copied to clipboard!
Lists Camel endpoints
2.11.2. Syntax Copy linkLink copied to clipboard!
camel:endpoint-list [options] [name]
2.11.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | The name of the Camel context or a wildcard expression |
2.11.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--verbose, -v | Verbose output which does not limit the length of the uri shown, or to explain all options (if explain selected) |
--explain, -e | Whether to explain the endpoint options |
--decode, -d | Whether to decode the endpoint uri so its human readable |
2.12. camel:endpoint-stats Copy linkLink copied to clipboard!
2.12.1. Description Copy linkLink copied to clipboard!
Display endpoint runtime statistics
2.12.2. Syntax Copy linkLink copied to clipboard!
camel:endpoint-stats [options] [name]
2.12.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | The name of the Camel context (support wildcard) |
2.12.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--filter, -f | Filter the list by in,out,static,dynamic |
--decode, -d | Whether to decode the endpoint uri so its human readable |
2.13. camel:rest-api-doc Copy linkLink copied to clipboard!
2.13.1. Description Copy linkLink copied to clipboard!
List the Camel REST services API documentation (requires camel-swagger-java on classpath)
2.13.2. Syntax Copy linkLink copied to clipboard!
camel:rest-api-doc [options] name
2.13.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | The Camel context name where to look for the REST services |
2.13.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
2.14. camel:rest-registry-list Copy linkLink copied to clipboard!
2.14.1. Description Copy linkLink copied to clipboard!
Lists all Camel REST services enlisted in the Rest Registry from a CamelContext
2.14.2. Syntax Copy linkLink copied to clipboard!
camel:rest-registry-list [options] name
2.14.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | The Camel context name where to look for the REST services |
2.14.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--verbose, -v | Verbose output which does not limit the length of the uri shown |
--decode, -d | Whether to decode the endpoint uri so its human readable |
2.15. camel:rest-show Copy linkLink copied to clipboard!
2.15.1. Description Copy linkLink copied to clipboard!
Display the Camel REST definition in XML
2.15.2. Syntax Copy linkLink copied to clipboard!
camel:rest-show [options] name
2.15.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | The name of the Camel context |
2.15.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
2.16. camel:route-info Copy linkLink copied to clipboard!
2.16.1. Description Copy linkLink copied to clipboard!
Display information about a Camel route.
2.16.2. Syntax Copy linkLink copied to clipboard!
camel:route-info [options] context route
2.16.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
context | The Camel context name. |
route | The Camel route ID or a wildcard expression |
2.16.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
2.17. camel:route-list Copy linkLink copied to clipboard!
2.17.1. Description Copy linkLink copied to clipboard!
List Camel routes.
2.17.2. Syntax Copy linkLink copied to clipboard!
camel:route-list [options] [name]
2.17.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | The Camel context name where to look for the route |
2.17.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
2.18. camel:route-profile Copy linkLink copied to clipboard!
2.18.1. Description Copy linkLink copied to clipboard!
Display profile information about Camel route(s).
2.18.2. Syntax Copy linkLink copied to clipboard!
camel:route-profile [options] context route
2.18.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
context | The Camel context name. |
route | The Camel route ID or a wildcard expression |
2.18.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
2.19. camel:route-reset-stats Copy linkLink copied to clipboard!
2.19.1. Description Copy linkLink copied to clipboard!
Reset route performance stats from a CamelContext
2.19.2. Syntax Copy linkLink copied to clipboard!
camel:route-reset-stats [options] context
2.19.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
context | The name of the Camel context. |
2.19.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
2.20. camel:route-resume Copy linkLink copied to clipboard!
2.20.1. Description Copy linkLink copied to clipboard!
Resume a Camel route
2.20.2. Syntax Copy linkLink copied to clipboard!
camel:route-resume [options] context route
2.20.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
context | The Camel context name. |
route | The Camel route ID or a wildcard expression |
2.20.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
2.21. camel:route-show Copy linkLink copied to clipboard!
2.21.1. Description Copy linkLink copied to clipboard!
Display the Camel route definition in XML
2.21.2. Syntax Copy linkLink copied to clipboard!
camel:route-show [options] context route
2.21.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
context | The Camel context name. |
route | The Camel route ID or a wildcard expression |
2.21.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
2.22. camel:route-start Copy linkLink copied to clipboard!
2.22.1. Description Copy linkLink copied to clipboard!
Start a Camel route
2.22.2. Syntax Copy linkLink copied to clipboard!
camel:route-start [options] context route
2.22.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
context | The Camel context name. |
route | The Camel route ID or a wildcard expression |
2.22.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
2.23. camel:route-stop Copy linkLink copied to clipboard!
2.23.1. Description Copy linkLink copied to clipboard!
Stop a Camel route
2.23.2. Syntax Copy linkLink copied to clipboard!
camel:route-stop [options] context route
2.23.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
context | The Camel context name. |
route | The Camel route ID or a wildcard expression |
2.23.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
2.24. camel:route-suspend Copy linkLink copied to clipboard!
2.24.1. Description Copy linkLink copied to clipboard!
Suspend a Camel route
2.24.2. Syntax Copy linkLink copied to clipboard!
camel:route-suspend [options] context route
2.24.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
context | The Camel context name. |
route | The Camel route ID or a wildcard expression |
2.24.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
Chapter 3. config Copy linkLink copied to clipboard!
3.1. config:cancel Copy linkLink copied to clipboard!
3.1.1. Description Copy linkLink copied to clipboard!
Cancels the changes to the configuration being edited.
3.1.2. Syntax Copy linkLink copied to clipboard!
config:cancel [options]
3.1.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
3.2. config:delete Copy linkLink copied to clipboard!
3.2.1. Description Copy linkLink copied to clipboard!
Delete a configuration.
3.2.2. Syntax Copy linkLink copied to clipboard!
config:delete [options] pid
3.2.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
pid | PID of the configuration |
3.2.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--force | Force the edition of this config, even if another one was under edition |
3.3. config:edit Copy linkLink copied to clipboard!
3.3.1. Description Copy linkLink copied to clipboard!
Creates or edits a configuration.
3.3.2. Syntax Copy linkLink copied to clipboard!
config:edit [options] pid
3.3.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
pid | PID of the configuration or of the factory if --factory is given. Pid can also be specified as ldap query |
3.3.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--alias | Specifies the alias used for this factory config. |
--factory | Define this config as a factory config. Will be created on calling update |
--force | Force the edition of this config, even if another one was under edition |
3.3.5. Details Copy linkLink copied to clipboard!
classpath:edit.txt
3.4. config:install Copy linkLink copied to clipboard!
3.4.1. Description Copy linkLink copied to clipboard!
Install a cfg file in the Karaf etc folder.
3.4.2. Syntax Copy linkLink copied to clipboard!
config:install [options] url finalname
3.4.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
url | The URL of the cfg file. |
finalname | Final name of the cfg file |
3.4.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-o, --override | Override the target cfg file |
--help | Display this help message |
3.5. config:list Copy linkLink copied to clipboard!
3.5.1. Description Copy linkLink copied to clipboard!
Lists existing configurations.
3.5.2. Syntax Copy linkLink copied to clipboard!
config:list [options] [query]
3.5.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
query | Query in LDAP syntax. Example: "(service.pid=org.apache.karaf.log)" |
3.5.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
3.6. config:meta Copy linkLink copied to clipboard!
3.6.1. Description Copy linkLink copied to clipboard!
Lists meta type information.
3.6.2. Syntax Copy linkLink copied to clipboard!
config:meta [options] pid
3.6.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
pid | The configuration pid |
3.6.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-c | Create respective config from metatype defaults |
3.7. config:property-append Copy linkLink copied to clipboard!
3.7.1. Description Copy linkLink copied to clipboard!
Appends the given value to an existing property or creates the property with the specified name and value.
3.7.2. Syntax Copy linkLink copied to clipboard!
config:property-append [options] name value
3.7.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | The name of the property |
value | The value to append to the property |
3.7.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-p, --pid | The configuration pid |
3.8. config:property-delete Copy linkLink copied to clipboard!
3.8.1. Description Copy linkLink copied to clipboard!
Deletes a property from the configuration being edited.
3.8.2. Syntax Copy linkLink copied to clipboard!
config:property-delete [options] property
3.8.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
property | The name of the property to delete |
3.8.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-p, --pid | The configuration pid |
3.9. config:property-get Copy linkLink copied to clipboard!
3.9.1. Description Copy linkLink copied to clipboard!
Gets the value of a property in the currently edited configuration.
3.9.2. Syntax Copy linkLink copied to clipboard!
config:property-get [options] property
3.9.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
property | The name of the property to get value for |
3.9.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--raw | |
-p, --pid | The configuration pid |
3.10. config:property-list Copy linkLink copied to clipboard!
3.10.1. Description Copy linkLink copied to clipboard!
Lists properties from the currently edited configuration.
3.10.2. Syntax Copy linkLink copied to clipboard!
config:property-list [options]
3.10.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--raw | |
-p, --pid | The configuration pid |
3.11. config:property-set Copy linkLink copied to clipboard!
3.11.1. Description Copy linkLink copied to clipboard!
Sets a property in the currently edited configuration.
3.11.2. Syntax Copy linkLink copied to clipboard!
config:property-set [options] property value
3.11.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
property | The name of the property to set |
value | The value of the property |
3.11.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-p, --pid | The configuration pid |
3.12. config:update Copy linkLink copied to clipboard!
3.12.1. Description Copy linkLink copied to clipboard!
Saves and propagates changes from the configuration being edited.
3.12.2. Syntax Copy linkLink copied to clipboard!
config:update [options]
3.12.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
Chapter 4. cxf Copy linkLink copied to clipboard!
4.1. cxf:list-busses Copy linkLink copied to clipboard!
4.1.1. Description Copy linkLink copied to clipboard!
Lists all CXF Busses.
4.1.2. Syntax Copy linkLink copied to clipboard!
cxf:list-busses [options]
4.1.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--no-format | Disable table rendered output |
4.2. cxf:list-endpoints Copy linkLink copied to clipboard!
4.2.1. Description Copy linkLink copied to clipboard!
Lists all CXF Endpoints on a Bus.
4.2.2. Syntax Copy linkLink copied to clipboard!
cxf:list-endpoints [options] [bus]
4.2.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
bus | The CXF bus name where to look for the Endpoints |
4.2.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-f, --fulladdress | Display full address of an endpoint |
--no-format | Disable table rendered output |
4.3. cxf:start-endpoint Copy linkLink copied to clipboard!
4.3.1. Description Copy linkLink copied to clipboard!
Starts a CXF Endpoint on a Bus.
4.3.2. Syntax Copy linkLink copied to clipboard!
cxf:start-endpoint [options] bus endpoint
4.3.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
bus | The CXF bus name where to look for the Endpoint |
endpoint | The Endpoint name to start |
4.3.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
4.4. cxf:stop-endpoint Copy linkLink copied to clipboard!
4.4.1. Description Copy linkLink copied to clipboard!
Stops a CXF Endpoint on a Bus.
4.4.2. Syntax Copy linkLink copied to clipboard!
cxf:stop-endpoint [options] bus endpoint
4.4.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
bus | The CXF bus name where to look for the Endpoint |
endpoint | The Endpoint name to stop |
4.4.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
Chapter 5. dev Copy linkLink copied to clipboard!
5.1. dev:dump-create Copy linkLink copied to clipboard!
5.1.1. Description Copy linkLink copied to clipboard!
Creates zip archive with diagnostic info.
5.1.2. Syntax Copy linkLink copied to clipboard!
dev:dump-create [options] [name]
5.1.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | Name of created zip or directory |
5.1.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--no-heap-dump | Include or not the heap dump in ZIP archive |
--no-thread-dump | Include or not the thread dump in ZIP archive |
-d, --directory | Creates dump in a directory in place of a ZIP archive |
Chapter 6. feature Copy linkLink copied to clipboard!
6.1. feature:export-bundles Copy linkLink copied to clipboard!
6.1.1. Description Copy linkLink copied to clipboard!
Export all of the bundles that make up a specified feature to a directory on the file system.
6.1.2. Syntax Copy linkLink copied to clipboard!
feature:export-bundles [options] featureName exportLocation
6.1.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
featureName | The name of the feature you want to export bundles for |
exportLocation | Where you want to export the bundles |
6.1.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-d, --dependencies-only | This flag indicates that only bundles marked as a dependency will be exported. |
--help | Display this help message |
-v, --version | The version of the feature you want to export bundles for. Default is latest |
6.2. feature:info Copy linkLink copied to clipboard!
6.2.1. Description Copy linkLink copied to clipboard!
Shows information about selected feature.
6.2.2. Syntax Copy linkLink copied to clipboard!
feature:info [options] name [version]
6.2.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | The name of the feature |
version | The version of the feature |
6.2.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-d, --dependency | Display dependencies info |
-b, --bundle | Display bundles info |
-t, --tree | Display feature tree |
-c, --configuration | Display configuration info |
-x, --xml | Display feature xml |
--conditional | Display conditional info |
--color | Colorize output (`always', `never' or `auto') |
6.3. feature:install Copy linkLink copied to clipboard!
6.3.1. Description Copy linkLink copied to clipboard!
Installs a feature with the specified name and version.
6.3.2. Syntax Copy linkLink copied to clipboard!
feature:install [options] features
6.3.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
features | The name and version of the features to install. A feature id looks like name/version. The version is optional. |
6.3.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-t, --simulate | Perform a simulation only |
--features-wiring | Print the wiring between features |
--help | Display this help message |
-v, --verbose | Explain what is being done |
--all-wiring | Print the full wiring |
--store | Store the resolution into the given file and result for offline analysis |
-u, --upgrade | Perform an upgrade of feature if previous version are installed or install it |
-r, --no-auto-refresh | Do not automatically refresh bundles |
-s, --no-auto-start | Do not start the bundles |
-m, --no-auto-manage | Do not automatically manage bundles |
-g, --region | Region to install to |
6.4. feature:list Copy linkLink copied to clipboard!
6.4.1. Description Copy linkLink copied to clipboard!
Lists all existing features available from the defined repositories.
6.4.2. Syntax Copy linkLink copied to clipboard!
feature:list [options]
6.4.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-i, --installed | Display a list of all installed features only |
-s, --show-hidden | Display hidden features |
--help | Display this help message |
-o, --ordered | Display a list using alphabetical order |
-b, --show-blacklisted | Display blacklisted features |
-r, --required | Display a list of all required features only |
--no-format | Disable table rendered output |
6.5. feature:regions Copy linkLink copied to clipboard!
6.5.1. Description Copy linkLink copied to clipboard!
Prints information about region digraph.
6.5.2. Syntax Copy linkLink copied to clipboard!
feature:regions [options] [regions]
6.5.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
regions | Regions to provide detailed info for. |
6.5.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-n, --namespaces | Show namespaces in each filter. |
-f, --filters | Show filters. |
-v, --verbose | Show all info. |
-b, --bundles | Show bundles in each region. |
6.6. feature:refresh Copy linkLink copied to clipboard!
6.6.1. Description Copy linkLink copied to clipboard!
Reloads features processing instructions and reprovisions existing features.
6.6.2. Syntax Copy linkLink copied to clipboard!
feature:refresh [options]
6.6.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-t, --simulate | Perform a simulation only |
--features-wiring | Print the wiring between features |
--help | Display this help message |
-v, --verbose | Explain what is being done |
--all-wiring | Print the full wiring |
6.7. feature:repo-add Copy linkLink copied to clipboard!
6.7.1. Description Copy linkLink copied to clipboard!
Add a features repository
6.7.2. Syntax Copy linkLink copied to clipboard!
feature:repo-add [options] name/url [version]
6.7.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name/url | Shortcut name of the features repository or the full URL |
version | The version of the features repository if using features repository name as first argument. It should be empty if using the URL |
6.7.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-i, --install | Install all features contained in the features repository |
6.8. feature:repo-list Copy linkLink copied to clipboard!
6.8.1. Description Copy linkLink copied to clipboard!
Displays a list of all defined repositories.
6.8.2. Syntax Copy linkLink copied to clipboard!
feature:repo-list [options]
6.8.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-r | Reload all feature urls |
-b, --show-blacklisted | Also display blacklisted repositories |
--no-format | Disable table rendered output |
6.9. feature:repo-refresh Copy linkLink copied to clipboard!
6.9.1. Description Copy linkLink copied to clipboard!
Refresh a features repository
6.9.2. Syntax Copy linkLink copied to clipboard!
feature:repo-refresh [options] [repository] [Feature version]
6.9.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
repository | Shortcut name of the feature repository or the full URI |
Feature version | The version of the feature if using the feature name. Should be empty if using the uri |
6.9.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
6.10. feature:repo-remove Copy linkLink copied to clipboard!
6.10.1. Description Copy linkLink copied to clipboard!
Removes the specified repository features service.
6.10.2. Syntax Copy linkLink copied to clipboard!
feature:repo-remove [options] repository [Feature version]
6.10.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
repository | Shortcut name of the feature repository or the full URI |
Feature version | The version of the feature if using the feature name. Should be empty if using the uri |
6.10.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-u, --uninstall-all | Uninstall all features from the repository |
6.11. feature:requirement-add Copy linkLink copied to clipboard!
6.11.1. Description Copy linkLink copied to clipboard!
Add provisioning requirements.
6.11.2. Syntax Copy linkLink copied to clipboard!
feature:requirement-add [options] requirements
6.11.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
requirements |
6.11.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-t, --simulate | Perform a simulation only |
--features-wiring | Print the wiring between features |
--help | Display this help message |
-v, --verbose | Explain what is being done |
--all-wiring | Print the full wiring |
--store | Store the resolution into the given file and result for offline analysis |
-r, --no-auto-refresh | Do not automatically refresh bundles |
-s, --no-auto-start | Do not start the bundles |
-m, --no-auto-manage | Do not automatically manage bundles |
-g, --region | Region to install to |
6.12. feature:requirement-list Copy linkLink copied to clipboard!
6.12.1. Description Copy linkLink copied to clipboard!
List provisioning requirements.
6.12.2. Syntax Copy linkLink copied to clipboard!
feature:requirement-list [options]
6.12.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--no-format | Disable table rendered output |
6.13. feature:requirement-remove Copy linkLink copied to clipboard!
6.13.1. Description Copy linkLink copied to clipboard!
Remove provisioning requirements.
6.13.2. Syntax Copy linkLink copied to clipboard!
feature:requirement-remove [options] requirements
6.13.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
requirements |
6.13.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-t, --simulate | Perform a simulation only |
--features-wiring | Print the wiring between features |
--help | Display this help message |
-g, --region | Region to apply to |
-v, --verbose | Explain what is being done |
--all-wiring | Print the full wiring |
--store | Store the resolution into the given file and result for offline analysis |
-r, --no-auto-refresh | Do not automatically refresh bundles |
-s, --no-auto-start | Do not start the bundles |
-m, --no-auto-manage | Do not automatically manage bundles |
6.14. feature:start Copy linkLink copied to clipboard!
6.14.1. Description Copy linkLink copied to clipboard!
Start features with the specified name and version.
6.14.2. Syntax Copy linkLink copied to clipboard!
feature:start [options] feature
6.14.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
feature | The name and version of the features to start. A feature id looks like name/version. |
6.14.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-t, --simulate | Perform a simulation only |
--help | Display this help message |
-g, --region | Region to apply to |
-v, --verbose | Explain what is being done |
6.15. feature:stop Copy linkLink copied to clipboard!
6.15.1. Description Copy linkLink copied to clipboard!
Stop features with the specified name and version.
6.15.2. Syntax Copy linkLink copied to clipboard!
feature:stop [options] feature
6.15.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
feature | The name and version of the features to stop. A feature id looks like name/version. |
6.15.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-t, --simulate | Perform a simulation only |
--help | Display this help message |
-g, --region | Region to apply to |
-v, --verbose | Explain what is being done |
6.16. feature:uninstall Copy linkLink copied to clipboard!
6.16.1. Description Copy linkLink copied to clipboard!
Uninstalls a feature with the specified name and version.
6.16.2. Syntax Copy linkLink copied to clipboard!
feature:uninstall [options] features
6.16.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
features | The name and version of the features to uninstall. A feature id looks like name/version. The version is optional. |
6.16.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-t, --simulate | Perform a simulation only |
--help | Display this help message |
-v, --verbose | Explain what is being done |
-r, --no-auto-refresh | Do not automatically refresh bundles |
-g, --region | Region to install to |
6.17. feature:version-list Copy linkLink copied to clipboard!
6.17.1. Description Copy linkLink copied to clipboard!
Lists all versions of a feature available from the currently available repositories.
6.17.2. Syntax Copy linkLink copied to clipboard!
feature:version-list [options] feature
6.17.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
feature | Name of feature. |
6.17.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--no-format | Disable table rendered output |
Chapter 7. http Copy linkLink copied to clipboard!
7.1. http:list Copy linkLink copied to clipboard!
7.1.1. Description Copy linkLink copied to clipboard!
Lists details for servlets.
7.1.2. Syntax Copy linkLink copied to clipboard!
http:list [options]
7.1.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--no-format | Disable table rendered output |
7.2. http:proxies Copy linkLink copied to clipboard!
7.2.1. Description Copy linkLink copied to clipboard!
List the HTTP proxies
7.2.2. Syntax Copy linkLink copied to clipboard!
http:proxies [options]
7.2.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
7.3. http:proxy-add Copy linkLink copied to clipboard!
7.3.1. Description Copy linkLink copied to clipboard!
Add a new HTTP proxy
7.3.2. Syntax Copy linkLink copied to clipboard!
http:proxy-add [options] url proxyTo
7.3.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
url | HTTP proxy URL |
proxyTo | HTTP location to proxy on the prefix |
7.3.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
7.4. http:proxy-remove Copy linkLink copied to clipboard!
7.4.1. Description Copy linkLink copied to clipboard!
Remove an existing HTTP proxy
7.4.2. Syntax Copy linkLink copied to clipboard!
http:proxy-remove [options] prefix
7.4.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
prefix | The HTTP proxy prefix |
7.4.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
Chapter 8. jaas Copy linkLink copied to clipboard!
8.1. jaas:cancel Copy linkLink copied to clipboard!
8.1.1. Description Copy linkLink copied to clipboard!
Cancel the modification of a JAAS realm
8.1.2. Syntax Copy linkLink copied to clipboard!
jaas:cancel [options]
8.1.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
8.2. jaas:group-add Copy linkLink copied to clipboard!
8.2.1. Description Copy linkLink copied to clipboard!
Make a user part of a group
8.2.2. Syntax Copy linkLink copied to clipboard!
jaas:group-add [options] username group
8.2.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
username | Username |
group | Group |
8.2.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
8.3. jaas:group-create Copy linkLink copied to clipboard!
8.3.1. Description Copy linkLink copied to clipboard!
create a group in a realm
8.3.2. Syntax Copy linkLink copied to clipboard!
jaas:group-create [options] group
8.3.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
group | Group |
8.3.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
8.4. jaas:group-delete Copy linkLink copied to clipboard!
8.4.1. Description Copy linkLink copied to clipboard!
Remove a user from a group
8.4.2. Syntax Copy linkLink copied to clipboard!
jaas:group-delete [options] username group
8.4.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
username | Username |
group | Group |
8.4.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
8.5. jaas:group-list Copy linkLink copied to clipboard!
8.5.1. Description Copy linkLink copied to clipboard!
List groups in a realm
8.5.2. Syntax Copy linkLink copied to clipboard!
jaas:group-list [options]
8.5.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
8.6. jaas:group-role-add Copy linkLink copied to clipboard!
8.6.1. Description Copy linkLink copied to clipboard!
Add a role to a group
8.6.2. Syntax Copy linkLink copied to clipboard!
jaas:group-role-add [options] group role
8.6.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
group | Group |
role | Role |
8.6.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
8.7. jaas:group-role-delete Copy linkLink copied to clipboard!
8.7.1. Description Copy linkLink copied to clipboard!
Remove a role from a group
8.7.2. Syntax Copy linkLink copied to clipboard!
jaas:group-role-delete [options] group role
8.7.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
group | Group |
role | Role |
8.7.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
8.8. jaas:pending-list Copy linkLink copied to clipboard!
8.8.1. Description Copy linkLink copied to clipboard!
List the pending modification on the active JAAS Realm/Login Module
8.8.2. Syntax Copy linkLink copied to clipboard!
jaas:pending-list [options]
8.8.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
8.9. jaas:realm-list Copy linkLink copied to clipboard!
8.9.1. Description Copy linkLink copied to clipboard!
List JAAS realms
8.9.2. Syntax Copy linkLink copied to clipboard!
jaas:realm-list [options]
8.9.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-h, --hidden | Show hidden realms |
--no-format | Disable table rendered output |
8.10. jaas:realm-manage Copy linkLink copied to clipboard!
8.10.1. Description Copy linkLink copied to clipboard!
Manage users and roles of a JAAS Realm
8.10.2. Syntax Copy linkLink copied to clipboard!
jaas:realm-manage [options]
8.10.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-h, --hidden | Manage hidden realms |
--help | Display this help message |
--realm | JAAS Realm |
-f, --force | Force the management of this realm, even if another one was under management |
--index | Realm Index |
--module | JAAS Login Module Class Name |
8.11. jaas:role-add Copy linkLink copied to clipboard!
8.11.1. Description Copy linkLink copied to clipboard!
Add a role to a user
8.11.2. Syntax Copy linkLink copied to clipboard!
jaas:role-add [options] username role
8.11.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
username | User Name |
role | Role |
8.11.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
8.12. jaas:role-delete Copy linkLink copied to clipboard!
8.12.1. Description Copy linkLink copied to clipboard!
Delete a role from a user
8.12.2. Syntax Copy linkLink copied to clipboard!
jaas:role-delete [options] username role
8.12.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
username | User Name |
role | Role |
8.12.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
8.13. jaas:su Copy linkLink copied to clipboard!
8.13.1. Description Copy linkLink copied to clipboard!
Substitute user identity
8.13.2. Syntax Copy linkLink copied to clipboard!
jaas:su [options] [user]
8.13.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
user | Name of the user to substitute (defaults to karaf) |
8.13.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--realm |
8.14. jaas:sudo Copy linkLink copied to clipboard!
8.14.1. Description Copy linkLink copied to clipboard!
Execute a command as another user
8.14.2. Syntax Copy linkLink copied to clipboard!
jaas:sudo [options] [command]
8.14.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
command |
8.14.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--realm | |
--user |
8.15. jaas:update Copy linkLink copied to clipboard!
8.15.1. Description Copy linkLink copied to clipboard!
Apply pending modification on the edited JAAS Realm
8.15.2. Syntax Copy linkLink copied to clipboard!
jaas:update [options]
8.15.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
8.16. jaas:user-add Copy linkLink copied to clipboard!
8.16.1. Description Copy linkLink copied to clipboard!
Add a user
8.16.2. Syntax Copy linkLink copied to clipboard!
jaas:user-add [options] username password
8.16.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
username | User Name |
password | Password |
8.16.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
8.17. jaas:user-delete Copy linkLink copied to clipboard!
8.17.1. Description Copy linkLink copied to clipboard!
Delete a user
8.17.2. Syntax Copy linkLink copied to clipboard!
jaas:user-delete [options] username
8.17.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
username | User Name |
8.17.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
8.18. jaas:user-list Copy linkLink copied to clipboard!
8.18.1. Description Copy linkLink copied to clipboard!
List the users of the selected JAAS realm/login module
8.18.2. Syntax Copy linkLink copied to clipboard!
jaas:user-list [options]
8.18.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--no-format | Disable table rendered output |
8.19. jaas:whoami Copy linkLink copied to clipboard!
8.19.1. Description Copy linkLink copied to clipboard!
List currently active principals according to JAAS.
8.19.2. Syntax Copy linkLink copied to clipboard!
jaas:whoami [options]
8.19.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--no-format | Disable table rendered output. |
-g, --groups | Show groups instead of user. |
-a, --all | Show all JAAS principals regardless of type. |
-r, --roles | Show roles instead of user. |
Chapter 9. jdbc Copy linkLink copied to clipboard!
9.1. jdbc:ds-create Copy linkLink copied to clipboard!
9.1.1. Description Copy linkLink copied to clipboard!
Create a JDBC datasource config for pax-jdbc-config from a DataSourceFactory
9.1.2. Syntax Copy linkLink copied to clipboard!
jdbc:ds-create [options] name
9.1.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | The JDBC datasource name |
9.1.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-p, --password | The database password |
--help | Display this help message |
-dt, --databaseType | The database type (ConnectionPoolDataSource, XADataSource or DataSource) |
-dbName | Database name to use |
-dn, --driverName | org.osgi.driver.name property of the DataSourceFactory |
-url | The JDBC URL to use |
-dc, --driverClass | org.osgi.driver.class property of the DataSourceFactory |
-u, --username | The database username |
9.2. jdbc:ds-delete Copy linkLink copied to clipboard!
9.2.1. Description Copy linkLink copied to clipboard!
Delete a JDBC datasource
9.2.2. Syntax Copy linkLink copied to clipboard!
jdbc:ds-delete [options] name
9.2.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | The JDBC datasource name (the one used at creation time) |
9.2.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
9.3. jdbc:ds-factories Copy linkLink copied to clipboard!
9.3.1. Description Copy linkLink copied to clipboard!
List the JDBC DataSourceFactories
9.3.2. Syntax Copy linkLink copied to clipboard!
jdbc:ds-factories [options]
9.3.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
9.4. jdbc:ds-info Copy linkLink copied to clipboard!
9.4.1. Description Copy linkLink copied to clipboard!
Display details about a JDBC datasource
9.4.2. Syntax Copy linkLink copied to clipboard!
jdbc:ds-info [options] datasource
9.4.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
datasource | The JDBC datasource name |
9.4.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
9.5. jdbc:ds-list Copy linkLink copied to clipboard!
9.5.1. Description Copy linkLink copied to clipboard!
List the JDBC datasources
9.5.2. Syntax Copy linkLink copied to clipboard!
jdbc:ds-list [options]
9.5.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
9.6. jdbc:execute Copy linkLink copied to clipboard!
9.6.1. Description Copy linkLink copied to clipboard!
Execute a SQL command on a given JDBC datasource
9.6.2. Syntax Copy linkLink copied to clipboard!
jdbc:execute [options] datasource command
9.6.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
datasource | The JDBC datasource |
command | The SQL command to execute |
9.6.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
9.7. jdbc:query Copy linkLink copied to clipboard!
9.7.1. Description Copy linkLink copied to clipboard!
Execute a SQL query on a JDBC datasource
9.7.2. Syntax Copy linkLink copied to clipboard!
jdbc:query [options] datasource query
9.7.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
datasource | The JDBC datasource to use |
query | The SQL query to execute |
9.7.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
9.8. jdbc:tables Copy linkLink copied to clipboard!
9.8.1. Description Copy linkLink copied to clipboard!
List the tables on a given JDBC datasource
9.8.2. Syntax Copy linkLink copied to clipboard!
jdbc:tables [options] datasource
9.8.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
datasource | The JDBC datasource to use |
9.8.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
Chapter 10. jms Copy linkLink copied to clipboard!
10.1. jms:browse Copy linkLink copied to clipboard!
10.1.1. Description Copy linkLink copied to clipboard!
Browse a JMS queue
10.1.2. Syntax Copy linkLink copied to clipboard!
jms:browse [options] connectionFactory queue
10.1.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
connectionFactory | The JMS connection factory name |
queue | The JMS queue to browse |
10.1.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-v, --verbose | Display JMS properties |
-s, --selector | The selector to select the messages to browse |
-p, --password | Password to connect to the JMS broker |
-u, --username | Username to connect to the JMS broker |
10.2. jms:connectionfactories Copy linkLink copied to clipboard!
10.2.1. Description Copy linkLink copied to clipboard!
List the JMS connection factories
10.2.2. Syntax Copy linkLink copied to clipboard!
jms:connectionfactories [options]
10.2.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
10.3. jms:consume Copy linkLink copied to clipboard!
10.3.1. Description Copy linkLink copied to clipboard!
Consume messages from a JMS queue.
10.3.2. Syntax Copy linkLink copied to clipboard!
jms:consume [options] connectionFactory queue
10.3.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
connectionFactory | The JMS connection factory name |
queue | The JMS queue where to consume messages |
10.3.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-s, --selector | The selector to use to select the messages to consume |
-p, --password | Password to connect to the JMS broker |
-u, --username | Username to connect to the JMS broker |
10.4. jms:count Copy linkLink copied to clipboard!
10.4.1. Description Copy linkLink copied to clipboard!
Count the number of messages on a JMS queue.
10.4.2. Syntax Copy linkLink copied to clipboard!
jms:count [options] connectionFactory queue
10.4.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
connectionFactory | The JMS connection factory name |
queue | The JMS queue name |
10.4.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-p, --password | Password to connect to the JMS broker |
-u, --username | Username to connect to the JMS broker |
10.5. jms:create Copy linkLink copied to clipboard!
10.5.1. Description Copy linkLink copied to clipboard!
Create a JMS connection factory.
10.5.2. Syntax Copy linkLink copied to clipboard!
jms:create [options] name
10.5.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | The JMS connection factory name |
10.5.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-t, --type | The JMS connection factory type (ActiveMQ, Artemis or WebsphereMQ) |
--url | URL of the JMS broker. For WebsphereMQ type, the URL is hostname/port/queuemanager/channel |
-p, --password | Password to connect to the JMS broker |
-u, --username | Username to connect to the JMS broker |
10.6. jms:delete Copy linkLink copied to clipboard!
10.6.1. Description Copy linkLink copied to clipboard!
Delete a JMS connection factory
10.6.2. Syntax Copy linkLink copied to clipboard!
jms:delete [options] name
10.6.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | The JMS connection factory name |
10.6.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
10.7. jms:info Copy linkLink copied to clipboard!
10.7.1. Description Copy linkLink copied to clipboard!
Provides details about a JMS connection factory.
10.7.2. Syntax Copy linkLink copied to clipboard!
jms:info [options] connectionFactory
10.7.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
connectionFactory | The JMS connection factory name |
10.7.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-p, --password | Password to connect to the JMS broker |
-u, --username | Username to connect to the JMS broker |
10.8. jms:move Copy linkLink copied to clipboard!
10.8.1. Description Copy linkLink copied to clipboard!
Move messages from one JMS queue to another one.
10.8.2. Syntax Copy linkLink copied to clipboard!
jms:move [options] connectionFactory source destination
10.8.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
connectionFactory | The JMS connection factory name |
source | The source JMS queue |
destination | The destination JMS queue |
10.8.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-s, --selector | Selector to move only some messages |
-p, --password | Password to connect to the JMS broker |
-u, --username | Username to connect to the JMS broker |
10.9. jms:queues Copy linkLink copied to clipboard!
10.9.1. Description Copy linkLink copied to clipboard!
List the JMS queues.
10.9.2. Syntax Copy linkLink copied to clipboard!
jms:queues [options] connectionFactory
10.9.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
connectionFactory | The JMS connection factory name |
10.9.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-p, --password | Password to connect to the JMS broker |
-u, --username | Username to connect to the JMS broker |
10.10. jms:send Copy linkLink copied to clipboard!
10.10.1. Description Copy linkLink copied to clipboard!
Send a message to
10.10.2. Syntax Copy linkLink copied to clipboard!
jms:send [options] connectionFactory queue message
10.10.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
connectionFactory | The JMS connection factory name |
queue | The JMS queue name |
message | The JMS message content |
10.10.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-r, --replyTo | Set the message ReplyTo |
-p, --password | Password to connect to the JMS broker |
-u, --username | Username to connect to the JMS broker |
10.11. jms:topics Copy linkLink copied to clipboard!
10.11.1. Description Copy linkLink copied to clipboard!
List the JMS topics.
10.11.2. Syntax Copy linkLink copied to clipboard!
jms:topics [options] connectionFactory
10.11.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
connectionFactory | The JMS connection factory name |
10.11.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-p, --password | Password to connect to the JMS broker |
-u, --username | Username to connect to the JMS broker |
Chapter 11. jndi Copy linkLink copied to clipboard!
11.1. jndi:alias Copy linkLink copied to clipboard!
11.1.1. Description Copy linkLink copied to clipboard!
Create a JNDI alias on a given name.
11.1.2. Syntax Copy linkLink copied to clipboard!
jndi:alias [options] name alias
11.1.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | The JNDI name |
alias | The JNDI alias |
11.1.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
11.2. jndi:bind Copy linkLink copied to clipboard!
11.2.1. Description Copy linkLink copied to clipboard!
Bind an OSGi service in the JNDI context
11.2.2. Syntax Copy linkLink copied to clipboard!
jndi:bind [options] service name
11.2.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
service | The ID of the OSGi service to bind |
name | The JNDI name to bind the OSGi service |
11.2.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
11.3. jndi:contexts Copy linkLink copied to clipboard!
11.3.1. Description Copy linkLink copied to clipboard!
List the JNDI sub-contexts.
11.3.2. Syntax Copy linkLink copied to clipboard!
jndi:contexts [options] [context]
11.3.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
context | The base JNDI context |
11.3.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
11.4. jndi:create Copy linkLink copied to clipboard!
11.4.1. Description Copy linkLink copied to clipboard!
Create a new JNDI sub-context.
11.4.2. Syntax Copy linkLink copied to clipboard!
jndi:create [options] context
11.4.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
context | The JNDI sub-context name |
11.4.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
11.5. jndi:delete Copy linkLink copied to clipboard!
11.5.1. Description Copy linkLink copied to clipboard!
Delete a JNDI sub-context.
11.5.2. Syntax Copy linkLink copied to clipboard!
jndi:delete [options] context
11.5.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
context | The JNDI sub-context name |
11.5.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
11.6. jndi:names Copy linkLink copied to clipboard!
11.6.1. Description Copy linkLink copied to clipboard!
List the JNDI names.
11.6.2. Syntax Copy linkLink copied to clipboard!
jndi:names [options] [context]
11.6.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
context | The JNDI context to display the names |
11.6.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
11.7. jndi:unbind Copy linkLink copied to clipboard!
11.7.1. Description Copy linkLink copied to clipboard!
Unbind a JNDI name.
11.7.2. Syntax Copy linkLink copied to clipboard!
jndi:unbind [options] name
11.7.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | The JNDI name to unbind |
11.7.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
Chapter 12. kar Copy linkLink copied to clipboard!
12.1. kar:create Copy linkLink copied to clipboard!
12.1.1. Description Copy linkLink copied to clipboard!
Create a kar file for a list of feature repos
12.1.2. Syntax Copy linkLink copied to clipboard!
kar:create [options] repoName [features]
12.1.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
repoName | Repository name. The kar will contain all features of the named repository by default |
features | Names of the features to include. If set then only these features will be added |
12.1.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
12.2. kar:install Copy linkLink copied to clipboard!
12.2.1. Description Copy linkLink copied to clipboard!
Installs a KAR file.
12.2.2. Syntax Copy linkLink copied to clipboard!
kar:install [options] url
12.2.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
url | The URL of the KAR file to install. |
12.2.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--no-start | Do not start the bundles automatically |
12.3. kar:list Copy linkLink copied to clipboard!
12.3.1. Description Copy linkLink copied to clipboard!
List the installed KAR files.
12.3.2. Syntax Copy linkLink copied to clipboard!
kar:list [options]
12.3.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--no-format | Disable table rendered output |
12.4. kar:uninstall Copy linkLink copied to clipboard!
12.4.1. Description Copy linkLink copied to clipboard!
Uninstall a KAR file.
12.4.2. Syntax Copy linkLink copied to clipboard!
kar:uninstall [options] name
12.4.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | The name of the KAR file to uninstall. |
12.4.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
Chapter 13. log Copy linkLink copied to clipboard!
13.1. log:clear Copy linkLink copied to clipboard!
13.1.1. Description Copy linkLink copied to clipboard!
Clear log entries.
13.1.2. Syntax Copy linkLink copied to clipboard!
log:clear [options]
13.1.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
13.2. log:display Copy linkLink copied to clipboard!
13.2.1. Description Copy linkLink copied to clipboard!
Displays log entries.
13.2.2. Syntax Copy linkLink copied to clipboard!
log:display [options] [logger]
13.2.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
logger | The name of the logger. This can be ROOT, ALL, or the name of a logger specified in the org.ops4j.pax.logger.cfg file. |
13.2.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-p | Pattern for formatting the output |
--help | Display this help message |
--no-color | Disable syntax coloring of log events |
-n | Number of entries to display |
-l, --level | The minimal log level to display |
13.3. log:exception-display Copy linkLink copied to clipboard!
13.3.1. Description Copy linkLink copied to clipboard!
Displays the last occurred exception from the log.
13.3.2. Syntax Copy linkLink copied to clipboard!
log:exception-display [options] [logger]
13.3.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
logger | The name of the logger. This can be ROOT, ALL, or the name of a logger specified in the org.ops4j.pax.logger.cfg file. |
13.3.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
13.4. log:get Copy linkLink copied to clipboard!
13.4.1. Description Copy linkLink copied to clipboard!
Shows the currently set log level.
13.4.2. Syntax Copy linkLink copied to clipboard!
log:get [options] [logger]
13.4.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
logger | The name of the logger or ALL (default) |
13.4.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--no-format | Disable table rendered output |
13.5. log:load-test Copy linkLink copied to clipboard!
13.5.1. Description Copy linkLink copied to clipboard!
Load test log.
13.5.2. Syntax Copy linkLink copied to clipboard!
log:load-test [options]
13.5.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--messaged | |
--threads |
13.6. log:log Copy linkLink copied to clipboard!
13.6.1. Description Copy linkLink copied to clipboard!
Log a message.
13.6.2. Syntax Copy linkLink copied to clipboard!
log:log [options] message
13.6.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
message | The message to log |
13.6.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--level, -l | The level the message will be logged at |
13.7. log:set Copy linkLink copied to clipboard!
13.7.1. Description Copy linkLink copied to clipboard!
Sets the log level.
13.7.2. Syntax Copy linkLink copied to clipboard!
log:set [options] level [logger]
13.7.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
level | The log level to set (TRACE, DEBUG, INFO, WARN, ERROR) or DEFAULT to unset |
logger | Logger name or ROOT (default) |
13.7.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
13.8. log:tail Copy linkLink copied to clipboard!
13.8.1. Description Copy linkLink copied to clipboard!
Continuously display log entries. Use ctrl-c to quit this command
13.8.2. Syntax Copy linkLink copied to clipboard!
log:tail [options] [logger]
13.8.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
logger | The name of the logger. This can be ROOT, ALL, or the name of a logger specified in the org.ops4j.pax.logger.cfg file. |
13.8.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-p | Pattern for formatting the output |
--help | Display this help message |
--no-color | Disable syntax coloring of log events |
-n | Number of entries to display |
-l, --level | The minimal log level to display |
Chapter 14. maven Copy linkLink copied to clipboard!
14.1. maven:http-proxy-list Copy linkLink copied to clipboard!
14.1.1. Description Copy linkLink copied to clipboard!
Lists HTTP proxy configurations for Maven remote repositories
14.1.2. Syntax Copy linkLink copied to clipboard!
maven:http-proxy-list [options]
14.1.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-x, --show-passwords | Do not hide passwords related to Maven encryption |
14.2. maven:http-proxy Copy linkLink copied to clipboard!
14.2.1. Description Copy linkLink copied to clipboard!
Manage HTTP proxy configuration for Maven remote repositories
14.2.2. Syntax Copy linkLink copied to clipboard!
maven:http-proxy [options] [hostPort]
14.2.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
hostPort | host:port of HTTP proxy |
14.2.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-p, --password | Password for remote repository (may be encrypted, see "maven:password -ep") |
--help | Display this help message |
-f, --force | Do not ask for confirmation |
-id | Identifier of HTTP proxy |
--change | Changes HTTP proxy configuration in Maven settings |
-n, --non-proxy-hosts | Non-proxied hosts (in the format '192.168.* |
localhost | …') |
--remove | Removes HTTP proxy configuration from Maven settings |
--add | Adds HTTP proxy configuration to Maven settings |
-u, --username | Username for remote repository |
-x, --show-passwords | Do not hide passwords related to Maven encryption |
14.3. maven:password Copy linkLink copied to clipboard!
14.3.1. Description Copy linkLink copied to clipboard!
Manage passwords for remote repositories and proxies
14.3.2. Syntax Copy linkLink copied to clipboard!
maven:password [options]
14.3.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-emp, --encrypt-master-password | Encrypts master password used to encrypt/decrypt other passwords, see "mvn -emp" |
--help | Display this help message |
-ep, --encrypt-password | Encrypts passwords to use for remote repositories and proxies, see "mvn -ep" |
-p, --persist |
14.4. maven:repository-add Copy linkLink copied to clipboard!
14.4.1. Description Copy linkLink copied to clipboard!
Adds Maven repository
14.4.2. Syntax Copy linkLink copied to clipboard!
maven:repository-add [options] [uri]
14.4.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
uri | Repository URI. It may be file:// based, http(s):// based, may use other known protocol or even property placeholders (like ${karaf.base}) |
14.4.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-nr, --no-releases | Disable release handling in this repository |
-p, --password | Password for remote repository (may be encrypted, see "maven:password -ep") |
--help | Display this help message |
-f, --force | Do not ask for confirmation |
-id | Identifier of repository |
-idx | Index at which new repository is to be inserted (0-based) (defaults to last - repository will be appended) |
-d, --default | Edit default repository instead of remote one |
-s, --snapshots | Enable SNAPSHOT handling in the repository |
-cp, --checksum-policy | Checksum policy for repository (ignore, warn (default), fail) |
-u, --username | Username for remote repository |
-x, --show-passwords | Do not hide passwords related to Maven encryption |
-up, --update-policy | Update policy for repository (never, daily (default), interval:N, always) |
14.5. maven:repository-change Copy linkLink copied to clipboard!
14.5.1. Description Copy linkLink copied to clipboard!
Changes configuration of Maven repository
14.5.2. Syntax Copy linkLink copied to clipboard!
maven:repository-change [options] [uri]
14.5.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
uri | Repository URI. It may be file:// based, http(s):// based, may use other known protocol or even property placeholders (like ${karaf.base}) |
14.5.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-nr, --no-releases | Disable release handling in this repository |
-p, --password | Password for remote repository (may be encrypted, see "maven:password -ep") |
--help | Display this help message |
-f, --force | Do not ask for confirmation |
-id | Identifier of repository |
-d, --default | Edit default repository instead of remote one |
-s, --snapshots | Enable SNAPSHOT handling in the repository |
-cp, --checksum-policy | Checksum policy for repository (ignore, warn (default), fail) |
-u, --username | Username for remote repository |
-x, --show-passwords | Do not hide passwords related to Maven encryption |
-up, --update-policy | Update policy for repository (never, daily (default), interval:N, always) |
14.6. maven:repository-list Copy linkLink copied to clipboard!
14.6.1. Description Copy linkLink copied to clipboard!
Maven repository summary.
14.6.2. Syntax Copy linkLink copied to clipboard!
maven:repository-list [options]
14.6.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-v, --verbose | Show additional information (policies, source) |
-x, --show-passwords | Do not hide passwords related to Maven encryption |
14.7. maven:repository-remove Copy linkLink copied to clipboard!
14.7.1. Description Copy linkLink copied to clipboard!
Removes Maven repository
14.7.2. Syntax Copy linkLink copied to clipboard!
maven:repository-remove [options]
14.7.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-f, --force | Do not ask for confirmation |
-id | Identifier of repository |
-d, --default | Edit default repository instead of remote one |
-x, --show-passwords | Do not hide passwords related to Maven encryption |
14.8. maven:summary Copy linkLink copied to clipboard!
14.8.1. Description Copy linkLink copied to clipboard!
Maven configuration summary.
14.8.2. Syntax Copy linkLink copied to clipboard!
maven:summary [options]
14.8.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-p, --property-ids | Use PID property identifiers instead of their names |
-s, --source | Adds information about where the value is configured |
-d, --description | Adds description of Maven configuration options |
-x, --show-passwords | Do not hide passwords related to Maven encryption |
Chapter 15. obr Copy linkLink copied to clipboard!
15.1. obr:deploy Copy linkLink copied to clipboard!
15.1.1. Description Copy linkLink copied to clipboard!
Deploys a list of bundles using OBR service.
15.1.2. Syntax Copy linkLink copied to clipboard!
obr:deploy [options] bundles
15.1.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
bundles | List of bundle names to deploy (separated by whitespaces). The bundles are identified using the following syntax: symbolic_name,version where version is optional. |
15.1.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-d, --deployOptional | Deploy optional bundles |
-s, --start | Start the deployed bundles |
15.2. obr:find Copy linkLink copied to clipboard!
15.2.1. Description Copy linkLink copied to clipboard!
Find OBR bundles for a given filter.
15.2.2. Syntax Copy linkLink copied to clipboard!
obr:find [options] requirements
15.2.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
requirements | Requirement |
15.2.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
15.3. obr:info Copy linkLink copied to clipboard!
15.3.1. Description Copy linkLink copied to clipboard!
Prints information about OBR bundles.
15.3.2. Syntax Copy linkLink copied to clipboard!
obr:info [options] bundles
15.3.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
bundles | Specify bundles to query for information (separated by whitespaces). The bundles are identified using the following syntax: symbolic_name,version where version is optional. |
15.3.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
15.4. obr:list Copy linkLink copied to clipboard!
15.4.1. Description Copy linkLink copied to clipboard!
Lists OBR bundles, optionally providing the given packages.
15.4.2. Syntax Copy linkLink copied to clipboard!
obr:list [options] [packages]
15.4.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
packages | A list of packages separated by whitespaces. |
15.4.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--no-format | Disable table rendered output |
15.5. obr:resolve Copy linkLink copied to clipboard!
15.5.1. Description Copy linkLink copied to clipboard!
Shows the resolution output for a given set of requirements.
15.5.2. Syntax Copy linkLink copied to clipboard!
obr:resolve [options] requirements
15.5.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
requirements | Requirements |
15.5.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-w, --why | Display the reason of the inclusion of the resource |
--help | Display this help message |
--no-remote | Ignore remote resources during resolution |
-l, --no-local | Ignore local resources during resolution |
--deploy | Deploy the selected bundles |
--optional | Resolve optional dependencies |
--start | Deploy and start the selected bundles |
15.6. obr:source Copy linkLink copied to clipboard!
15.6.1. Description Copy linkLink copied to clipboard!
Downloads the sources for an OBR bundle.
15.6.2. Syntax Copy linkLink copied to clipboard!
obr:source [options] folder bundles
15.6.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
folder | Local folder for storing sources |
bundles | List of bundles to download the sources for. The bundles are identified using the following syntax: symbolic_name,version where version is optional. |
15.6.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-x | Extract the archive |
15.7. obr:start Copy linkLink copied to clipboard!
15.7.1. Description Copy linkLink copied to clipboard!
Deploys and starts a list of bundles using OBR.
15.7.2. Syntax Copy linkLink copied to clipboard!
obr:start [options] bundles
15.7.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
bundles | List of bundles to deploy (separated by whitespaces). The bundles are identified using the following syntax: symbolic_name,version where version is optional. |
15.7.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-d, --deployOptional | Deploy optional bundles |
15.8. obr:url-add Copy linkLink copied to clipboard!
15.8.1. Description Copy linkLink copied to clipboard!
Adds a list of repository URLs to the OBR service.
15.8.2. Syntax Copy linkLink copied to clipboard!
obr:url-add [options] urls
15.8.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
urls | Repository URLs to add to the OBR service separated by whitespaces |
15.8.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
15.9. obr:url-list Copy linkLink copied to clipboard!
15.9.1. Description Copy linkLink copied to clipboard!
Displays the repository URLs currently associated with the OBR service.
15.9.2. Syntax Copy linkLink copied to clipboard!
obr:url-list [options]
15.9.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--no-format | Disable table rendered output |
15.10. obr:url-refresh Copy linkLink copied to clipboard!
15.10.1. Description Copy linkLink copied to clipboard!
Reloads the repositories to obtain a fresh list of bundles.
15.10.2. Syntax Copy linkLink copied to clipboard!
obr:url-refresh [options] [ids]
15.10.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
ids | Repository URLs (or indexes if you use -i) to refresh (leave empty for all) |
15.10.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-i, --index | Use index to identify URL |
--help | Display this help message |
15.11. obr:url-remove Copy linkLink copied to clipboard!
15.11.1. Description Copy linkLink copied to clipboard!
Removes a list of repository URLs from the OBR service.
15.11.2. Syntax Copy linkLink copied to clipboard!
obr:url-remove [options] ids
15.11.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
ids | Repository URLs (or indexes if you use -i) to remove from OBR service |
15.11.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-i, --index | Use index to identify URL |
--help | Display this help message |
Chapter 16. package Copy linkLink copied to clipboard!
16.1. package:exports Copy linkLink copied to clipboard!
16.1.1. Description Copy linkLink copied to clipboard!
Lists exported packages and the bundles that export them
16.1.2. Syntax Copy linkLink copied to clipboard!
package:exports [options]
16.1.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-b | Only show packages exported by given bundle id |
-d | Only show packages that are exported by more than one bundle |
--show-name-only | Show only package name |
-p | Only show package starting with given name |
--no-format | Disable table rendered output |
16.2. package:imports Copy linkLink copied to clipboard!
16.2.1. Description Copy linkLink copied to clipboard!
Lists imported packages and the bundles that import them
16.2.2. Syntax Copy linkLink copied to clipboard!
package:imports [options]
16.2.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-b | Only show imports of the given bundle id |
--show-name-only | Show only package name |
--filter | Only show package instead of full filter |
-p | Only show package starting with given name |
--no-format | Disable table rendered output |
Chapter 17. profile Copy linkLink copied to clipboard!
17.1. profile:change-parents Copy linkLink copied to clipboard!
17.1.1. Description Copy linkLink copied to clipboard!
Replace the profile’s parents with the specified list of parents
17.1.2. Syntax Copy linkLink copied to clipboard!
profile:change-parents [options] profile parents
17.1.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
profile | Name of the profile. |
parents | The list of new parent profiles. |
17.1.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
17.2. profile:copy Copy linkLink copied to clipboard!
17.2.1. Description Copy linkLink copied to clipboard!
Copies the specified source profile
17.2.2. Syntax Copy linkLink copied to clipboard!
profile:copy [options] source profile target profile
17.2.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
source profile | Name of the source profile. |
target profile | Name of the target profile. |
17.2.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-f, --force | Flag to allow overwriting the target profile (if exists). |
17.3. profile:create Copy linkLink copied to clipboard!
17.3.1. Description Copy linkLink copied to clipboard!
Create a new profile with the specified name and parents
17.3.2. Syntax Copy linkLink copied to clipboard!
profile:create [options] [profileId]
17.3.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
profileId |
17.3.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--parents | Optionally specifies one or multiple parent profiles. To specify multiple parent profiles, specify this flag multiple times on the command line. For example, --parents foo --parents bar. |
17.3.5. Details Copy linkLink copied to clipboard!
classpath:profileCreate.txt
17.4. profile:delete Copy linkLink copied to clipboard!
17.4.1. Description Copy linkLink copied to clipboard!
Delete the specified profile
17.4.2. Syntax Copy linkLink copied to clipboard!
profile:delete [options] profile
17.4.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
profile | Name of the profile to delete. |
17.4.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
17.5. profile:display Copy linkLink copied to clipboard!
17.5.1. Description Copy linkLink copied to clipboard!
Displays information about the specified profile
17.5.2. Syntax Copy linkLink copied to clipboard!
profile:display [options] profile
17.5.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
profile | The name of the profile. |
17.5.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--overlay, -o | Shows the overlay profile settings, taking into account the settings inherited from parent profiles. |
--help | Display this help message |
--effective, -e | Shows the effective profile settings, taking into account properties substitution. |
--display-resources, -r | Displays the content of additional profile resources. |
17.6. profile:edit Copy linkLink copied to clipboard!
17.6.1. Description Copy linkLink copied to clipboard!
Edits the specified profile
17.6.2. Syntax Copy linkLink copied to clipboard!
profile:edit [options] profile
17.6.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
profile | The target profile to edit |
17.6.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--remove | Removes value from a delimited list. It is only usable with the system, config & pid options |
--help | Display this help message |
--delete | Delete values. This option can be used to delete a feature, a bundle or a pid from the profile. |
--append | Append value to a delimited list. It is only usable with the system, config & pid options |
-c, --config | Edit the Java system properties that affect the karaf container (analogous to editing etc/config.properties in a root container). |
--delimiter | Specifies the delimiter to use for appends and removals. |
-x, --extension | Edit extension libraries. To specify multiple libraries, specify this flag multiple times. |
-p, --pid | Edit an OSGi configuration property, specified in the format <PID>/<Property>. To specify multiple properties, specify this flag multiple times. |
--resource | Selects a resource under the profile to edit. This option should only be used alone. |
--set | Set or create values (selected by default). |
-i, --import-pid | Imports the pids that are edited, from local OSGi config admin |
-f, --features | Edit features. To specify multiple features, specify this flag multiple times. For example, --features foo --features bar. |
-r, --repositories | Edit the features repositories. To specify multiple repositories, specify this flag multiple times. |
-o, --overrides | Edit overrides. To specify multiple libraries, specify this flag multiple times. |
-s, --system | Edit the Java system properties that affect installed bundles (analogous to editing etc/system.properties in a root container). |
-b, --bundles | Edit bundles. To specify multiple bundles, specify this flag multiple times. |
-n, --endorsed | Edit endorsed libraries. To specify multiple libraries, specify this flag multiple times. |
-l, --libs | Edit libraries. To specify multiple libraries, specify this flag multiple times. |
17.6.5. Details Copy linkLink copied to clipboard!
classpath:profileEdit.txt
17.7. profile:list Copy linkLink copied to clipboard!
17.7.1. Description Copy linkLink copied to clipboard!
Lists all profiles
17.7.2. Syntax Copy linkLink copied to clipboard!
profile:list [options]
17.7.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--hidden | Display hidden profiles |
17.8. profile:rename Copy linkLink copied to clipboard!
17.8.1. Description Copy linkLink copied to clipboard!
Rename the specified source profile
17.8.2. Syntax Copy linkLink copied to clipboard!
profile:rename [options] profile name new profile name
17.8.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
profile name | Name of the profile. |
new profile name | New name of the profile. |
17.8.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-f, --force | Flag to allow replacing the target profile (if exists). |
--help | Display this help message |
--version | The profile version to rename. Defaults to the current default version. |
Chapter 18. scheduler Copy linkLink copied to clipboard!
18.1. scheduler:list Copy linkLink copied to clipboard!
18.1.1. Description Copy linkLink copied to clipboard!
List scheduled jobs
18.1.2. Syntax Copy linkLink copied to clipboard!
scheduler:list [options]
18.1.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
18.2. scheduler:reschedule Copy linkLink copied to clipboard!
18.2.1. Description Copy linkLink copied to clipboard!
Update scheduling of an existing job
18.2.2. Syntax Copy linkLink copied to clipboard!
scheduler:reschedule [options] name
18.2.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | The job name |
18.2.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--period | Time during executions (in seconds) |
--at | Absolute date in ISO format (ex: 2014-05-13T13:56:45) |
--times | Number of times this job should be executed |
--concurrent | Should jobs run concurrently or not (defaults to false) |
--cron | The cron expression |
18.3. scheduler:schedule Copy linkLink copied to clipboard!
18.3.1. Description Copy linkLink copied to clipboard!
Schedule a script execution
18.3.2. Syntax Copy linkLink copied to clipboard!
scheduler:schedule [options] script
18.3.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
script | The script to schedule |
18.3.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--period | Time during executions (in seconds) |
--at | Absolute date in ISO format (ex: 2014-05-13T13:56:45) |
--times | Number of times this job should be executed |
--name | Name of this job |
--concurrent | Should jobs run concurrently or not (defaults to false) |
--cron | The cron expression |
18.4. scheduler:trigger Copy linkLink copied to clipboard!
18.4.1. Description Copy linkLink copied to clipboard!
Manually trigger a scheduled job
18.4.2. Syntax Copy linkLink copied to clipboard!
scheduler:trigger [options] name
18.4.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | Name of the job to trigger |
18.4.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-b, background | schedule the trigger in the background |
18.5. scheduler:unschedule Copy linkLink copied to clipboard!
18.5.1. Description Copy linkLink copied to clipboard!
Unschedule a job
18.5.2. Syntax Copy linkLink copied to clipboard!
scheduler:unschedule [options] [name]
18.5.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name |
18.5.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
Chapter 19. scr Copy linkLink copied to clipboard!
19.1. scr:activate Copy linkLink copied to clipboard!
19.1.1. Description Copy linkLink copied to clipboard!
Activates a Component for the given name
19.1.2. Syntax Copy linkLink copied to clipboard!
scr:activate [options] name
19.1.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | The name of the Component to activate |
19.1.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-s, --show-hidden | Show all Components including the System Components (hidden by default) |
19.2. scr:components Copy linkLink copied to clipboard!
19.2.1. Description Copy linkLink copied to clipboard!
Display available components
19.2.2. Syntax Copy linkLink copied to clipboard!
scr:components [options]
19.2.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-s, --show-hidden | Show all Components including the System Components (hidden by default) |
19.3. scr:deactivate Copy linkLink copied to clipboard!
19.3.1. Description Copy linkLink copied to clipboard!
Deactivates a Component for the given name
19.3.2. Syntax Copy linkLink copied to clipboard!
scr:deactivate [options] name
19.3.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | The name of the Component to deactivate |
19.3.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-s, --show-hidden | Show all Components including the System Components (hidden by default) |
19.4. scr:details Copy linkLink copied to clipboard!
19.4.1. Description Copy linkLink copied to clipboard!
Display available components
19.4.2. Syntax Copy linkLink copied to clipboard!
scr:details [options] name
19.4.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | The component name |
19.4.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-s, --show-hidden | Show all Components including the System Components (hidden by default) |
Chapter 20. service Copy linkLink copied to clipboard!
20.1. service:list Copy linkLink copied to clipboard!
20.1.1. Description Copy linkLink copied to clipboard!
Lists OSGi services.
20.1.2. Syntax Copy linkLink copied to clipboard!
service:list [options] [objectClass]
20.1.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
objectClass | Name of service objectClass to filter for |
20.1.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-a | Shows all services. (By default Karaf commands are hidden) |
--help | Display this help message |
-n | Shows only service class names |
20.2. service:wait Copy linkLink copied to clipboard!
20.2.1. Description Copy linkLink copied to clipboard!
Wait for a given OSGi service.
20.2.2. Syntax Copy linkLink copied to clipboard!
service:wait [options] service
20.2.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
service | The service class or filter |
20.2.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-t, --timeout | timeout to wait for the service (in milliseconds, negative to not wait at all, zero to wait forever) |
--help | Display this help message |
-e, --exception | throw an exception if the service is not found after the timeout |
Chapter 21. shell Copy linkLink copied to clipboard!
21.1. shell:completion Copy linkLink copied to clipboard!
21.1.1. Description Copy linkLink copied to clipboard!
Display or change the completion mode on the current console session.
21.1.2. Syntax Copy linkLink copied to clipboard!
shell:completion [options] [mode]
21.1.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
mode | The completion mode to set. The valid completion modes are: global, first, subshell. |
21.1.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
21.2. shell:exec Copy linkLink copied to clipboard!
21.2.1. Description Copy linkLink copied to clipboard!
Executes system processes.
21.2.2. Syntax Copy linkLink copied to clipboard!
shell:exec [options] command
21.2.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
command | Execution command with arguments |
21.2.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
21.3. shell:info Copy linkLink copied to clipboard!
21.3.1. Description Copy linkLink copied to clipboard!
Prints system information.
21.3.2. Syntax Copy linkLink copied to clipboard!
shell:info [options]
21.3.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--memory-pools, -mp | Includes detailed information about memory pools |
21.4. shell:java Copy linkLink copied to clipboard!
21.4.1. Description Copy linkLink copied to clipboard!
Executes a Java standard application.
21.4.2. Syntax Copy linkLink copied to clipboard!
shell:java [options] className [arguments]
21.4.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
className | The name of the class to invoke |
arguments | Arguments to pass to the method of the given class |
21.4.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-m, --method | Invoke a named method |
21.5. shell:logout Copy linkLink copied to clipboard!
21.5.1. Description Copy linkLink copied to clipboard!
Disconnects shell from current session.
21.5.2. Syntax Copy linkLink copied to clipboard!
shell:logout [options]
21.5.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
21.6. shell:printf Copy linkLink copied to clipboard!
21.6.1. Description Copy linkLink copied to clipboard!
Formats and prints arguments.
21.6.2. Syntax Copy linkLink copied to clipboard!
shell:printf [options] format arguments
21.6.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
format | The format pattern to use |
arguments | The arguments for the given format pattern |
21.6.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
21.7. shell:source Copy linkLink copied to clipboard!
21.7.1. Description Copy linkLink copied to clipboard!
Run a script
21.7.2. Syntax Copy linkLink copied to clipboard!
shell:source [options] script [args]
21.7.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
script | A URI pointing to the script |
args | Arguments for the script |
21.7.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
21.8. shell:stack-traces-print Copy linkLink copied to clipboard!
21.8.1. Description Copy linkLink copied to clipboard!
Prints the full stack trace in the console when the execution of a command throws an exception.
21.8.2. Syntax Copy linkLink copied to clipboard!
shell:stack-traces-print [options] [print]
21.8.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
| Print stack traces or not (defaults to true) |
21.8.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
21.9. shell:threads Copy linkLink copied to clipboard!
21.9.1. Description Copy linkLink copied to clipboard!
Prints the current threads (optionally with stacktraces)
21.9.2. Syntax Copy linkLink copied to clipboard!
shell:threads [options] [id]
21.9.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
id | Show details for thread with this Id |
21.9.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--tree | Display threads as a tree |
--list | Display threads as a list |
-e, --empty-groups | Show empty groups |
--packages | Pruned packages |
--help | Display this help message |
--monitors | Display monitors |
-t, --threshold | Minimal number of interesting stack trace line to display a thread |
--locks | Display locks |
--no-format | Disable table rendered output |
21.10. shell:ttop Copy linkLink copied to clipboard!
21.10.1. Description Copy linkLink copied to clipboard!
Display threads information
21.10.2. Syntax Copy linkLink copied to clipboard!
shell:ttop [options]
21.10.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--seconds, -s | Delay between updates in seconds |
--order, -o | Comma separated list of sorting keys |
--millis, -m | Delay between updates in milliseconds |
--nthreads, -n | Only display up to NTHREADS threads |
--help | Display this help message |
--stats, -t | Comma separated list of stats to display |
21.11. shell:watch Copy linkLink copied to clipboard!
21.11.1. Description Copy linkLink copied to clipboard!
Watches & refreshes the output of a command
21.11.2. Syntax Copy linkLink copied to clipboard!
shell:watch [options] command
21.11.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
command | The command to watch / refresh |
21.11.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-n, --interval | The interval between executions of the command in seconds |
-a, --append | The output should be appended but not clear the console |
Chapter 22. ssh Copy linkLink copied to clipboard!
22.1. ssh:ssh Copy linkLink copied to clipboard!
22.1.1. Description Copy linkLink copied to clipboard!
Connects to a remote SSH server
22.1.2. Syntax Copy linkLink copied to clipboard!
ssh:ssh [options] hostname [command]
22.1.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
hostname | The host name to connect to via SSH |
command | Optional command to execute |
22.1.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-P, --password | The password for remote login |
-p, --port | The port to use for SSH connection |
-q | Quiet Mode. Do not ask for confirmations |
-r, --retries | retry connection establishment (up to attempts times) |
-l, --username | The user name for remote login |
-k, --keyfile | The private keyFile location when using key login, need have BouncyCastle registered as security provider using this flag |
22.2. ssh:sshd Copy linkLink copied to clipboard!
22.2.1. Description Copy linkLink copied to clipboard!
Creates a SSH server
22.2.2. Syntax Copy linkLink copied to clipboard!
ssh:sshd [options]
22.2.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-b, --background | The service will run in the background |
-p, --port | The port to setup the SSH server |
-i, --idle-timeout | The session idle timeout in milliseconds |
-w, --welcome-banner | The welcome banner to display when logging in |
-n, --nio-workers | The number of NIO worker threads to use |
Chapter 23. subsystem Copy linkLink copied to clipboard!
23.1. subsystem:info Copy linkLink copied to clipboard!
23.1.1. Description Copy linkLink copied to clipboard!
Display information about subsystems
23.1.2. Syntax Copy linkLink copied to clipboard!
subsystem:info [options] [id]
23.1.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
id | Subsystem names or ids |
23.1.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--indent | Indentation method |
23.2. subsystem:install Copy linkLink copied to clipboard!
23.2.1. Description Copy linkLink copied to clipboard!
Install a new subsystem
23.2.2. Syntax Copy linkLink copied to clipboard!
subsystem:install [options] [Subsystem to install the new subsystem into] [New subsystem url]
23.2.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
Subsystem to install the new subsystem into | |
New subsystem url |
23.2.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
23.3. subsystem:list Copy linkLink copied to clipboard!
23.3.1. Description Copy linkLink copied to clipboard!
List all subsystems
23.3.2. Syntax Copy linkLink copied to clipboard!
subsystem:list [options]
23.3.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
23.4. subsystem:start Copy linkLink copied to clipboard!
23.4.1. Description Copy linkLink copied to clipboard!
Start the specified subsystems
23.4.2. Syntax Copy linkLink copied to clipboard!
subsystem:start [options] [id]
23.4.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
id | Subsystem names or ids |
23.4.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
23.5. subsystem:stop Copy linkLink copied to clipboard!
23.5.1. Description Copy linkLink copied to clipboard!
Stop the specified subsystems
23.5.2. Syntax Copy linkLink copied to clipboard!
subsystem:stop [options] [id]
23.5.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
id | Subsystem names or ids |
23.5.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
23.6. subsystem:uninstall Copy linkLink copied to clipboard!
23.6.1. Description Copy linkLink copied to clipboard!
Uninstall the specified subsystems
23.6.2. Syntax Copy linkLink copied to clipboard!
subsystem:uninstall [options] [id]
23.6.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
id | Subsystem names or ids |
23.6.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
Chapter 24. system Copy linkLink copied to clipboard!
24.1. system:framework Copy linkLink copied to clipboard!
24.1.1. Description Copy linkLink copied to clipboard!
OSGi Framework options.
24.1.2. Syntax Copy linkLink copied to clipboard!
system:framework [options] [framework]
24.1.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
framework | Name of the OSGi framework to use |
24.1.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-nodebug, --disable-debug | Disable debug for the OSGi framework |
--help | Display this help message |
-debug, --enable-debug | Enable debug for the OSGi framework |
24.2. system:name Copy linkLink copied to clipboard!
24.2.1. Description Copy linkLink copied to clipboard!
Show or change Karaf instance name.
24.2.2. Syntax Copy linkLink copied to clipboard!
system:name [options] [name]
24.2.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
name | New name for the instance |
24.2.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
24.3. system:property Copy linkLink copied to clipboard!
24.3.1. Description Copy linkLink copied to clipboard!
Get or set a system property.
24.3.2. Syntax Copy linkLink copied to clipboard!
system:property [options] [key] [value]
24.3.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
key | The system property name |
value | New value for the system property |
24.3.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
-f, --file-dump | Dump all system properties in a file (in data folder) |
-p, --persistent | Persist the new value to the etc/system.properties file |
-u, --unset | Show unset know properties with value unset |
24.4. system:shutdown Copy linkLink copied to clipboard!
24.4.1. Description Copy linkLink copied to clipboard!
Shutdown the Karaf container.
24.4.2. Syntax Copy linkLink copied to clipboard!
system:shutdown [options] [time]
24.4.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
time | Shutdown after a specified delay. The time argument can have different formats. First, it can be an absolute time in the format hh:mm, in which hh is the hour (1 or 2 digits) and mm is the minute of the hour (in two digits). Second, it can be in the format m (or +m), in which m is the number of minutes to wait. The word now is an alias for 0 (or +0). |
24.4.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
-c, --clean, --clean-all, -ca | Force a clean restart by deleting the data directory |
--help | Display this help message |
-h, --halt | Halt the Karaf container. |
-cc, --clean-cache, -cc | Force a clean restart by deleting the cache directory |
-f, --force | Force the shutdown without confirmation message. |
-r, --reboot | Reboot the Karaf container. |
24.5. system:start-level Copy linkLink copied to clipboard!
24.5.1. Description Copy linkLink copied to clipboard!
Gets or sets the system start level.
24.5.2. Syntax Copy linkLink copied to clipboard!
system:start-level [options] [level]
24.5.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
level | The new system start level to set |
24.5.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
24.6. system:version Copy linkLink copied to clipboard!
24.6.1. Description Copy linkLink copied to clipboard!
Display the instance version
24.6.2. Syntax Copy linkLink copied to clipboard!
system:version [options]
24.6.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
Chapter 25. web Copy linkLink copied to clipboard!
25.1. web:launch Copy linkLink copied to clipboard!
25.1.1. Description Copy linkLink copied to clipboard!
Start the web application in a browser of the given bundle ID.
25.1.2. Syntax Copy linkLink copied to clipboard!
web:launch [options] id
25.1.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
id | The bundle ID to start the browser with |
25.1.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--base | The base URL to browse to, otherwise default localhost:8181 will be used. |
--help | Display this help message |
25.2. web:list Copy linkLink copied to clipboard!
25.2.1. Description Copy linkLink copied to clipboard!
Lists details for war bundles.
25.2.2. Syntax Copy linkLink copied to clipboard!
web:list [options]
25.2.3. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
--no-format | Disable table rendered output |
25.3. web:start Copy linkLink copied to clipboard!
25.3.1. Description Copy linkLink copied to clipboard!
Start the web context of given bundles.
25.3.2. Syntax Copy linkLink copied to clipboard!
web:start [options] ids
25.3.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
ids | The list of bundle IDs separated by whitespaces |
25.3.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |
25.4. web:stop Copy linkLink copied to clipboard!
25.4.1. Description Copy linkLink copied to clipboard!
Stop the web context of given bundles.
25.4.2. Syntax Copy linkLink copied to clipboard!
web:stop [options] ids
25.4.3. Arguments Copy linkLink copied to clipboard!
Name | Description |
---|---|
ids | The list of bundle IDs separated by whitespaces |
25.4.4. Options Copy linkLink copied to clipboard!
Name | Description |
---|---|
--help | Display this help message |