Capability

Digital Asset Management

Liferay’s Digital Asset Management (DAM) tools simplify the organization and management of digital assets. Assets include images, videos, presentations, documents, and much more. Additionally, the Asset Library feature enables you to manage and publish assets in one central repository for use across multiple distinct sites.

Feature
Deployment Approach
Mails are not getting triggered when configured with smtp.office365.com
Issue The email notifications are not sent successfully when configured with smtp.office365.com. The below errors are observed while mail is being sent. 1) 530 5.7.57 SMTP; Client was not authenticated to...
Groovy script to clear the stale data in the lock_ and backgroundtask tables
Issue Groovy script to clear the stale data in the lock_ and backgroundtask tables Environment Liferay DXP 7.2+ Resolution In the log, similar to the below info may be thrown which shows that there may be some stale...
I cannot configure the "Look and Feel" of widgets on the Content Page
Issue A new Content Page is created and a widget is added to it. There is no kebab menu on it (3 dots) and there is no Look and Feel Configuration button either. Environment Liferay DXP 7.2 Resolution The menu is no...
The document preview is not generated due to "[SocketOpenOfficeConnection:114] trying to (re)connect" warn message.
Issue The preview is not generated for the documents in the Document and Media portlet. The following warn messages are thrown in the logs, INFO...
Missing translations are shown in English (US) rather than in the default language
Issue A Liferay instance is configured to work with a default language A and other languages B, C, etc. None of the configured languages (A, B, C, ...) are English (US). A non-default language (B, C, ...) lacks...
Read the data of portal-ext.properties from custom portlet
Issue How to read the configured properties in the portal-ext.properties file from the custom module or custom portlet? Environment Liferay DXP 7.1 Resolution Please Note: The following procedures involve...
Upgrade the Log4j version in the existing Liferay DXP instance
Issue Is there any option to configure or upgrade the Log4j version in the existing Liferay DXP instance? Environment Liferay DXP 7.0 Resolution By default, Liferay DXP 7.0 is pre-bundled with the log4j 1.2.17...
Configuring multiple virtual hosts so that both www and non-www can be used
Issue To configure multiple virtual hosts on one site(for example, both www.aaa.com and aaa.com). The Virtual Host can not be configured by using both of the different hosts. Environment Liferay DXP 7.2 Resolution...
Can not start Liferay after upgrading to jdk 11 with "java.lang.ClassNotFoundException: jdk.internal.reflect.MethodAccessorImpl cannot be found" reported
Issue After upgrading to JDK 11, the server can not be started due to the following error: 2020-03-16 16:47:50.470 ERROR [Start Level: Equinox Container:...
Browser's console prints: “Error: Namespace "ClayTooltip.incrementaldom" already declared”
Issue While navigating through DXP pages, the browser's console will occasionally print the below error: Error: Namespace "ClayTooltip.incrementaldom" already declared So far the issue was observed in the...
java.sql.SQLException: Error on rename of mysql.frm due to permission denied
Issue After deploying the jar, it gets deployed and started successfully with the following error on Liferay logs. Also, the table gets created but there is no entry in Release_ and ServiceComponent table....
How to resolve failed deployments when quota limit errors indicate exceeded maximum builds
Issue Deployments are currently timing out for some of our services, causing the deployments of those builds to fail. When looking at the console for the CI, I see the following error:...
The work folder is no longer appearing since DXP 7.2 SP1
Issue After updating to SP1 (fix pack dxp-2) on DXP 7.2 the $[Liferay-home]/work folder is no longer there or no longer generates new content Environment DXP 7.2 SP1 or above. Resolution The $[Liferay-home]/work...
On RHEL7.7, the authentication code (captcha) on the password reissue screen may not be displayed
Please be aware that the page you are viewing has been machine translated from Japanese into English and may contain some translation errors. If you observe any issues with the translation, please contact us. Issue...
Why the "Error executing FreeMarker template" is thrown in the logs?
Issue What is the reason behind the following error which is thrown in the logs? [runtime:60] Error executing FreeMarker template FreeMarker template error: The following has evaluated to null or missing: ==>...
Xerces Errors with Customizations
Issue After deploying a customization on Liferay 6.2 there are xerces related error on server restart Apache xerces error in the logs after module deployment Environment Liferay 6.2 and JBoss EAP 7.0 Resolution...
How is the number of cores reported to Liferay DXP?
Issue Liferay DXP is not reporting the correct number of cores.  For example: A machine has 4 physical cores in the CPU. However Liferay DXP is reporting 8 cores on the <domain>/c/portal/license page....
"Primordial" ReferenceError is thrown when upgrading or importing the theme
Issue Error as "ReferenceError: primordials is not defined" is thrown either while upgrading a theme or when importing a theme home/xxxx/yyyyy/theme$ yo liferay-theme:import 00h00m00s 0/0: : fs.js:27 const { Math,...
What configuration needs to be done to bypass the proxy in Liferay?
Issue What are the proxy configurations to be done at Liferay to bypass the proxy available in the network? Environment Liferay Portal 6.2 Liferay DXP 7.0, 7.1, 7.2, 7.3, 7.4 Resolution The configurations...
Why the error "Unable to get ranges java.io.IOException: Range start XXXX is greater than end YYYY" is thrown in the logs?
Issue What is the reason behind the following error which is thrown in the logs? ERROR [default task-4064][ServletResponseUtil:227] Unable to get ranges java.io.IOException: Range start 2851129 is greater...
Elasticsearch indexing error- NoNodeAvailableException
Issue Elasticsearch indexing error is getting thrown as below while upgrading the Liferay portal DB. 2020-02-21 11:39:23.096 ERROR [Framework Event Dispatcher: Equinox Container:...
Some portlets are disabled after upgrading
Issue After upgrading from a previous version of Liferay to Liferay DXP 7.2, some portlets were disabled and displayed error messages such as "This portlet is inactive. Please contact your portal administrator to...
Read the data of portlet.properties from custom portlet
Issue How to read the data from the portlet.properties from the custom portlet? Environment Liferay DXP 7.1 Resolution Please Note: The following procedures involve customizations that are beyond the scope of Liferay...
JBoss Server cannot be started without any error in the log
Issue JBoss Server with Liferay DXP deployed cannot be started without any error in the log Environment Liferay DXP 7.0 Resolution Consider extending the timeout "jboss.as.management.blocking.timeout" in Jboss Configuration....
DXP 7.0 start up fails with error ORA-00942 on empty Oracle database
Issue When trying to start up a DXP 7.0 portal on an empty Oracle database it fails. On the logs the following messages can be seen: 2020-02-20 20:16:01.209 INFO...
ORA-01408 exception when upgrading custom Service Builder module
Issue Running g! upgrade:check it turns out that a component was not migrated successfully, the output is for example: There is an upgrade process available for ServiceBuilder.service from 0.0.0 to 1.0.0 Upon...
Unable to add the image into the file repository while upgrading the portal DB
Issue Not able to upgrade the portal DB from DXP 7.0 to DXP 7.2 with the below repository error. ERROR [ForkJoinPool-2-worker-0][UpgradeImageTypeContent:184] Unable to add the journal article image 237723783 into the...
How to automatically log thread dumps when the portal is too slow in Liferay?
Issue How to automatically generate thread dumps when the portal is slow? Environment Liferay Portal 6.2 Liferay DXP 7.0,7.1,7.2,7.3, and  7.4 Resolution Liferay has provided the below two properties which...
How to Change the Session Timeout Value
Issue How do I modify Liferay's default session-timeout of any logged-in user? Environment DXP 7.2 DXP 7.3 DXP 7.4 Resolution This value is set on the [App_Server_HOME]/webapps/ROOT/WEB-INF/web.xml file....
${device} in Freemarker template does not return device data
Issue When using the Freemarker directive ${device} and checking the resulting content on the interface, no actual device data will be returned: {brand=unknown, browser=unknown, browserVersion=unknown,...
API for document deletion
Issue API for the document deletion Environment Liferay portal 6.2 Resolution Please Note: The following procedures and unofficial links involve customizations that are beyond the scope of Liferay Support.  Please...
I cannot save Instance Settings due to error: Please enter a valid mail domain
Issue I go to Control Panel > Configuration > Instance Settings (or Virtual Instances) I enter a valid mail domain and click Save I get the error: "Please enter a valid mail domain" Environment Liferay DXP 7.1 FP15+...
Date fields are set with invalid format on JDK9+
Issue After setting Liferay to use JDK9 (or any major), customers may notice that the date formats will be invalid upon selection on the date picker: for example, in Swedish, for a date like February, 20th, the...
Upgrade from 6.2 to DXP fails with IBM-specific AESSecretKey error
Issue Upgrade from 6.2 to DXP fails with IBM-specific AESSecretKey error, when a user was using IBM JDK for the 6.2 environment....
Update to DXP 7.2 Fix Pack 4 from DXP 7.2 GA1
Issue When updating from DXP 7.2 GA1 to Fix Pack 4 you may encounter the following startup error: 2020-01-31 02:55:02.013 ERROR [Framework Event Dispatcher: Equinox Container:...
bnd.bnd is not getting created with EXT module project
Issue bnd.bnd is not getting created with EXT module project. Environment Liferay DXP 7.2 Resolution Please Note: The following procedures and unofficial links involve customizations that are beyond the scope of...
How to identify the filename for a System Settings configuration file
Issue This article documents how to determine the filename that should be used for a Systems Settings configuration file (.config) that can be inserted into $LIFERAY.HOME/osgi/configs. Why? The creation of System Settings...
NullPointerException when compiling module JSPs in OpenJDK 11.0.6
Issue I'm using OpenJDK 11.0.6. When I deploy a module with custom JSP, JSP compilation fails with NullPointerException: java.lang.RuntimeException: java.lang.NullPointerException: entry at...
How to configure/use outlook mail server to send email notifications in Liferay
Issue While configuring outlook mail through Liferay mail configuration the below exception is thrown : " Could not connect to SMTP host: smtp.office365.com, port: 587"  OR ERROR...
Improve the Performance of JS Loader Modules Servlet
Issue How could we minify js_loader_modules file to improve our page load performance? Environment DXP 7.1 Resolution Install Fix Pack 11 which includes the following fixes to improve the performance...
UiWebView deprecation
Issue I get a UIWebView deprecation warning that Apple will stop accepting submission of apps that use UIWebView APIs; Liferay mobile SDK uses the AFNetwroking library which is using UIWebView APIs. Environment...
The portal becomes unresponsive due to java.io.IOException: Broken pipe error thrown in the log
Issue The portal becomes unresponsive and the log is filled with the below error, ERROR [default task-112985][VirtualHostFilter:375] java.io.IOException: Broken pipe java.io.IOException: Broken pipe  at...
PortalContextLoaderListener with Runtime Exception
Issue After upgrading the Liferay portal DB from 6.2 to 7.2 successfully, Unable to start the server. Below error occurs: [# Error1] 27-Dec-2019 21:01:10.432 SEVERE [main]...
How to generate the crt and key of a certificate on base64 for a custom domain on Liferay PaaS?
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue As stated on this documentation you'll need to add both the...
How to disable Scripting Console
Issue Even if Scripting Console is restricted to those with the server administration role, we would like to disable this scripting functionality in our 7.0 portal. Environment DXP 7.0 Resolution Scripting from...
Configuring the respective landing page with the customised logout modules for the two different sites in one Liferay instance
Issue There are two different sites named site-a and site-b in one Liferay instance. Develop a custom hook for the logout module to customize the logout landing page for these two different sites How to configure the...
CacheFilter Expiration time
Issue The cache filter caches processed web content.  To change the cache expiration time to live ehcache.xml needs to be modified. So where can we set the expiration time. Environment Liferay DXP 7.0 Resolution The...
How to Configure Multiple Site Names with Different HostNames
Issue How Multiple Sites can be configured with Different HostNames in the portal? The below example illustrates the requirement. If there are two sites Site A and Site B then, 1) Site A should be mapped with...
Permission Error When Updating User's Password by JSONWS API
Issue When updating the User's password through JSONWS API, the following error is reported in the log and the password can not be updated correctly. 01:18:11,468 ERROR...
Registration of certain characters may fail.
This article has been machine translated from its original language for your convenience. Please use discretion as this translation may include some inaccuracies. If you encounter issues with the translation, please...
Liferay server is not reachable with the error "HTTP 404" on the browser
Issue When accessing the server on the browser, the server is unreachable with the error HTTP 404 and the following error is observed on the Liferay logs. ERROR...
Login issue when configuring the SSL on JBoss EAP 7.0
Issue Login issue when configuring the SSL on JBoss EAP 7.0 Environment Portal: Liferay DXP 7.0 Application Server: JBoss EAP 7.0 Operating System: Ubuntu 19.04 Resolution Please Note: The following procedures and...
Error java.lang.OutOfMemoryError: Metaspace
Issue When there's a lot of traffic or usage, the logs show an error similar to: 2019-11-12 07:39:54.538 ERROR [liferay/scheduler_dispatch-24][ParallelDestination:55] Unable to process message...
Cluster cannot be started after updating to Fix Pack 3 on Liferay DXP 7.2
Issue After installing liferay-fix-pack-dxp-3-7210.zip, TCPping cluster nodes can not be started due to the following errors: 2019-12-16 16:02:56.201 ERROR [SCR Component Actor][ClusterExecutorImpl:93] bundle...
A Large Amount of Expired Records in SamlSpMessages and SamlSpAuthRequests Table Should be Cleaned up
Issue The high CPU usage is observed every hour in the database server and a large amount of data exists in SamlSpMessages and SamlSpAuthRequests table.  Environment DXP 7.1 Resolution The root cause could be that the...
How to delete page scope
Please be aware that the page you are viewing has been machine translated from Japanese into English and may contain some translation errors. If you observe any issues with the translation, please contact us. Issue...
How to use JDBC ping for DXP 7.1 dockerized cluster in Kubernetes
Issue We have a 7.1 cluster in Kubernetes with docker image Liferay nodes. We don't know in advance what IP address would be assigned to Liferay containers. As the pods can get killed and then the cleanup does not...
SIGSEGV Issues in JDK 7u40
Issue Symptom: "A fatal error has been detected by the Java Runtime Environment: SIGSEGV (0xb) at pc=0x00002ad5cad58a87, pid=18862, tid=1093142848" Environment Liferay 6.1, embedded...
java.sql.SQLException: Incorrect string value and no Display Templates listed for the Breadcrumb widget
Issue On startup, the server will print errors similar to these: ERROR [main][JDBCExceptionReporter:234] Incorrect string value: '\xE5\x9F\xBA\xE6\x9C\xAC...' for column 'name' at row 1 WARN...
Reference tag in service builder service.xml is not allowing to have MBMessage reference
Issue Creating service module with reference <reference entity="MBMessage" package-path="com.liferay.message.boards" /> in service.xml. gradle buildService fails with  Exception in thread "main"...