lb
Display list of bundles installed in OSGi module
framework
lb | grep <BUNDLE_MATCH_PATTERN>
List of bundles with filter using grep command and you
can pass any string or valid regex pattern.
bundle <BUNDLE_ID>
Print specific bundle information. It required bundle
Id as parameter
headers <BUNDLE_ID>
Print all OSGi headers which is used by specified
bundle. These headers are in MANIFEST.MF file. It is required bundle Id as
parameter.
install [URI_JAR_FILE_PATH]
Install bundle into OSGi container and we need to
specify the valid URI path.
start [BUNDLE_ID]
Command will start bundle and it is required bundle Id.
stop [BUNDLE_ID]
Command will stop bundle and it is required bundle Id.
uninstall [BUNDLE_ID]
Uninstall bundle and it required bundle Id.
inspect requirement service [BUNDLE_ID]
List all services required by bundle. Require-Capability
header is in MANIFEST.MF file is relevant to this command.
inspect
capability service [BUNDLE_ID]
List
all services provided by bundle. Provide-Capability header is in
MANIFEST.MF file is related to this command.
diag [BUNDLE_ID]
Command will print unsatisfied constraints to specific
bundle and its required bundle Id.
upgrade:check
Command will display all Upgrade Step Process Steps registered
in the registry.
system:check
Command will show all unsatisfied components list along
with Gogo shell commands to troubleshoot in detail. It will run Declarative
Service Soft Circular Dependency Checker, Declarative Service Unsatisfied
Component Checker, Spring Extender Unavailable Component Checker
history
history will print all commands used in the current session.
It is similar to Unix/Linux history command.
help
It will show all available commands and its
description.
services
Command will print all registered service components
available in the OSGi module framework.
services grep [SEARCH-PATTERN]
Command will print all registered service components
available in the OSGi module framework with filter. It will narrow down the
list.
ds:unsatisfied
Command will display all unsatisfied service component
list in the OSGi module framework.
ds:unsatisfied [BUNDLE_ID]
Command will display unsatisfied service components to
specified bundle. It’s required bundle Id
scr:info [COMPONENT_ID]
Command will print detailed information of given component.
It required the component Id and we can get component Id when we use services/
ds:unsatisfied commands.
scr:list
It will display all components registered in service
registry.
scr:list | grep [SEARCH-PATTERN]
It will display matching components registered in
service registry.
dm
List all dependency manager components and these are mostly
service builder service components from Liferay OSGi Module Framework.
dm OR grep [SEARCH-PATTERN]
List all matching dependency manager components and
these are mostly service builder service components from Liferay OSGi Module Framework.
dm cp OR dm compact
Display components in compact from.
dm nd OR dm nodeps
Command will display only components and it is hiding dependencies
of the component.
dm na OR dm notavail
It will print only not available dependency components.
It is very useful when we troubleshoot unsatisfied service builder components.
dm wtf
Detects where are the root failures for components. This
is also most useful command to troubleshoot service builder components
Example Usage of Commands
lb
lb |
grep student
bundle
1076
headers
1076
install
"file:C://Liferay/Liferay7.2/student-web/target/student-web-1.0.0.jar"
start
1076
stop
1076
uninstall
1076
inspect
requirement service 1076
inspect
capability service 1076
diag
1076
upgrade:check
system:check
history
help
services
services
| grep student
ds:unsatisfied
ds:unsatisfied
1075
scr:info
4884
scr:list
scr:list
| grep student
dm
dm |
grep student
dm cp
dm nd
dm na
dm
wtf
|
Author
Your site is truly cool and this is an extraordinary moving article and If it's not too much trouble share more like that. Thank You..
ReplyDeleteDigital Marketing Course in Hyderabad
Thank a lot. You have done excellent job. I enjoyed your blog . Nice efforts
ReplyDeleteData Science Certification in Hyderabad
Wow, happy to see this awesome post. I hope this think help any newbie for their awesome work and by the way thanks for share this awesomeness, i thought this was a pretty interesting read when it comes to this topic. Thank you..
ReplyDeleteArtificial Intelligence Course
I need to thank you for this very good read and i have bookmarked to check out new things from your post. Thank you very much for sharing such a useful article and will definitely saved and revisit your site.
ReplyDeleteData Science Course
Thanks Your post is so cool and this is an extraordinary moving article and If it's not too much trouble share more like that.
ReplyDeleteDigital Marketing Course in Hyderabad
You have done excellent job Thanks a lot and I enjoyed your blog. Great Post.
ReplyDeleteData Science Certification in Hyderabad
Great post happy to see this. I thought this was a pretty interesting read when it comes to this topic Information. Thanks..
ReplyDeleteArtificial Intelligence Course
Nice Post thank you very much for sharing such a useful information and will definitely saved and revisit your site and i have bookmarked to check out new things frm your post.
ReplyDeleteData Science Course
I really enjoyed this article and it turned out to be really helpful for me and it's always nice to be able to not only be informed, but also entertained!
ReplyDeleteDigital Marketing Training in Hyderabad
Your website is really cool with great inspiring articles and thanks for sharing this amazing and educative blog post!
ReplyDeleteCloud Computing Courses in Hyderabad
I like viewing this web page which comprehend the price of delivering the excellent useful resource free of charge and truly adored reading your posting. Thank you!
ReplyDeleteData Science Certification Course
Excellent effort to make this blog more wonderful and informative. The information shared was very useful.
ReplyDeleteCloud Computing Course Fees in Bangalore
I am always searching online for articles that can help me and you made some good points in Features also. Keep working, great job
ReplyDeleteData Science Training
ReplyDeleteReally, this article is truly one of the best in the article. And this one that I found quite fascinating and should be part of my collection. Very good work!.
Data Science Training in Jaipur
I want to thank you for your efforts in writing this article. The information provided was very useful.
ReplyDeleteData Science Certification Bangalore