<?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 fragment module disappears when one of dependent modules is deployed</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111499648" />
  <subtitle>OSGi fragment module disappears when one of dependent modules is deployed</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111499648</id>
  <updated>2026-04-05T01:19:12Z</updated>
  <dc:date>2026-04-05T01:19:12Z</dc:date>
  <entry>
    <title>RE: OSGi fragment module disappears when one of dependent modules is deploy</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111519601" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111519601</id>
    <updated>2018-11-12T12:29:23Z</updated>
    <published>2018-11-12T12:29:23Z</published>
    <summary type="html">When I've seen weird stuff like this, sometimes a purge of osgi/state
during a restart will resolve it, but there's no guarantee.</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2018-11-12T12:29:23Z</dc:date>
  </entry>
  <entry>
    <title>RE: OSGi fragment module disappears when one of dependent modules is deploy</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111518120" />
    <author>
      <name>Jan Tošovský</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111518120</id>
    <updated>2018-11-12T10:51:17Z</updated>
    <published>2018-11-12T10:51:17Z</published>
    <summary type="html">&lt;p&gt;Thanks David.&lt;/p&gt;
&lt;p&gt;&amp;gt; When A is redeployed, it is activated, but B disappears without
  any log message.&lt;/p&gt;
&lt;p&gt;I meant it disappear from the list of bundles in gogo shell,
  suddenly, and I have no idea why as there isn't any related message in
  the LR log.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;However, today, after restarting the server, everything works as
  expected. So I can see both A and B modules running at once. It works
  even after redeploying any of these modules.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;It is crazy.&lt;/p&gt;</summary>
    <dc:creator>Jan Tošovský</dc:creator>
    <dc:date>2018-11-12T10:51:17Z</dc:date>
  </entry>
  <entry>
    <title>RE: OSGi fragment module disappears when one of dependent modules is deploy</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111512579" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111512579</id>
    <updated>2018-11-11T14:35:42Z</updated>
    <published>2018-11-11T14:35:42Z</published>
    <summary type="html">&lt;p&gt;A fragment bundle will stop the host bundle it is bound to, but any
  bundles that are dependent upon it will also get stopped while it restarts.&lt;/p&gt;
&lt;p&gt;Since B is a fragment bundle, I don't understand what &amp;quot;B
  disappears without any log message&amp;quot; means.  B will not be any
  kind of active bundle, so it won't show as active in the gogo shell...&lt;/p&gt;</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2018-11-11T14:35:42Z</dc:date>
  </entry>
  <entry>
    <title>OSGi fragment module disappears when one of dependent modules is deployed</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111499647" />
    <author>
      <name>Jan Tošovský</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111499647</id>
    <updated>2018-11-09T10:39:16Z</updated>
    <published>2018-11-09T10:39:16Z</published>
    <summary type="html">&lt;p&gt;I try customizing User Admin JSP pages. I just want to heavily reduce
  navigation screens. My idea is to create new navigation screens and
  then force JSP pages to use them. The navigation screen framework is
  described here: &lt;a href="https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-1/screen-navigation-framework"&gt;https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-1/screen-navigation-framework&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;My navigations screens are in module A. My customized JSP pages are
  in OSGi fragment module B.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;When A is deployed, it is activated.&lt;/p&gt;
&lt;p&gt;When B is deployed, both A and user-admin-web module are stopped, but
  only user-admin-web is started again.&lt;/p&gt;
&lt;p&gt;In this stage gogo shell diag complains there is missing dependency
  (A module)&lt;/p&gt;
&lt;p&gt;When A is redeployed, it is activated, but B disappears without any
  log message.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Tested several times.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;So there is no way now to have both modules running at once.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;LR GA1 on tomcat 9 (standard bundle).&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Any idea?&lt;/p&gt;</summary>
    <dc:creator>Jan Tošovský</dc:creator>
    <dc:date>2018-11-09T10:39:16Z</dc:date>
  </entry>
</feed>
