<?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>Reg : issues with upgrading service builder portlet</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=103262870" />
  <subtitle>Reg : issues with upgrading service builder portlet</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=103262870</id>
  <updated>2026-04-03T20:41:34Z</updated>
  <dc:date>2026-04-03T20:41:34Z</dc:date>
  <entry>
    <title>RE: Reg : issues with upgrading service builder portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111727085" />
    <author>
      <name>Alberto Chaparro</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111727085</id>
    <updated>2018-12-04T10:02:27Z</updated>
    <published>2018-12-04T10:02:27Z</published>
    <summary type="html">&lt;p&gt;Hi Abhishek,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Please, provide more information about what you did: &amp;quot; I have
  also run the upgrade process changing the servletcontext name in the
  release_ table&amp;quot;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Alberto Chaparro</dc:creator>
    <dc:date>2018-12-04T10:02:27Z</dc:date>
  </entry>
  <entry>
    <title>RE: Reg : issues with upgrading service builder portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111726739" />
    <author>
      <name>Abhishek Jain</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111726739</id>
    <updated>2018-12-04T09:49:01Z</updated>
    <published>2018-12-04T09:49:01Z</published>
    <summary type="html">I am too facing the same problem...the service is not getting registered
though it is showing active status. I have also run the upgrade process
changing the servletcontext name in the release_ table ..Please help
...any help would be appreciated.</summary>
    <dc:creator>Abhishek Jain</dc:creator>
    <dc:date>2018-12-04T09:49:01Z</dc:date>
  </entry>
  <entry>
    <title>RE: Reg : issues with upgrading service builder portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103346992" />
    <author>
      <name>Ramchand Gururajan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103346992</id>
    <updated>2018-01-31T06:20:51Z</updated>
    <published>2018-01-31T06:20:51Z</published>
    <summary type="html">Hi Alberto,&lt;br /&gt;Unfortunately we landed into another issue. &lt;br /&gt;&lt;br /&gt;Now the service is not getting registered. Though its deployed &amp;amp; in active state.&lt;br /&gt;&lt;br /&gt;When we use XXXLocalServiceUtil.getXXXX() , this throwing null internally getService() method used inside.&lt;br /&gt;When we try to use @Reference , the portlet is coming not up in Add application  like shown in link https://web.liferay.com/community/forums/-/message_boards/message/103346926 .&lt;br /&gt;&lt;br /&gt;There are some work arounds provided for gradle , but we are using maven in our case , so we are not able to use them.&lt;br /&gt;&lt;br /&gt;Kindly provide us few pointers which can help us to resolve the service not registered issue .&lt;br /&gt;&lt;br /&gt;regards,&lt;br /&gt;Ramchand</summary>
    <dc:creator>Ramchand Gururajan</dc:creator>
    <dc:date>2018-01-31T06:20:51Z</dc:date>
  </entry>
  <entry>
    <title>RE: Reg : issues with upgrading service builder portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103311440" />
    <author>
      <name>Ramchand Gururajan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103311440</id>
    <updated>2018-01-30T11:11:06Z</updated>
    <published>2018-01-30T11:11:06Z</published>
    <summary type="html">Thanks a lot. This helped us a lot.&lt;br /&gt;&lt;br /&gt;regards,&lt;br /&gt;Ramchand</summary>
    <dc:creator>Ramchand Gururajan</dc:creator>
    <dc:date>2018-01-30T11:11:06Z</dc:date>
  </entry>
  <entry>
    <title>RE: Reg : issues with upgrading service builder portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103307019" />
    <author>
      <name>Alberto Chaparro</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103307019</id>
    <updated>2018-01-30T09:56:29Z</updated>
    <published>2018-01-30T09:56:29Z</published>
    <summary type="html">Verify that the javax.portlet.name is the same than in 6.2. This is an example about where that name is defined:&lt;br /&gt;&lt;a href="https://github.com/achaparro/liferay-portal/blob/master/modules/apps/chat/chat-web/src/main/java/com/liferay/chat/web/portlet/ChatPortlet.java#L49"&gt;https://github.com/achaparro/liferay-portal/blob/master/modules/apps/chat/chat-web/src/main/java/com/liferay/chat/web/portlet/ChatPortlet.java#L49&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If you have another name, you have two options:&lt;br /&gt;- Use the previous one used in 6.2&lt;br /&gt;- Do an upgrade process to switch to the new name in all tables. Like this:&lt;br /&gt;&lt;a href="https://github.com/achaparro/liferay-portal/blob/master/modules/apps/chat/chat-web/src/main/java/com/liferay/chat/web/upgrade/ChatWebUpgrade.java"&gt;https://github.com/achaparro/liferay-portal/blob/master/modules/apps/chat/chat-web/src/main/java/com/liferay/chat/web/upgrade/ChatWebUpgrade.java&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I hope it helps.</summary>
    <dc:creator>Alberto Chaparro</dc:creator>
    <dc:date>2018-01-30T09:56:29Z</dc:date>
  </entry>
  <entry>
    <title>RE: Reg : issues with upgrading service builder portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103307479" />
    <author>
      <name>Ramchand Gururajan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103307479</id>
    <updated>2018-01-30T09:36:15Z</updated>
    <published>2018-01-30T09:36:15Z</published>
    <summary type="html">Hi Alberto,&lt;br /&gt;No we did not change id of the portlet. We did not use any id attribute in 6.2 as well.&lt;br /&gt;It appears 6.2 has created portlets in page with following conventions since this shown as header in side.&lt;br /&gt;&lt;br /&gt;&amp;lt;&amp;lt;PORTLETNAME&amp;gt;&amp;gt;_WAR_&amp;lt;&amp;lt;WARNAME&amp;gt;&amp;gt; .&lt;br /&gt;&lt;br /&gt;Any pointers on resolving the issue would be great ?&lt;br /&gt;&lt;br /&gt;Note : We have successfully resolved service table creation issue now. Thanks for the help on this.&lt;br /&gt;&lt;br /&gt;regards,&lt;br /&gt;Ramchand.</summary>
    <dc:creator>Ramchand Gururajan</dc:creator>
    <dc:date>2018-01-30T09:36:15Z</dc:date>
  </entry>
  <entry>
    <title>RE: Reg : issues with upgrading service builder portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103304265" />
    <author>
      <name>Alberto Chaparro</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103304265</id>
    <updated>2018-01-30T09:06:42Z</updated>
    <published>2018-01-30T09:06:42Z</published>
    <summary type="html">Hi Ramchand,&lt;br /&gt;&lt;br /&gt;It seems that the portal does not recognize the new portlet. Have you changed the id of the portlet? If so, you should create an upgrade process to modify of all records from old id to the new id.&lt;br /&gt;&lt;br /&gt;Let me know if it works.&lt;br /&gt;&lt;br /&gt;Regards.</summary>
    <dc:creator>Alberto Chaparro</dc:creator>
    <dc:date>2018-01-30T09:06:42Z</dc:date>
  </entry>
  <entry>
    <title>RE: Reg : issues with upgrading service builder portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103298525" />
    <author>
      <name>Ramchand Gururajan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103298525</id>
    <updated>2018-01-30T04:21:10Z</updated>
    <published>2018-01-30T04:21:10Z</published>
    <summary type="html">Hi Alberto,&lt;br /&gt;Thanks a lot . Will check this out.&lt;br /&gt;&lt;br /&gt; &amp;#34;This portlet has been undeployed. Please redeploy it or remove it from the page. &amp;#34; Will the above link resolve this issue as well?&lt;br /&gt;&lt;br /&gt;regards,&lt;br /&gt;Ramchand.</summary>
    <dc:creator>Ramchand Gururajan</dc:creator>
    <dc:date>2018-01-30T04:21:10Z</dc:date>
  </entry>
  <entry>
    <title>RE: Reg : issues with upgrading service builder portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103275257" />
    <author>
      <name>Alberto Chaparro</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103275257</id>
    <updated>2018-01-29T15:12:23Z</updated>
    <published>2018-01-29T15:12:23Z</published>
    <summary type="html">Hi Ramchand,&lt;br /&gt;&lt;br /&gt;Please the following thread to solve your issue:&lt;br /&gt;&lt;a href="https://web.liferay.com/es/community/forums/-/message_boards/view_message/99729329"&gt;https://web.liferay.com/es/community/forums/-/message_boards/view_message/99729329&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Regards.</summary>
    <dc:creator>Alberto Chaparro</dc:creator>
    <dc:date>2018-01-29T15:12:23Z</dc:date>
  </entry>
  <entry>
    <title>Reg : issues with upgrading service builder portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103262869" />
    <author>
      <name>Ramchand Gururajan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=103262869</id>
    <updated>2018-01-29T09:14:06Z</updated>
    <published>2018-01-29T09:14:06Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi Folks,&lt;br&gt;We had used service builder portlets in 6.2 .&lt;br&gt;For the DXP upgrade , we have made them into OSGI complaint modules ( api , service , web) &amp;amp; tested this in a standalone instance of the Liferay DXP bundle it works fine.&lt;br&gt;Now as the the next step , we upgraded the DB of 6.2 instance to DXP using code upgrade tool , after we DB upgrade we deployed OSGI equivalent jar of this portlet  &amp;amp; we found below issues.&lt;br&gt;&lt;br&gt;1) In old pages where this portlet was deployed we got messages "This portlet has been undeployed. Please redeploy it or remove it from the page.  "&lt;br&gt;&lt;blockquote&gt;--&amp;gt; Kindly let us know how to ensure new OSGI complaint portlets automatically come up here  .&lt;/blockquote&gt;&lt;br&gt;2) We tried manually configuring the portlet from Add Application , screen &amp;amp; find it is throwing the error , NPE in getService() service&lt;br&gt;&lt;blockquote&gt;. The service module is started in lb console , but we still get this error. When we scrolled in logs , we found below lines when the service module was getting deployed &lt;/blockquote&gt;	&lt;br&gt;&lt;pre&gt;&lt;code&gt;Caused by: org.postgresql.util.PSQLException: ERROR: relation "XXXXXXX" already exists&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;Kindly let us know how to over come these issues.&lt;br&gt;&lt;br&gt;regards,&lt;br&gt;Ramchand G&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Ramchand Gururajan</dc:creator>
    <dc:date>2018-01-29T09:14:06Z</dc:date>
  </entry>
</feed>
