<?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>Custom application does not appear in list of portlets - Liferay 2024.Q2.0</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122812869" />
  <subtitle>Custom application does not appear in list of portlets - Liferay 2024.Q2.0</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122812869</id>
  <updated>2026-04-04T16:01:25Z</updated>
  <dc:date>2026-04-04T16:01:25Z</dc:date>
  <entry>
    <title>Custom application does not appear in list of portlets - Liferay 2024.Q2.0</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122812868" />
    <author>
      <name>Steve Weiss</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122812868</id>
    <updated>2024-08-01T20:53:47Z</updated>
    <published>2024-08-01T19:09:30Z</published>
    <summary type="html">&lt;p&gt;We are migrating from 7.4u86 to 2024.Q2. I've deployed one of our
  custom applications and it appears to have deployed successfully.
  There are no errors in the log and the application shows up in the app manager:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;DataMailer-api&lt;br&gt; gov.nasa.hq.datamailer.api&lt;/p&gt;
&lt;p&gt;Version: 1.0.0 Status: Active&lt;br&gt; DataMailer-service&lt;br&gt; gov.nasa.hq.datamailer.service&lt;/p&gt;
&lt;p&gt;Version: 1.0.0 Status: Active&lt;br&gt; DataMailer-web&lt;br&gt; gov.nasa.hq.datamailer.web&lt;/p&gt;
&lt;p&gt;Version: 1.0.0 Status: Active&lt;br&gt; &amp;nbsp;&lt;/p&gt;
&lt;dl&gt;&lt;/dl&gt;
&lt;dl&gt;&lt;/dl&gt;
&lt;p&gt;However, I can't add it to a page because when I click on the
  "+" icon at the top right of the page, it does not show up
  in the list on the right. Currently (7.4) it shows up in the
  "NASA" category but that category does not show up either.
  Furthermore, I do not see the portlet in the PORTLET table in the database.&lt;/p&gt;
&lt;p&gt;Here is the portlet configuration:&lt;/p&gt;
&lt;p&gt;@Component(&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; configurationPid =
  "gov.nasa.hq.datamailer.portlet.internal.configuration.DataMailerConfiguration",&lt;br&gt;
  &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; configurationPolicy = ConfigurationPolicy.OPTIONAL,&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
  &amp;nbsp; immediate = true,&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; property = {&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
  "com.liferay.portlet.display-category=NASA",&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
  &amp;nbsp; &amp;nbsp;
  "com.liferay.portlet.header-portlet-css=/css/styles.css",&lt;br&gt;
  &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "com.liferay.portlet.instanceable=true",&lt;br&gt;
  &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "javax.portlet.display-name=Data
  Mailer",&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
  "javax.portlet.portlet-mode=text/html;view,edit",&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
  &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "javax.portlet.init-param.template-path=/",&lt;br&gt; &amp;nbsp;
  &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
  "javax.portlet.init-param.view-template=/jsp/view.jsp",&lt;br&gt;
  &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
  "javax.portlet.init-param.viewdata-template=/jsp/viewData.jsp",&lt;br&gt;
  &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
  "javax.portlet.init-param.edit-template=/jsp/pref/preferences.jsp",&lt;br&gt;
  &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "javax.portlet.name=" +
  DataMailerPortletKeys.DATAMAILER,&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
  "javax.portlet.resource-bundle=content.Language",&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
  &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
  "javax.portlet.security-role-ref=power-user,user"&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
  &amp;nbsp; },&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; service = Portlet.class)&lt;br&gt; The portlet
  configuration does show up in the Site control panel:&lt;/p&gt;
&lt;ol&gt;
  &lt;li&gt;
    &lt;a href="http://localhost:8080/group/gryffindor/~/control_panel/manage/-/site/settings"&gt;Site Settings&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;
    &lt;a href="http://localhost:8080/group/gryffindor/~/control_panel/manage/-/site/settings?_com_liferay_site_admin_web_portlet_SiteSettingsPortlet_factoryPid=gov.nasa.hq.datamailer.portlet.internal.configuration.DataMailerConfiguration&amp;amp;_com_liferay_site_admin_web_portlet_SiteSettingsPortlet_mvcRenderCommandName=%2Fconfiguration_admin%2Fedit_configuration&amp;amp;_com_liferay_site_admin_web_portlet_SiteSettingsPortlet_pid=gov.nasa.hq.datamailer.portlet.internal.configuration.DataMailerConfiguration.scoped%7E8f0f9bfe-bd83-41f8-9984-ffc9e204c70b"&gt;category.NASA&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Site Scope&lt;/p&gt;
&lt;nav&gt;
  &lt;ul&gt;
    &lt;li&gt;
      &lt;a href="http://localhost:8080/group/gryffindor/~/control_panel/manage/-/site/settings?_com_liferay_site_admin_web_portlet_SiteSettingsPortlet_factoryPid=gov.nasa.hq.datamailer.portlet.internal.configuration.DataMailerConfiguration&amp;amp;_com_liferay_site_admin_web_portlet_SiteSettingsPortlet_mvcRenderCommandName=%2Fconfiguration_admin%2Fedit_configuration&amp;amp;_com_liferay_site_admin_web_portlet_SiteSettingsPortlet_pid=gov.nasa.hq.datamailer.portlet.internal.configuration.DataMailerConfiguration.scoped%7E8f0f9bfe-bd83-41f8-9984-ffc9e204c70b"&gt;DataMailer
        Portlet Configuration&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
&lt;/nav&gt;
&lt;h2&gt;DataMailer Portlet Configuration&lt;/h2&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
  &lt;label&gt;databaseVendor&lt;/label&gt;
&lt;/p&gt;
&lt;p&gt;Database Vendor&lt;/p&gt;
&lt;p&gt;
  &lt;label&gt;Antisamy policy file&lt;/label&gt;
&lt;/p&gt;
&lt;p&gt;Name of the antisamy policy file&lt;/p&gt;
&lt;p&gt;
  &lt;label&gt;Max file upload size&lt;/label&gt;
&lt;/p&gt;
&lt;p&gt;Maximum size of uploaded files in bytes&lt;/p&gt;
&lt;p&gt;
  &lt;label&gt;Enable email&lt;/label&gt;
&lt;/p&gt;
&lt;p&gt;No&lt;/p&gt;
&lt;p&gt;Enable email notifications&lt;/p&gt;
&lt;p&gt;I assume there is something has changed in how custom applications
  are deployed?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Edit: A bit more information- a second application is working
  correctly. This application is a regular portlet, the DataMailer
  application (the one that isn't showing up) is a service builder
  application. When I inspect this module in the AppManager I see this:&lt;/p&gt;
&lt;ol&gt;
  &lt;li&gt;
    &lt;a href="http://localhost:8080/group/gryffindor/~/control_panel/manage?p_p_id=com_liferay_marketplace_app_manager_web_portlet_MarketplaceAppManagerPortlet&amp;amp;p_p_lifecycle=0&amp;amp;p_p_state=maximized&amp;amp;p_p_mode=view&amp;amp;_com_liferay_marketplace_app_manager_web_portlet_MarketplaceAppManagerPortlet_mvcPath=%2Fview.jsp"&gt;App Manager&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;
    &lt;a href="http://localhost:8080/group/gryffindor/~/control_panel/manage?p_p_id=com_liferay_marketplace_app_manager_web_portlet_MarketplaceAppManagerPortlet&amp;amp;p_p_lifecycle=0&amp;amp;p_p_state=maximized&amp;amp;p_p_mode=view&amp;amp;_com_liferay_marketplace_app_manager_web_portlet_MarketplaceAppManagerPortlet_mvcPath=%2Fview_modules.jsp&amp;amp;_com_liferay_marketplace_app_manager_web_portlet_MarketplaceAppManagerPortlet_app=Independent+Modules"&gt;Independent Modules&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;DataMailer-web&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;No components were found.&lt;/p&gt;
&lt;p&gt;So I assume that's the problem, but I have no idea why that would happen.&lt;/p&gt;</summary>
    <dc:creator>Steve Weiss</dc:creator>
    <dc:date>2024-08-01T19:09:30Z</dc:date>
  </entry>
</feed>
