Search Results

Knowledge Base 3688
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
How to resolve Jenkins failing to build a service in Liferay PaaS with a non-zero exit value of 137
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue When attempting to build a Liferay PaaS service, our Jenkins builds are failing with errors like the following: * What went wrong:...
Resolving When a .lar File Exported From Asset Publisher is Empty
Issue I exported a .lar file directly from the Asset Publisher using Widget Menu -> Export didn't contain any assets and was only a few kb in size. Our environment is patched to de-92 Environment DXP 7.0 DXP 7.1 Resolution This is fixed by LPS-83228, which is included in...
Cannot Access Login Portlet After Changing Root Context and Updating Patches
Issue After changing the root context in my Liferay DXP 7.2 instance and installing fix pack dxp-6, the login portlet is grayed out and inaccessible. In the browser console, I see that the root context is doubled in the URL, and it returns the following 404 not found error for the login...
Unable to disable the footer option after upgrading to Liferay DXP 7.2
Issue 1) Not able to disable the footer option of the classic theme after upgrading the Liferay 7.0 to Liferay 7.2 2) Steps to reproduce Go to the public page configuration To disable show footer, unchecked show footer option. After clicking on save, the option is disabled. Go to the...
Known issue: Error "Invalid version number: Version number may be negative or greater than 255" when starting up Liferay 6.2 using jdk 8u261 or later
Issue The following error was reported when starting up Liferay Portal 6.2 using jdk 8u261 or later Oct 19, 2020 3:02:57 AM org.apache.catalina.core.ApplicationDispatcher invoke SEVERE: Servlet.service() for servlet Friendly URL Servlet - Public threw exception...
JSPs stop working if their osgi module is restarted and direct.servlet.context.reload property is configured to false
Issue JSPs stop working if their osgi module is restarted and the direct servlet context reload functionality is disabled with the direct.servlet.context.reload=false setting. The issue is also reproduced in case: You deploy a new osgi fragment module that overrides an existing JSP...
Liferay PaaS - DB user doesn't have super privileges for the database service
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue Liferay PaaS backup service will throw: ERROR 1227 (42000) at line XX: Access denied; you need (at least one of) the SUPER...
Java parameter UseContainerSupport doesn't work
Issue We are trying to specify the amount of memory Liferay can use by setting the -XX:+UseContainerSupport property However, it seems to take no effect and we don't see the specified limit shown in the System Administration panel  Environment Liferay DXP 7.0+ Java HotSpot VM Resolution...
'Connection reset by peer' when uploading files
Issue You are encountering the following exception in the logs: java.io.IOException: Connection reset by peer Users cannot upload files and errors like the following are printed (some examples): WARN [UploadServletRequestImpl:245] Unable to parse upload request: Processing of...
Error "Incorrect string value" in logs when adding emojis to Web Content
Issue When inserting emojis (emoticons) to a Web Content article, the portal fails to add/update the article and an error similar to the one below is shown on logs. 09:33:30.544 ERROR [http-nio2-8080-exec-48][JDBCExceptionReporter:234] Incorrect string value:...
Amazon S3 - Report generation leads to multipart upload failed error
Issue Cannot generate reports on Liferay 6.2 and Amazon S3 Hitting multipart upload error when creating CSV file Scenario - With an S3 bucket configured for use and a data-definition in place, we find that when attempting to generate a report (.csv format), it is possible to encounter...
HttpOnly flag in JSESSIONID cookie using JBOSS application server
Issue JSESSIONID cookie does not contain the HttpOnly flag. Environment Liferay Portal 6.2 JBOSS Resolution You need to change it on your application server configuration, in the [jboss_home]\standalone\deployments\ROOT.war\WEB-INF\web.xml, as below: <session-config>     <cookie-config>...
Unable to restart bundles from GoGo Shell
Issue When running update {Portlet ID} in the GoGo Shell, you get an error on the UI saying the request could not be completed. Environment Liferay DXP 7.2 Resolution This behavior is a known issue when trying to restart certain versions of modules If you encounter this behavior, then as...
Content Delivery Network (CDN) configuration "cdn.dynamic.resources.enabled=false" is not working
Issue After setting cdn.dynamic.resources.enabled=false, Liferay is still accessing some CSS and JavaScript from the CDN URLs configured in cdn.host.http= and cdn.host.https= Environment Liferay Portal Liferay DXP Resolution If the properties cdn.host.http= and/or cdn.host.https= are...
Staging configuration is incorrect after fix pack update
Issue We have staging enabled for a long time with only the Dynamic Data Lists portlet staged After updating to Fix Pack 61 or above, our staging configuration has changed and shows not only the Dynamic Data Lists as a staged portlet, but Blogs, Bookmarks, Documents and Media and Wiki...
Unicode special characters from a UTF-8 encoded OSGI config file are not properly read
Issue 1. add the osgi config file attached to the osgi/config directory 2. start the liferay server 3. go to system settings to the comments section Expected result: discussionEmailBody property has "Mit freundlichen Grüßen" text inside body text Actual result: discussionEmailBody...
Unable to set a virtual host
Issue We can't add/update our domain to our site's or instance's virtual host We get the below error on the UI: Please enter a unique virtual host. Virtual hosts must be valid domain names. Environment Liferay Portal 6.2+ Liferay DXP 7.0+ Resolution There are a few things that might...
Can't disable propagation of changes because of modified display settings
Issue When trying to disable the propagation of changes from a site template to my site, the option is not shown, instead there's a message stating: You cannot enable the propagation of changes because you modified the display settings of this site. Use the default language options to...
Error when executing Groovy script: java.sql.SQLException: Can't call commit when autocommit=true
Issue When a Groovy script with a commit instruction is executed it fails with the error: java.sql.SQLException: Can't call commit when autocommit=true Environment DXP 7.2 Resolution On the portal-ext.properties file make the following changes: At the end of the jdbc connector...
Getting 400 error code while accessing adaptive media urls using public IP
Issue When accessing adaptive media URL's over public IP eg: http://Public_IP:8080/o/adaptive-media/image/35333/Thumbnail-300x300/url.png?t=1588749467134, the page gets redirected to the home page. While accessing the adaptive media URLs using localhost, 127.0.0.1, Server_IP, Private_IP...
JSP fragments modules status get back from Resolved to Active after removing OSGI/state folder
Issue After removing the OSGI/state folder and restarting the application, JSP fragments modules lose the status "Resolved" and get back to "Active". Environment Liferay DXP 7.2 Resolution Upgrade to fix-pack 5 or higher; or Request a hotfix with the LPS-102027 fix. Additional...
Unable to send email for new account created - handshake_failure error
Issue After configuring a secure mail server in Control Panel > Server Administration, the email notice for a new account created (or any other mail coming from Liferay DXP) is not sent. Instead, the stacktrace below is shown on the logs. 2020-06-01 15:30:21.926 ERROR...
Multiple compatible overloaded variations were found with the same priority on Liferay Layout Templates deployment
Issue When deploying layout templates with Freemarker code e.g. like the below: <span>${languageUtil.get(locale, "read-more")}</span> <span>${sessionClicks.get(request, "test", "My Test")}</span> A stacktrace will appear in the server logs: INFO...
Staging Publishing Takes a Long Time
Issue Publishing from Staging takes a very long time Staging performance issues when publishing content Environment Liferay Staging Resolution The most common cause of this is trying to publish large amounts of data at a time. Best Practice is to "publish small, publish often". Don't...
Unable to start up server due to configurations from Oracle database
Issue Using Oracle and having a NULL dictionary in the table Configuration_ for the configurationid org_apache_felix_cm_impl_DynamicBindings, the below error will appear: java.lang.RuntimeException: org.osgi.framework.BundleException: Exception in...
After successful upgrade from Liferay Portal to DXP, portlets show "This portlet could not be found" messages and errors in logs
Issue After what looked like a successful upgrade attempt from Portal 6.2 to DXP 7.2, various errors are encountered when starting up the 7.2 bundle (including Failed upgrade process errors relating to the DDM module), and portlets in the UI are replaced with a message that notes: "This...
GraphQL fails after update to Fix Pack 4 or Fix Pack 5
Issue When updating to Liferay DXP 7.2 Fix Pack 4 or Fix Pack 5, you may encounter the following error when using GraphQL: 2020-02-25 10:48:50.588 ERROR [http-nio-8080-exec-8][AuthVerifierFilter:62] java.lang.NullPointerException java.lang.NullPointerException at...
"Incompatible argument to function" error on SimpleCaptchaImpl after installing Liferay DXP 7.1 Fix Pack 17 or 7.2 Fix Pack 5
Issue After installing Liferay DXP 7.1 Fix Pack 17 or Liferay DXP 7.2 Fix Pack 5, customers using Liferay may notice an error at startup: ERROR [Start Level: Equinox Container: 03872104-7588-4c48-9e30-b4e53004033b][SimpleCaptchaImpl:93] bundle com.liferay.captcha.api:2.0.21...
Runtime error "Could not resolve module: _ Unresolved requirement: Import-Package com.liferay.portal.kernel.util; version="
Issue The below error is thrown at runtime while deploying the developed module. org.osgi.framework.BundleException: Could not resolve module: com.test.java.service [1103]_ Unresolved requirement: Import-Package: com.liferay.portal.kernel.util; version="[9.13.0,10.0.0)"_ [Sanitized] at...
Cache is not replicating properly across the nodes in the cluster environment
Issue From one of the nodes, when uploading a document or creating web content, it's available under the content section in the other node. But when creating a page, adding the uploaded docs and existing web content on the page, it's not getting reflected in the other node until and...
On 6.2 fix packs before portal-167-6210, Liferay shows a blank home page on MS IE11 and MS Edge
Issue When working in a Portal 6.2 EE environment with JBoss EAP 7.0, a web server and a patching level lower than portal-167-6210, the Liferay home page, when displayed on MS IE11 and MS Edge, will be blank  Environment Portal 6.2 EE portal-167-6210 or lower Resolution Set...
I cannot reinstall Marketplace applications in the App Manager
Issue I have issues with a Marketplace app, so I try to reinstall it I uninstall the App through the UI (from Control Panel > Apps > App Manager) I purchase the App again from the Marketplace (Apps > Store) Once it is Purchased, I click the Install button next to the App Result: I get an...
Fragment is not resolved after a clean server restart
Issue If I deploy a fragment, it works fine for the first time. But when I stop the server, delete osgi/state folder, and restart it, the fragment fails to resolve. It needs to be restarted in gogo shell to go to resolved state. Environment Liferay DXP 7.1 Liferay DXP 7.2 Resolution...
After soy modification, the components under Control Panel are not visible
Issue Post portal upgrades from DXP 7.0 to Liferay 7.2, under the control panel, pages like the site, user organization, etc are not visible and getting UI error as "XXXX is temporarily unavailable" Environment Source version: Liferay DXP 7.0 Destination version: Liferay DXP 7.2...
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...
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]...
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...
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...
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...
"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:...
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:...
${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+...
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...
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...

Showing 3,421 to 3,480 of 3,687 entries.