...
Panel |
---|
|
No Format |
---|
| ____ _ __ __ _
/ ___| ___ _ ____ _(_) ___ ___| \/ (_)_ __
\___ \ / _ \ '__\ \ / / |/ __/ _ \ |\/| | \ \/ /
___) | __/ | \ V /| | (_| __/ | | | |> <
|____/ \___|_| \_/ |_|\___\___|_| |_|_/_/\_\
|
No Format |
---|
|
ServiceMix Kernel (1.01.0)
Type 'help' for more information.
--------------------------------------------------------------------------------------------------------------------------------
servicemix>
|
|
...
Panel |
---|
|
No Format |
---|
|
servicemix> help
ForAvailable commands:
about Display information about ServiceMix, visit:the current GShell application.
http://servicemix.apache.org
Available commands:
. help Display help for the current context.
exit Exit the current shell.
echo Print arguments to standard output.
clear Clear the terminal screen.
source Read and execute commands from a file in the current shell environment.
set Set a variable or property.
unset Unset a variable or property.
alias Define an Alias to: source
? alias.
unalias Undefine an alias.
history Display history.
info Display JVM informations about the current application.
quit AliasLink to: helpexit
ssh clear Connect to a SSH server.
sshd ClearStart thea terminalSSH screenserver.
createexec Execute system processes.
java CreateExecute a newJava ServiceMixstandard instanceapplication.
sleep echo Sleep for a bit then wake up.
date EchoDisplays orthe printcurrent argumentstime toand STDOUT
exit date.
edit Edit a file with an external editor.
find Find files in a hierarchy.
hostname Displays the name Exitof the (sub)shellcurrent host.
helpprintf Print formatted output.
cat Displays the contents Showof commanda helpfile.
historygrep Displays lines matching a pattern.
print Displays the historyLink ofto: commandsecho
cd info Changes the current directory.
pwd Show system informations Displays the current directory.
setls List the contents of a file or directory.
cp SetCopies a variablefile or directory.
sourcerm Remove a file or directory.
fileinfo Displays information Loadabout a file/url into the current shell.
touch Sets the last-modified time of a file.
unsetdir Link to: ls
copy UnsetLink ato: variable
Available shells:
admin
features
cp
del Link to: rm
osgi Command group: osgi
log Command group: log
obr
osgi
remote
utils
admin Command group: admin
packages Command group: packages
config Command group: config
features Command group: features
|
|
#top
Deploy a sample application
...
In the console, run the following commands:
Code Block |
---|
osgi /install -s mvn:org.apache.geronimo.specs/geronimo-activation_1.1_spec/1.0.2
osgi /install -s mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.stax-api-1.0/1.1.0
osgi /install -s mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxb-api-2.1/1.1.0
osgi /install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl/2.1.6_1
osgi /install -s mvn:org.apache.camel/camel-core/1.4.0
osgi /install -s mvn:org.springframework/spring-tx/2.5.5
osgi /install -s mvn:org.apache.camel/camel-spring/1.4.0
osgi /install -s mvn:org.apache.camel/camel-osgi/1.4.0
osgi /install -s mvn:org.apache.camel/camel-example-osgi/1.4.0
|
...
To stop this demo, run the following command:
Code Block |
---|
osgi list/list | grep example
|
In the output, locate the line containing camel-example-osgi
and note the id of the bundle in the first column. Then launch the following command:
Code Block |
---|
osgi /stop [id]
|
If you wish, you can start again the sample by using the following command:
Code Block |
---|
osgi /start [id]
|
To uninstall the demo, run the following command:
Code Block |
---|
osgi /uninstall [id]
|
Common Problems
...