<?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>[RESOLVED] com.liferay.portal.NoSuchResourceActionException</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=4633432" />
  <subtitle>[RESOLVED] com.liferay.portal.NoSuchResourceActionException</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=4633432</id>
  <updated>2026-04-05T23:56:03Z</updated>
  <dc:date>2026-04-05T23:56:03Z</dc:date>
  <entry>
    <title>RE: [RESOLVED] com.liferay.portal.NoSuchResourceActionException</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118820521" />
    <author>
      <name>Abdollah Esmaeilpour</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118820521</id>
    <updated>2020-03-29T13:45:25Z</updated>
    <published>2020-03-29T13:45:25Z</published>
    <summary type="html">&lt;div class="quote-title"&gt;Archi Madhu:&lt;/div&gt;&lt;blockquote&gt;&lt;br /&gt;Hi there,&lt;br /&gt;&lt;br /&gt;May be you can make server down , make resourcecode/resourceaction table empty,and restart server, it will again generate entries in.&lt;br /&gt;&lt;br /&gt;let me know if it helps.&lt;br /&gt;&lt;br /&gt;-Archi&lt;br /&gt;&lt;/blockquote&gt;Great. I had this problem and this solution worked for me too.</summary>
    <dc:creator>Abdollah Esmaeilpour</dc:creator>
    <dc:date>2020-03-29T13:45:25Z</dc:date>
  </entry>
  <entry>
    <title>RE: [RESOLVED] com.liferay.portal.NoSuchResourceActionException</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=36658537" />
    <author>
      <name>Udaya Kumar Velayudam</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=36658537</id>
    <updated>2014-04-09T10:57:56Z</updated>
    <published>2014-04-09T10:57:56Z</published>
    <summary type="html">I also having the same problem. When I deleted the entry from ResourceAction it worked but wanted to know how Liferay generate the entries in the table? Are there any foreign key constraint that would affect this table?</summary>
    <dc:creator>Udaya Kumar Velayudam</dc:creator>
    <dc:date>2014-04-09T10:57:56Z</dc:date>
  </entry>
  <entry>
    <title>RE: [RESOLVED] com.liferay.portal.NoSuchResourceActionException</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=22463620" />
    <author>
      <name>Vishal Panchal</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=22463620</id>
    <updated>2013-03-09T13:57:03Z</updated>
    <published>2013-03-09T13:57:03Z</published>
    <summary type="html">Hi All,&lt;br /&gt;&lt;br /&gt;I have also solved my problem by dropping all the rows of  resourceAction table.&lt;br /&gt;&lt;br /&gt;Thank you for your contribution..&lt;img alt="emoticon" src="@theme_images_path@/emoticons/smile.gif" &gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Vishal</summary>
    <dc:creator>Vishal Panchal</dc:creator>
    <dc:date>2013-03-09T13:57:03Z</dc:date>
  </entry>
  <entry>
    <title>RE: [RESOLVED] com.liferay.portal.NoSuchResourceActionException</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13529968" />
    <author>
      <name>Amit Doshi</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=13529968</id>
    <updated>2012-04-18T13:44:04Z</updated>
    <published>2012-04-18T13:44:04Z</published>
    <summary type="html">Hi All,&lt;br /&gt;&lt;br /&gt;To be more specific on the Archi&amp;#39;s Comment, it solved my issue on deleting the entry from the resourceaction table of that particular portlet rather than deleting full table.&lt;br /&gt;&lt;br /&gt;Remove that particular portlet  from the webapps and once again deploy that portlet.&lt;br /&gt;&lt;br /&gt;Your problem will get solved.&lt;br /&gt;&lt;br /&gt;Thanks &amp;amp; Regards,&lt;br /&gt;Amit Doshi</summary>
    <dc:creator>Amit Doshi</dc:creator>
    <dc:date>2012-04-18T13:44:04Z</dc:date>
  </entry>
  <entry>
    <title>RE: [RESOLVED] com.liferay.portal.NoSuchResourceActionException</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=10050711" />
    <author>
      <name>Nitu Saksena</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=10050711</id>
    <updated>2011-07-20T08:03:07Z</updated>
    <published>2011-07-20T08:03:07Z</published>
    <summary type="html">Droping the Liferay database resolved the problem for me.</summary>
    <dc:creator>Nitu Saksena</dc:creator>
    <dc:date>2011-07-20T08:03:07Z</dc:date>
  </entry>
  <entry>
    <title>[RESOLVED]: com.liferay.portal.NoSuchResourceActionException</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4634694" />
    <author>
      <name>Gnaniyar Zubair</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4634694</id>
    <updated>2010-02-22T06:11:55Z</updated>
    <published>2010-02-22T06:11:55Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hi Archi,&lt;br&gt;&lt;br&gt;Thanks for your reply. I have fixed this issue successfully. Actually, that is liferay 5.2.3 bug. I have done these modification:&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;u&gt;&lt;strong&gt;Step 1:&lt;/strong&gt;&lt;/u&gt;&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;Liferay portal source &amp;amp;gt;&amp;amp;gt;&amp;amp;gt;&amp;amp;gt;&amp;amp;gt;&amp;amp;gt;&amp;amp;gt;
    Go to  /portal-impl/src/com/liferay/portal/service/impl/
    copy this java file :  ResourceLocalServiceImpl.java&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;&lt;u&gt;&lt;strong&gt;Step 2:&lt;/strong&gt;&lt;/u&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;
Paste the [b]ResourceLocalServiceImpl.java[/b] file here:
        inside ext-impl&amp;amp;gt;src&amp;amp;gt;com&amp;amp;gt;liferay&amp;amp;gt;portal&amp;amp;gt;service&amp;amp;gt;impl&amp;amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;&lt;strong&gt;Step 3:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;Modify that java file as mentioned below:&lt;br&gt;&lt;br&gt;&lt;strong&gt;a) import this class &lt;/strong&gt;&lt;br&gt;  &lt;br&gt; &lt;pre&gt;&lt;code&gt;  [color=#200EC5]import com.liferay.portal.service.ResourceActionLocalServiceUtil;[/color]&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;&lt;strong&gt;b) At line no 765 add this code ( blue colored line):&lt;/strong&gt;&lt;br&gt;&lt;br&gt;     Role role = roleLocalService.getRole(companyId, RoleConstants.OWNER);&lt;br&gt;&lt;br&gt;  &lt;pre&gt;&lt;code&gt;[color=#200EC5]765.   ResourceActionLocalServiceUtil.checkResourceActions(resource.getName(), actionIds);[/color]&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;    &lt;br&gt;      resourcePermissionLocalService.setResourcePermissions(&lt;br&gt;            resource.getCompanyId(), resource.getName(), resource.getScope(),&lt;br&gt;            resource.getPrimKey(), role.getRoleId(),&lt;br&gt;            actionIds.toArray(new String[actionIds.size()]));&lt;br&gt;&lt;br&gt;&lt;br&gt;- Gnaniyar Zubair&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Gnaniyar Zubair</dc:creator>
    <dc:date>2010-02-22T06:11:55Z</dc:date>
  </entry>
  <entry>
    <title>RE: com.liferay.portal.NoSuchResourceActionException</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4634600" />
    <author>
      <name>Archi Madhu</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4634600</id>
    <updated>2010-02-22T05:32:32Z</updated>
    <published>2010-02-22T05:32:32Z</published>
    <summary type="html">Hi there,&lt;br /&gt;&lt;br /&gt;May be you can make server down , make resourcecode/resourceaction table empty,and restart server, it will again generate entries in.&lt;br /&gt;&lt;br /&gt;let me know if it helps.&lt;br /&gt;&lt;br /&gt;-Archi</summary>
    <dc:creator>Archi Madhu</dc:creator>
    <dc:date>2010-02-22T05:32:32Z</dc:date>
  </entry>
  <entry>
    <title>RE: com.liferay.portal.NoSuchResourceActionException</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4634540" />
    <author>
      <name>Gnaniyar Zubair</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4634540</id>
    <updated>2010-02-22T04:17:28Z</updated>
    <published>2010-02-22T04:17:28Z</published>
    <summary type="html">Hi,&lt;br /&gt;&lt;br /&gt;I removed the portlet from the page and i got the same error. then, I have removed war file from all the places and that portlet bundle from server also. Still I am getting the error.&lt;br /&gt;&lt;br /&gt;Error is appearing in console when i visit that page but In UI, i got &amp;#34;Internal serve Error&amp;#34; .&lt;br /&gt;&lt;br /&gt;My last trial was, changes in database entry.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;- Gnaniyar Zubair</summary>
    <dc:creator>Gnaniyar Zubair</dc:creator>
    <dc:date>2010-02-22T04:17:28Z</dc:date>
  </entry>
  <entry>
    <title>RE: com.liferay.portal.NoSuchResourceActionException</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4634030" />
    <author>
      <name>Shagul Khajamohideen</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4634030</id>
    <updated>2010-02-21T20:53:33Z</updated>
    <published>2010-02-21T20:53:33Z</published>
    <summary type="html">Did you remove the portlet from the page or just deleted the war? Also which version of Liferay are you using. Do you see the exceptions when you access the page where you added the portlet or other pages too? It is recommended not to work with the database directly to make any changes. &lt;br /&gt;&lt;br /&gt;-Shagul</summary>
    <dc:creator>Shagul Khajamohideen</dc:creator>
    <dc:date>2010-02-21T20:53:33Z</dc:date>
  </entry>
  <entry>
    <title>RE: com.liferay.portal.NoSuchResourceActionException</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4633600" />
    <author>
      <name>Gnaniyar Zubair</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4633600</id>
    <updated>2010-02-21T15:01:51Z</updated>
    <published>2010-02-21T15:01:51Z</published>
    <summary type="html">Hi Khaja,&lt;br /&gt;&lt;br /&gt;Thanks for your swift reply.&lt;br /&gt;&lt;br /&gt;I have added that portlet in one page. It is working successfully at first time. If i refresh next time, i got that error what i mentioned.&lt;br /&gt;&lt;br /&gt;- Gnaniyar Zubair.</summary>
    <dc:creator>Gnaniyar Zubair</dc:creator>
    <dc:date>2010-02-21T15:01:51Z</dc:date>
  </entry>
  <entry>
    <title>RE: com.liferay.portal.NoSuchResourceActionException</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4633497" />
    <author>
      <name>Shagul Khajamohideen</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4633497</id>
    <updated>2010-02-21T11:36:26Z</updated>
    <published>2010-02-21T11:36:26Z</published>
    <summary type="html">Did you add that portlet to any page? When do you get the error?</summary>
    <dc:creator>Shagul Khajamohideen</dc:creator>
    <dc:date>2010-02-21T11:36:26Z</dc:date>
  </entry>
  <entry>
    <title>[RESOLVED] com.liferay.portal.NoSuchResourceActionException</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4633431" />
    <author>
      <name>Gnaniyar Zubair</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4633431</id>
    <updated>2010-02-21T11:07:50Z</updated>
    <published>2010-02-21T11:07:50Z</published>
    <summary type="html">Hi all,&lt;br /&gt;&lt;br /&gt;I created one jsp portlet in plugin. I got the error in the console like:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;com.liferay.portal.NoSuchResourceActionException: &amp;lt;portletName&amp;gt;#CONFIGURATION&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;even i deleted that particular portlet from plugin and server , as well as I have deleted that portlet entry manually from the database(Preference).&lt;br /&gt;&lt;br /&gt;But I am getting that error. &lt;br /&gt;&lt;br /&gt;How to resolve it?&lt;br /&gt;&lt;br /&gt;Thanks in advance&lt;br /&gt;&lt;br /&gt;-Gnaniyar Zubair</summary>
    <dc:creator>Gnaniyar Zubair</dc:creator>
    <dc:date>2010-02-21T11:07:50Z</dc:date>
  </entry>
</feed>
