<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>OSGi and Portlets (preferably JSF)</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=37538178" />
  <subtitle>OSGi and Portlets (preferably JSF)</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=37538178</id>
  <updated>2026-05-05T00:27:41Z</updated>
  <dc:date>2026-05-05T00:27:41Z</dc:date>
  <entry>
    <title>RE: OSGi and Portlets (preferably JSF)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38526608" />
    <author>
      <name>Patrick Warnecke</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38526608</id>
    <updated>2014-06-04T09:27:26Z</updated>
    <published>2014-06-04T09:27:26Z</published>
    <summary type="html">Is really noone interested in using OSGi with portlets? Or is just noone sharing his/her knowledge?</summary>
    <dc:creator>Patrick Warnecke</dc:creator>
    <dc:date>2014-06-04T09:27:26Z</dc:date>
  </entry>
  <entry>
    <title>RE: OSGi and Portlets (preferably JSF)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38252864" />
    <author>
      <name>Patrick Warnecke</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=38252864</id>
    <updated>2014-05-28T07:56:30Z</updated>
    <published>2014-05-28T07:56:30Z</published>
    <summary type="html">Well maybe someone can at least answer the following:&lt;br /&gt;I have the sample-metrics-portlet deployed in my OSGi-framework, but it requires &amp;#34;com.liferay.httpservice.servlet&amp;#34;. No problemo, i simply add the http-service-shared bundle. But this bundle needs the &amp;#34;com.liferay.portal.apache.bridges.struts&amp;#34; service. I could only find the implementation of this service in the portal-impl.jar residing in tomcats ROOT/WEB-INF/lib/. Tried to deploy this jar in the framework but I noticed two things. First the portal-impl.jar doesn&amp;#39;t export the bridges.struts service, secondly it has quite a lot of it&amp;#39;s own dependencies which seem hard to fullfill as I couldn&amp;#39;t find any of them as OSGi-read jars (don&amp;#39;t know if I can simply add the MANIFEST.MF entries to fullfill the requirements ...)&lt;br /&gt;&lt;br /&gt;So my question is, how do I satisfy the &amp;#34;com.liferay.portal.apache.bridges.struts&amp;#34; dependency?&lt;br /&gt;If it is through the portal-impl.jar, do I &amp;#34;simply&amp;#34; add all the required &amp;#34;Export-package&amp;#34; entries that are missing in the jars required by portal-impl?</summary>
    <dc:creator>Patrick Warnecke</dc:creator>
    <dc:date>2014-05-28T07:56:30Z</dc:date>
  </entry>
  <entry>
    <title>RE: OSGi and Portlets (preferably JSF)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=37826252" />
    <author>
      <name>Patrick Warnecke</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=37826252</id>
    <updated>2014-05-15T08:12:23Z</updated>
    <published>2014-05-15T08:12:23Z</published>
    <summary type="html">Hey,&lt;br /&gt;thanks for the reply. I understand that it is experimental, but as I understood it until now, it should be possible to have a service in the framework and access it from a portlet.&lt;br /&gt;&lt;br /&gt;I don&amp;#39;t think my problem is on the OSGi part, in the gogo shell I have several bundles up and running that are publishing services one way or the other. My main problem ist, how to access these services from the portlet.&lt;br /&gt;Maybe you can find the time to answer some questions:&lt;br /&gt;1) Is my approach correct that I&amp;#39;m still deploying a &amp;#34;normal&amp;#34; portlet, except it has more information in the META-INF/MANIFEST.MF or do I deploy the portlet in the framework?&lt;br /&gt;I tried deploying a portlet directly in the framework, but then I couldn&amp;#39;t find it in the &amp;#34;Add to page&amp;#34;-Dialog.&lt;br /&gt;2) Is there a Utility class to get a service (com.liferay.portal.kernel.util.ServiceLoader ? =&amp;gt; returns 0 services, com.liferay.portal.kernel.bean.PortalBeanLocatorUtil ? =&amp;gt; returns null)&lt;br /&gt;3) Do I need to use the &amp;#34;FreemarkerPortlet&amp;#34; or is it already possible to use normal JSF-Portlets?&lt;br /&gt;&lt;br /&gt;Again, I understand that in the future there will be docs etc, but we want to start a new version of our product soon and want to use Liferay and hopefully OSGi for modularity.&lt;br /&gt;&lt;br /&gt;Thanks in advance!</summary>
    <dc:creator>Patrick Warnecke</dc:creator>
    <dc:date>2014-05-15T08:12:23Z</dc:date>
  </entry>
  <entry>
    <title>RE: OSGi and Portlets (preferably JSF)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=37802000" />
    <author>
      <name>Ray Augé</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=37802000</id>
    <updated>2014-05-14T16:08:16Z</updated>
    <published>2014-05-14T16:08:16Z</published>
    <summary type="html">Our portlet support is &lt;strong&gt;very experimental&lt;/strong&gt; in 6.2, and as you&amp;#39;ve probably noticed, not documented.&lt;br /&gt;&lt;br /&gt;I would try to figure out what is missing from your env to make it work. Gogo shell has good tools to help with that. You need to have all the right bits deployed, resolved and active in order for it to work.</summary>
    <dc:creator>Ray Augé</dc:creator>
    <dc:date>2014-05-14T16:08:16Z</dc:date>
  </entry>
  <entry>
    <title>RE: OSGi and Portlets (preferably JSF)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=37790954" />
    <author>
      <name>Patrick Warnecke</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=37790954</id>
    <updated>2014-05-14T12:37:22Z</updated>
    <published>2014-05-14T12:37:22Z</published>
    <summary type="html">So no one can help me out on this subject?&lt;br /&gt;&lt;br /&gt;I tried to deploy the sample-metrics-portlet in tomcat (sample-metrics-core-shared was installed in the OSGi framework), but it didn&amp;#39;t work (_metricsProdiver is always null). Couldn&amp;#39;t find any other portlet that tries to work with OSGi.&lt;br /&gt;Additionally there seems to be an error with the sample-metrics-portlet, as it floods my console again and again with stuff like &amp;#34;portlet ready to use&amp;#34; etc.</summary>
    <dc:creator>Patrick Warnecke</dc:creator>
    <dc:date>2014-05-14T12:37:22Z</dc:date>
  </entry>
  <entry>
    <title>RE: OSGi and Portlets (preferably JSF)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=37578406" />
    <author>
      <name>Patrick Warnecke</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=37578406</id>
    <updated>2014-05-08T05:54:05Z</updated>
    <published>2014-05-08T05:54:05Z</published>
    <summary type="html">Maybe I&amp;#39;m just blind, but I can&amp;#39;t find an example portlet using OSGi ... ?</summary>
    <dc:creator>Patrick Warnecke</dc:creator>
    <dc:date>2014-05-08T05:54:05Z</dc:date>
  </entry>
  <entry>
    <title>RE: OSGi and Portlets (preferably JSF)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=37539480" />
    <author>
      <name>Juan Gonzalez</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=37539480</id>
    <updated>2014-05-07T08:56:38Z</updated>
    <published>2014-05-07T08:56:38Z</published>
    <summary type="html">Right now OSGI is being improved a lot for 7.0 release, although you can do some OSGI for 6.2 too.&lt;br /&gt;&lt;br /&gt;Please read these links:&lt;br /&gt;&lt;br /&gt;&lt;a href="https://www.liferay.com/web/raymond.auge/blog/-/blogs/liferay-osgi-and-shell-access-via-gogo-shell"&gt;https://www.liferay.com/web/raymond.auge/blog/-/blogs/liferay-osgi-and-shell-access-via-gogo-shell&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://www.liferay.com/es/community/forums/-/message_boards/message/37124614"&gt;https://www.liferay.com/es/community/forums/-/message_boards/message/37124614&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thread with a link to sample code: &lt;a href="https://www.liferay.com/es/community/forums/-/message_boards/message/36619471"&gt;https://www.liferay.com/es/community/forums/-/message_boards/message/36619471&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For Liferay 7.0: &lt;a href="https://www.liferay.com/web/raymond.auge/blog/-/blogs/places-to-hook-into-liferay-from-osgi"&gt;https://www.liferay.com/web/raymond.auge/blog/-/blogs/places-to-hook-into-liferay-from-osgi&lt;/a&gt;</summary>
    <dc:creator>Juan Gonzalez</dc:creator>
    <dc:date>2014-05-07T08:56:38Z</dc:date>
  </entry>
  <entry>
    <title>OSGi and Portlets (preferably JSF)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=37538177" />
    <author>
      <name>Patrick Warnecke</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=37538177</id>
    <updated>2014-05-07T08:45:56Z</updated>
    <published>2014-05-07T08:45:56Z</published>
    <summary type="html">Hello,&lt;br /&gt;my company wants to make use of OSGi in out portlets and I&amp;#39;m doing the research for that, but I can hardly find any information on how to get started with it all.&lt;br /&gt;I would appreciate it if someone could point me in the right direction.&lt;br /&gt;&lt;br /&gt;Regards</summary>
    <dc:creator>Patrick Warnecke</dc:creator>
    <dc:date>2014-05-07T08:45:56Z</dc:date>
  </entry>
</feed>
