Search Results

All Results 6986
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Unable to configure the portal-{WebID}.properties for each instances
Issue In Liferay, we have a feature of configuring different portal-{WebID}.properties (portal-ext.properties) for each instances. This configuration is not working in DXP 7.2 with fixpack dxp-2 and above. Environment Liferay DXP 7.2 with fixpack dxp-2, dxp-3 and dxp-4 Resolution The...
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 [liferay/document_library_pdf_processor-1][SocketOpenOfficeConnection:114] trying to (re)connect...
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 customizations that are beyond the scope of Liferay Support.  Please exercise...
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 send anonymous mail during MAIL FROM [MA1PR01CA0089.INDPRD01.PROD.OUTLOOK.COM]...
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 "aaa.com" and "www.aaa.com" are considered as two different domains. Prior...
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 version, so this may be the highest version of the Log4j supported for this...
Deploying Liferay 6.2 SP 15 on Jboss EAP 6.2
Issue This article will outline a basic walkthrough on how-to deploy Liferay 6.2 SP 15 on Jboss EAP 6.2 specific to EAP version.          Environment Liferay 6.2 JBoss EAP 6.2  Resolution Prerequisite Download 6.2EE-SP-15 version of the Liferay Portal .war file Download 6.2EE-SP-15...
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 data is available which might not be allowing to perform the task. If...
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 some translations and they are then shown in English.  Could the backup...
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 longer visible, create a Widget Page in order to have widgets with 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. 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 folder was used for two purposes: Save the precompiled JSP files from each...
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: 410b06f5-944b-4fec-9bb5-b201d26d48c7][DDMExpressionFunctionTrackerImpl:93] bundle com.liferay.dynamic.data.mapping.expression:4.0.4...
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 On RHEL7.7, the authentication code (captcha) on the password reissue...
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 This is caused by two versions of xercesImpl.jar being called: Liferay 6.2...
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: ==> httpUtil.decodeURL(filename) [in template "20116#201520000000#523000001477" at...
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: {"status":403,"message":"Exceeded Quota...
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 following cases: Case 1: Single Page Application enabled...
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. Alternatively we assigned a VM/Container 2 vCPUs, however Liferay DXP is reporting 4...
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 done at Liferay side to configure proxy are listed below, Adding these properties...
"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, Object } = primordials;                         ^ ReferenceError:...
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 Support.  Please exercise appropriate discretion in the use of this...
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 than end 2851128  at...
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 enable it" when they were attempted to view.  Environment Liferay DXP 7.2...
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: 6783392e-6833-4d6c-bcda-f2debdcd5865][Framework:93] FrameworkEvent ERROR java.lang.RuntimeException:...
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. For example, add the following system properties in...
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 file repository com.liferay.portal.kernel.exception.SystemException:...
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 [localhost-startStop-1][VerifyProcess:81] Completed verification process com.liferay.portal.verify.VerifyProcessSuite in...
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+ Liferay DXP 7.2 FP1+ Resolution With LPS-97249, Liferay introduced a new...
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 executing the upgrade, a similar error appears:...
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. You can manually adjust the property below, replacing X for the timeout value in...
${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, model=unknown, os=unknown, osVersion=unknown, pointingMethod=unknown,...
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 field will show y-02-20 instead of 2020-02-20 Environment Liferay DXP 7.1+...
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 will generate the thread dump in the Liferay logs when the portal is slow. # # The...
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 exercise appropriate discretion in the use of this information. By...
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 jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.handleExceptions(JavacTaskImpl.java:163) at...
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 of js_loader_modules servlet. LPS-82808 LPS-83949 LPS-92402 LPS-92810 Use the following...
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: b8f39843-b261-414d-83ce-0349e281fc15][Framework:93] FrameworkEvent ERROR org.osgi.framework.BundleException:...
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. 2020-01-08 13:00:49.267 ERROR [main][Base64:343] java.lang.ClassNotFoundException: com.ibm.crypto.provider.AESSecretKey...
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 Liferay Support.  Please exercise appropriate discretion in the use of this...
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 [liferay/mail-1][MailEngine:128] Unable to send message: Exception reading response...
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 Liferay DXP 7.0 Liferay DXP 7.1 Liferay DXP 7.2 Resolution We have released a...
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 .config files permits you to transfer configurations between one...
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 respective landing page with the customized logout modules for the two...
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 crt and the key on base 64 on the LCP.json file. { "id": "webserver",...
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 Scripting Console can be disabled by blacklisting the following modules:...
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 sun.nio.ch.FileDispatcherImpl.writev0(Native Method)  at...
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 use the feedback button to let us know. Issue The following error is...
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 [http-nio-8080-exec-2][JSONWebServiceServiceAction:97] User 31929 must have UPDATE permission for...
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] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener...
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 a.site.com 2) Site B should be mapped with b.site.com  That is when...
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 ehcahce.xml referred in this property is the /liferay-single-vm.xml and...
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 [liferay/scheduler_dispatch-4][JDBCExceptionReporter:234] HikariPool-1 - Connection is not available, request timed out after...
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 happen, the JDBC ping may not be an option. Environment Liferay DXP 7.1...
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 unofficial links involve customizations that are beyond the scope of...
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 following two listeners somehow were not working for a while and a...
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 do you delete page scopes? Environment Liferay DXP 7.0, Liferay DXP...
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 {destinationName=liferay/scheduler_dispatch, response=null, responseDestinationName=null,...
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 Lucene search index Liferay 6.2, embedded Lucene search index Resolution Liferay does not endorse or...
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 com.liferay.portal.cluster.multiple:3.0.15...

Showing 1,981 to 2,040 of 8,770 entries.