Changes

Jump to: navigation, search

Run Your Exported OSGi Bundle Using CLI

953 bytes added, 14:16, 30 January 2011
Created page with '== Run Your Exported OSGi Bundle Using CLI == First, start your OSGi server and then enter 'ss' at the osgi> prompt. left|thumb<br style="clear:left;" />…'
== Run Your Exported OSGi Bundle Using CLI ==

First, start your OSGi server and then enter 'ss' at the osgi> prompt.
[[Image:bundle-16.png|left|thumb]]<br style="clear:left;" />
Install your bundle making note of its ID number. Then type 'ss' to ensure your bundle is installed.
[[Image:bundle-17.png|left|thumb]]<br style="clear:left;" />
Use the 'start' com and to run your bundle.
[[Image:bundle-18.png|left|thumb]]<br style="clear:left;" />
Use the 'stop' command to stop your bundle. Use the 'uninstall' command to remove your bundle from the execution environment. Use the 'exit' command to leave the OSGi console.
[[Image:bundle-19.png|left|thumb]]<br style="clear:left;" />
'''Congratulations!''' You've just run your exported OSGi bundle in a standalone execution environment.

== OSGi Console Commands ==
* bundle-level
* headers
* install
* list
* ls
* refresh
* resolve
* restart
* shutdown
* start
* start-level
* stop
* uninstall
* update
63
edits

Navigation menu