Capability

DXP Self-Hosted Installation, Maintenance, and Administration

In addition to SaaS and PaaS deployment approaches for Liferay DXP, you can also opt to self-host Liferay DXP. Self-hosting gives you flexibility to deploy Liferay DXP on-premises or to a cloud computing provider of your choice, giving you complete control over deployment, infrastructure, and maintenance.

Feature
Deployment Approach
Ip and Port for integrating Libreoffice
Issue What IP and Port needs to be added for integrating Libreoffice with Liferay? Environment Liferay DXP 7.2 Liferay DXP 7.3 Liferay DXP 7.4 Resolution In case the application is installed on the same server, IP...
How to rotate Liferay logs per day
Issue Liferay logs can be configured to rotate each day. Environment Liferay DXP 7.4 Resolution Liferay logs default configuration is defined to make logs rotate each day. If you have applied a different...
Frontend server or load balancer IP is displayed in the HTML source code of Liferay pages
Issue We have detected that if you go to the "view page source" option, open the HTML source code of any Liferay page and search the getRemoteAddr text, you will see the internal frontend server (Apache, Nginx) or load...
What are the risks of using the FreeMarker variables utilLocator, objectUtil, and staticUtil
Issue The variables utilLocator, objectUtil, and staticUtil are restricted and inaccessible to the FreeMarker engine. What are the risks of using these variables? Environment All environments Resolution If there...
How to stop generating the redundant logs in {liferay_home}
Issue Liferay logs are generated in multiple locations: Users want to stop generating redundant logs in multiple locations. {liferay_home}/tomcat/logs/catalina.out {liferay_home}/logs/liferay.xyz.log...
Widget Configuration is not visible with custom theme
Issue Steps to Reproduce: Generate a theme with Liferay theme generator. Start the bundle and log in as admin. Deploy the created theme. Add a widget page and drop an out-of-the-box widget on it. Apply the theme to the...
Upgrading Custom Themes not created with Liferay Theme Generator from DXP 7.0 to 7.4
Issue We want to upgrade custom themes from DXP 7.0 to 7.4. But the custom themes were not created using Liferay Theme Generator. Can we upgrade custom themes using Liferay Theme Generator following this article?  ...
Methods (createResponseMessage) and (sendSynchronousMessage) Removed?
Issue We have used the following two methods: (createResponseMessage) and (sendSynchronousMessage) in Liferay 7.0 for a long time. We are now upgrading to Liferay 7.4 and they are no longer working as they did. ...
Headless API returns BAD REQUEST when a friendlyURL contains a forward slash
Issue The Headless API returns "HTTP Status 400 - Bad Request" when a / is included in a friendly URL The error can be thrown using these steps: - Login to Liferay as Admin - Go to the headless API page:...
What is the default Database Connection Timeout?
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue I would like to know the default database connection timeout and...
After changing the default language of a site I can no longer create objects
Issue Changing the default language on a site leads to an error when creating an object. The UI shows this error: Unexpected token '<',"<!DOCTYPE "... is not valid JSON Environment Liferay DXP 7.4 Resolution This...
java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "" after upgrading to a new 7.4 Update version
Issue After upgrading from DXP 7.4 Update 55 to Update 58, exception java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "" is thrown during Liferay startup 2023-02-28 12:15:02.136 ERROR...
What is a Vanilla Bundle?
Issue What does it mean to test with a Vanilla Bundle? Environment DXP 7.0 | DXP 7.1 | DXP 7.2 | DXP 7.3 | DXP 7.4 Resolution Firstly, it may also be referred to as a clean, blank, or fresh bundle.  In Liferay Support...
Asset Publishers on Content Pages show error messages in the remote live server
Issue Asset Publishers on Content Pages show error messages in the remote live server. This issue appears in a multi-server environment where a site is configured for remote staging AND the live servers are...
org.jdom dependency can not be resolved in custom development after Liferay DXP 7.3 U10
Issue If you have a dependency of org.apache.velocity, version "1.6.4.LIFERAY-PATCHED-1" (or 2) in a custom development, org.jdom package is not going to be resolved on deployment time after upgrading to Liferay...
DL Reference Observed When Publishing Web Content to a Live Site
Issue When publishing web content to a live site, the following DL Reference may be observed: $dl-reference=/group/123456/com.liferay.document.library.kernel.model.DLFileEntry/123456789.xml$ The root cause of this...
Compilation error in unschedule job
Issue Custom development not compiling due to arguments mismatch in Unschedule method: Compilation failure: method unschedule in interface com.liferay.portal.kernel.scheduler.SchedulerEngineHelper cannot...
'Error:Internal Server Error' when editing field formula in objects
Issue When adding data in the Formula Builder field and then deleting it, it is not possible to save Steps to Reproduce: 1) Navigate to Control Panel -> Objects 2) Create one objects 3) Add a field formula 4) Go to...
Is there a Tool to Whitelist Specific Regex in OSGi?
Issue Is it possible to enable a whitelisting of specific regex for OSGi module configurations? Environment DXP 7.2 Resolution There are not any out of the box tools regarding whitelisting specific regex for OSGi. The...
ConnectionPoolTimeoutException: Timeout waiting for connection from pool exception when using HttpUtil.URLtoString method from a custom development
Issue We are using Liferay URLtoString  method from  com.liferay.portal.kernel.util.HttpUtil in our custom development to call an external web service We are getting ConnectionPoolTimeoutException: Timeout waiting for...
Maximum Days to Display option not working as expected in Calendar event
Issue Steps to Reproduce: 1) Start a Liferay bundle 2) Add Calendar portlet to a page. 3) Go to Configurations of calendar portlet. 4) Go to display settings and do the following settings. i) Enable only the Agenda...
Unable to create message factory for SOAP
Issue When attempting to implement a soap client to call remote soap services, the following error occurred: Caused by: javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Unable to create SAAJ...
Soft Delete for Sites and Pages
Issue When deleting pages and sites, they are permanently deleted, making the process irreversible. Is there any parameters where I can configure this exclusion with the possibility of reverting?  Environment All...
The Layout Page Template Entry Widget Page Template Name could not be imported
Issue A page template cannot be imported Steps to Reproduce: 1) Create a site named 'Test Site 1' 2) In Test Site 1, Design -> Page Templates -> Page Templates, create a new set. 3) Under the set, create a widget...
Virtual instance can’t be accessed after backup recovery
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue After performing a backup restore from one environment...
Task scheduler extending BaseMessageListener not working after restart
Issue A task scheduler component extending BaseMessageListener works correctly when deployed to Liferay. When the server is rebooted, though, the task is not registered and it won't be executed. Environment Liferay...
Is there a way to check the jobs that are being executed and that are in the queue?
Issue Is it possible to check the jobs that are being executed and that are in the queue in the UI? Environment Liferay DXP 7.4.X Resolution As of Liferay DXP 7.4, the UI has a Job Scheduler option where you can...
The webapps folder is re-created
Issue We have moved the $CATALINA_HOME/webapps folder to a separate partition. We have updated the appBase attribute to point to the new directory, and have deleted the original webapps folder under $CATALINA_HOME. We are...
com.liferay.petra.process.ProcessException: java.io.IOException: Broken pipe error during indexation process
Issue We have configured the text extraction functionality in an external process using the configuration: text.extraction.fork.process.enabled=true...
WYSIWYG editor in custom jsp is not working
Issue Adding a WYSIWYG editor to a portlet by following this document is not working with the below error 2023-01-02 10:04:42.080 ERROR [http-nio-8080-exec-6][IncludeTag:128] Current URL /announcements...
Receiving NoSuchMethodError on DLAppService.AddFileEntry function
Issue Using the following method, to add file entries to the portal, at deployment: addFileEntry(   String externalReferenceCode, long repositoryId, long folderId,                 String sourceFileName, String...
The mandatory field Language of object is empty and is possible to save the changes
Issue Why it is possible to save the mandatory Language field without any value? Steps to reproduce: 1) Navigate to Control Panel > Object > Objects 2) Create a custom Object 3) Create a Text field 4) View this...
Unable to define the searchable option with new objects fields
Issue Unable to configure the searchable options of new fields added to an object after it has been published. Steps to reproduce: Create an object: 'Pets' Add a new field: 'petName' (Text, indexed as text) Publish...
Unable to Publish Object Definition Relationships after Importing
Issue The user is not able to publish Object Definition relationships after importing them Steps to reproduce: 1) Navigate to the Applications Menu -> Control Panel -> Objects 2) Import one Object Definition with a...
Unable to sort the entries by using the External Reference Code
Issue It's not possible to sort the entries by using the External Reference Code Steps to Reproduce: 1) Create an object 2) Create Field text 3) Navigate to View tab > Create a Custom View > Mark as default 4)...
How can I get information about my Liferay license?
Issue Is there a way to get information about my Liferay license in the UI? Environment Liferay DXP 7.0+ Resolution On Liferay 7.0, 7.1, 7.2: Go to Control Panel > Apps > License Manager On Liferay 7.3, 7.4: Go to...
The exception "java.lang.NoClassDefFoundError: aries/base/Parameter" occurs after upgrading from 7.3 GA1 to 7.3 Update 21
Issue I am seeing this error after upgrading Liferay 7.3 GA1 to 7.3 Update 21 with WebLogic 12c R2 java.lang.NoClassDefFoundError: aries/base/Parameter   Environment DXP 7.3   Resolution Update the portal property...
How to fix the error: Store is not available. Caller service needs to wait for store factory with "dl.store.impl.enabled=true"
Issue When starting one Liferay node, the following error is written to the log file: Store is not available. Caller service needs to wait for store factory with "dl.store.impl.enabled=true". The Liferay server is using...
How to configure email sender and email logging for Multi-Factor Authentication?
Issue I would like to understand where sender email address for Multi-Factor Authentication comes from. I would like to set the log levels so I can see when emails are sent. Environment Liferay DXP 7.4 Resolution Set...
Error when we create a site with Minium template
Issue When creating a new Site using Minium template, the following stack trace is seen in the logs: 2022-09-22 13:06:24,120 main ERROR Could not create plugin of type class...