Custom application does not appear in list of portlets - Liferay 2024.Q2.0

thumbnail
Steve Weiss, modified 1 Year ago. Regular Member Posts: 112 Join Date: 9/20/11 Recent Posts

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:

 

DataMailer-api
gov.nasa.hq.datamailer.api

Version: 1.0.0 Status: Active
DataMailer-service
gov.nasa.hq.datamailer.service

Version: 1.0.0 Status: Active
DataMailer-web
gov.nasa.hq.datamailer.web

Version: 1.0.0 Status: Active
 

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.

Here is the portlet configuration:

@Component(
        configurationPid = "gov.nasa.hq.datamailer.portlet.internal.configuration.DataMailerConfiguration",
        configurationPolicy = ConfigurationPolicy.OPTIONAL,
        immediate = true,
        property = {
                "com.liferay.portlet.display-category=NASA",
                "com.liferay.portlet.header-portlet-css=/css/styles.css",
                "com.liferay.portlet.instanceable=true",
                "javax.portlet.display-name=Data Mailer",
                "javax.portlet.portlet-mode=text/html;view,edit",
                "javax.portlet.init-param.template-path=/",
                "javax.portlet.init-param.view-template=/jsp/view.jsp",
                "javax.portlet.init-param.viewdata-template=/jsp/viewData.jsp",
                "javax.portlet.init-param.edit-template=/jsp/pref/preferences.jsp",
                "javax.portlet.name=" + DataMailerPortletKeys.DATAMAILER,
                "javax.portlet.resource-bundle=content.Language",
                "javax.portlet.security-role-ref=power-user,user"
        },
        service = Portlet.class)
The portlet configuration does show up in the Site control panel:

  1. Site Settings
  2. category.NASA

Site Scope

DataMailer Portlet Configuration

 

Database Vendor

Name of the antisamy policy file

Maximum size of uploaded files in bytes

No

Enable email notifications

I assume there is something has changed in how custom applications are deployed?

 

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:

  1. App Manager
  2. Independent Modules
  3. DataMailer-web

No components were found.

So I assume that's the problem, but I have no idea why that would happen.