Search Results

Knowledge Base 3693
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
ClassCastException in Xerces with JBoss EAP 7.3 and IBMJava
Issue When Liferay 7.3 is deployed on JBoss EAP 7.3 using IBMJava, the following exception is thrown at startup and the server fails to start: ERROR [ServerService Thread Pool -- 80][ServletContextHelperFactoryImpl:93] bundle com.liferay.portal.osgi.web.servlet.context.helper.impl:3.0.8...
Upgrade to DXP 7.3 fails due to error about an already existing column
Issue When running the DB Upgrade Tool, the upgrade fails due to an error regarding a duplicate or already existing defaultvirtualHost column. (See examples of the error below) Upgrading Oracle DB Caused by: com.liferay.portal.kernel.upgrade.UpgradeException: java.sql.SQLException:...
Intermittent LDAP login failures due to LDAP response read time out
Issue With large LDAP directories, user login can sometimes fail if the LDAP query takes longer than the configured read timeout (default value is 500ms)  WARN [http-bio-exec][LDAPAuth:176] Failed to bind to the LDAP server with ... javax.naming.NamingException: LDAP response read timed...
How to resolve an IllegalArgumentException when attempting to update a Destination Worker's Core Size and Maximum Size
Issue When attempting to update the Worker Core Size and Worker Maximum Size (for example, changing the liferay/background_task destination name to a core size of 5 and a max size of 10), though the update appears successful in the UI, the logs show a "CM Configuration Updater" error and...
Caching js_resolve_modules calls
Issue The load time and the amount of data that is requested from the server by caching resolved_modules should be reduced. Environment Liferay 7.2 with DXP-8 Resolution A hotfix has been provided and below is the explanation of how it works The hotfix is not depending on any browser....
Local development Liferay bundle will stop working with IllegalStateException: Send redirect after commit
Issue Portal developers running a local Liferay bundle with a developer Activation Key may suddenly be unable to use the server. The interface will redirect to /c/portal/license URL showing the License Server details and the below error will appear in the server logs: ERROR...
Violation of PRIMARY KEY constraint on startup after DB upgrade
Issue After successfully upgrading your DB with the db-upgrade tool you might face a similar error to the following one on fresh startup:...
Freemarker showing verbose exception
Issue Freemarker is showing verbose exception on site, even though RETHROW is set. Environment Liferay DXP 7.2 Resolution The Journal Article error template can be configured with the following steps: Navigate to Control Panel > System Settings > Web Content > Web Content (VIRTUAL...
After upgrading a staged environment from 6.2 to DXP, the tag function does not work properly
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 There is a staging configured Portal 6.2 environment There is a tag...
Warnings get thrown while attempting to upgrade Lock_ table
Issue Several warnings get thrown, while the migration tool is trying to upgrade Lock_ table. WARN [main][UpgradeProcess:446] Attempting to upgrade table Lock_ by recreating the table due to: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server...
Upgrade from Liferay DXP 7.2 FP5 to Liferay DXP 7.3 GA1 fails
Issue When running the DB upgrade process from Liferay DXP 7.2 FP5 to Liferay DXP 7.3 GA1, it fails due to Duplicate column name 'defaultVirtualHost':...
Customising soy files in ext plugins
Issue 1) Create Ext-plugin by adding ext-files (SelectCategory.es.js and SelectCategory.soy). 2) Deploy through Gradle "deploy" Or place the jar to osgi/marketplace/override folder. 3) Deployed path should be: {Liferay-Home}osgi/marketplace/override. 4) Delete temp folders and osgi/state...
Unexpected URLs in Page Analytics
Issue The URL pattern of different pages in the page analytics is changed i.e., starting with 'https:///' such as 'https:///login'. Environment Liferay 7.2 Resolution This is certainly an invalid URL because, even if the complete URL would have been coming, it should be at-least having...
Change to portal-ext.properties files not being reflected in node
Issue After making changes to different properties in the portal-ext.properties file, these changes are not being reflected in the environment when Liferay is being started up. Environment Liferay DXP 7.0 Resolution When Liferay starts, sometimes it can load multiple...
Disable Pragma: no-cache header
Issue Liferay adding a "Pragma: no-cache" to the response header, and this is preventing the app server, or the client from caching the data. Environment Liferay DXP 7.2 Resolution Set the browser.cache.disabled property to false in your portal-ext.properties file Additional Information...
Deployment of Ext-plugin module
Issue Below exceptions are occurring while deploying "Asset Publisher Web Module" ext-plugin...
SSL Exception with MySQL and JDK 11
Issue After starting Liferay with MySQL and JDK11, and after waiting for some time, the following traces might occur: ** BEGIN NESTED EXCEPTION ** javax.net.ssl.SSLException MESSAGE: closing inbound before receiving peer's close_notify STACKTRACE: javax.net.ssl.SSLException: closing...
LPKG Index Validation takes too long and ends up in out of memory error
Issue When we start our test server with -Xmx1024Mb after applying a new patch, the LPKG Index Validator is running too long and we are getting GC overhead exception, ending up in OutOfMemoryError: WARN [HikariPool-1 housekeeper][HikariPool:676] HikariPool-1 - Thread starvation or clock...
After setting up Liferay DXP on a fresh application server via WAR file and dependencies, "java.lang.NullPointerException: entry" thrown on startup
Issue I set up Liferay DXP on a fresh application server using the WAR file, dependencies and OSGi dependencies according to the Installing Liferay DXP on Tomcat guide, and the following errors are thrown on startup: SEVERE [main] org.apache.catalina.core.StandardContext.listenerStart...
"Unable to deploy LPKG file ..." errors after making environmental changes
Issue When freshly downloading a bundle, starting it up with Hypersonic database, stopping it, configuring a different database in the portal-ext.properties file then starting the portal again there are several Unable to deploy LPKG file ... errors appearing in the log. Environment DXP...
Config file deployment with values in special Unicode characters are not visible properly in User Interface
Issue When exporting some settings from Control Panel → System Settings, the resulting OSGi config file will be UTF-8 encoded. However, at the next startup, when reading that file, Liferay does not assume that it is UTF-8 encoded and therefore special Unicode characters (eg.: Japanese or...
Login fails in local environment.
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 occurs...
Understanding a "There is no order guarantee on which result is returned" Portlet Preferences warning when using embedded Hypersonic
Issue When unzipping and launching a 7.1 SP4 bundle, the following WARN is shown in the logs: 2020-09-30 15:21:30.057 WARN [http-nio-8080-exec-2][PortalPreferencesPersistenceImpl:208] PortalPreferencesPersistenceImpl.fetchByO_O(long, int, boolean) with parameters (20103,4) yields a...
How to give permission to users to see the title and description of Calendar events?
Issue Unauthenticated users or users with the default User role can not see the title and description of Calendar events  Environment DXP 7.2 DXP 7.1 DXP 7.0 Resolution Log in as your administrator user to Liferay Go to Control Panel -> Users -> Roles  Click on Guest or User and navigate...
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...

Showing 3,401 to 3,440 of 3,692 entries.