tag:blogger.com,1999:blog-9210566578097047576.post8574639839388211084..comments2023-11-05T02:04:07.740-08:00Comments on <coderthoughts />: Using OSGi Subsystems to deploy your ApplicationsDavid Bosschaerthttp://www.blogger.com/profile/13786738766478890804noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-9210566578097047576.post-59598186998193153882014-04-08T21:12:35.779-07:002014-04-08T21:12:35.779-07:00Just an FYI, I hit the same issue mentioned by gem...Just an FYI, I hit the same issue mentioned by gembin ("unable to find subsystem 0") and it was due to the resolver bundle missing from my deployment.<br /><br />Thanks for the writeup David!slushhttps://www.blogger.com/profile/03335230146851574317noreply@blogger.comtag:blogger.com,1999:blog-9210566578097047576.post-69437687837495439712013-06-29T02:35:39.762-07:002013-06-29T02:35:39.762-07:00hi David, could make an archive which including al...hi David, could make an archive which including all the required bundles?<br /><br />because i'm just following the blog, and have all the bundles active, but finally,<br />when i issued subsystem:list command, it failed with 'Unable to find subsystem 0'<br /><br />i just wonder if i missed something.<br /><br />thanks!gembinhttps://www.blogger.com/profile/05267534461332486722noreply@blogger.comtag:blogger.com,1999:blog-9210566578097047576.post-82727529282626484932013-04-22T07:26:20.537-07:002013-04-22T07:26:20.537-07:00One additional comment in relation to running on a...One additional comment in relation to running on a non-Equinox R5 (or newer) OSGi framework. The <b>org.eclipse.equinox.coordinator</b> bundle has a dependency on a package that is provided by the Equinox framework implementation. To run this bundle on other OSGi frameworks, add the <b>org.eclipse.equinox.supplement</b> bundle to provide this dependency. It can be obtained from here: <a href="http://download.eclipse.org/equinox/drops/R-3.8.2-201302041200/download.php?dropFile=org.eclipse.equinox.supplement_1.4.100.v20120522-1813.jar" rel="nofollow">org.eclipse.equinox.supplement_1.4.100.v20120522-1813.jar</a>David Bosschaerthttps://www.blogger.com/profile/13786738766478890804noreply@blogger.comtag:blogger.com,1999:blog-9210566578097047576.post-40957894017480936752013-04-19T07:27:27.235-07:002013-04-19T07:27:27.235-07:00@SeB it (typically) uses the OSGi Resolver service...@SeB it (typically) uses the OSGi Resolver service for this. The subsystem implementation gives the resolver the 'root' bundles that need to be deployed. Based on the generic OSGi requirements/capabilities model the resolver discovers what transitive dependencies needs to be provided. If a dependency isn't already available in the target framework, the resolver will look for it in any configured Repository service. Note that the .esa file also serves as a mini-repository. David Bosschaerthttps://www.blogger.com/profile/13786738766478890804noreply@blogger.comtag:blogger.com,1999:blog-9210566578097047576.post-85857633397140207442013-04-19T07:19:16.740-07:002013-04-19T07:19:16.740-07:00About dependencies , how does the framework perfor...About dependencies , how does the framework perform the resolution, because although p2 is not trivial it has interesting goodies such as contents and artifact description files to help resolve the dependencies without having to download any bundle.<br />This makes provisioning quite efficient in terms of performances.SeBhttps://www.blogger.com/profile/14778585482454268074noreply@blogger.comtag:blogger.com,1999:blog-9210566578097047576.post-90053233042162327802013-04-19T07:11:06.766-07:002013-04-19T07:11:06.766-07:00Very interesting, it looks much more simple (at fi...Very interesting, it looks much more simple (at first sight) than the Eclipse p2 framework.<br />Is there any tooling available around this please ?SeBhttps://www.blogger.com/profile/14778585482454268074noreply@blogger.com