Search Results

Knowledge Base 3693
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
CannotAcquireLockException is shown in the server logs
Issue A CannotAcquireLockException is shown several times in the server log: ERROR [http--10.1.1.133-8080-281][JSONWebServiceServiceAction:97] org.springframework.dao.CannotAcquireLockException: PreparedStatementCallback; SQL [INSERT INTO Users_UserGroups (userGroupId, userId) VALUES (?,...
The server is starting up with a broken UI
Issue Even after clearing the temporary folders, the portal does not start up properly after installing a new hotfix: INFO [main][ModuleFrameworkImpl:1971] Starting web bundles ERROR [Start Level: Equinox Container: 7f6f4ee4-db9b-4469-9c46-80ad77f2f722][FilterFactoryRegistryImpl:93]...
Server shuts down abruptly when installing hotfixes in Docker
This resolution describes hardware recommendations that should only be implemented at the discretion of your team. Liferay Support is not required to make any hardware recommendations or offer any guidance on hardware selection, installation or configuration. Issue When attempting to...
Served pages contain links with URLs including the port number
Issue The server is generating HTML/pages with links containing the Web Server's port number in the URL. Example: https://www.myliferayportal.com:443 Environment All DXP versions Resolution If you want to avoid this behavior because the port already is the default for the protocol (80...
For Oracle Database users, ORA-01795 appears while reindexing
Issue For Oracle Database users, an error indicating ORA-01795 appears while reindexing ORA-01795: maximum number of expressions in a list is 1000 Environment Liferay DXP 7.3 Resolution Please try to adjust the value.object.finder.cache.list.threshold property (in portal-ext.properties)....
Cannot display user input field value in Web Content templates
Issue When using getData in Web Content template (see example code below), the field reference is displayed instead of the user input field value.  (Output: 'Option92682299' is displayed instead of user input value "Test Option") <#if (field1.getData())??> ${field1.getData()} </#if>...
We can't get the catalina home path in tomcat in DXP 7.4
Issue After migrating to DXP 7.4, we are unable to get catalina home path by using the variable ${catalina.base} or ${catalina.home} This was working in DXP 7.3 and below Environment Liferay DXP 7.4 Resolution The behavior is the result of the migration from log4j 1.x (DXP 7.3 and below)...
Sometimes the "This portlet could not be found. Please redeploy it or remove it from the page." error is displayed instead the real portlet
Issue Sometimes after starting the Liferay server, the: This portlet could not be found. Please redeploy it or remove it from the page. error is displayed instead the real portlet Environment Any Liferay DXP version Resolution You should check the Liferay log file for any startup error...
Non service builder generated services are not retrieved by ServiceLocator in freemarker template
Issue By default, is not allowed to retrieve non-service builder generated services by ServiceLocator in freemarker template, getting this error: 2022-08-25 08:30:38.427 WARN [http-nio-8080-exec-10][ServiceLocator:42] Denied access to service...
Encountering 'UT005023: Exception handling request to /: java.lang.ArrayIndexOutOfBoundsException: 0' errors when starting JBoss EAP server
Issue The server cannot be started due to the following error after installing DXP 7.4 on the JBoss EAP server: ERROR [io.undertow.request] (default task-1) UT005023: Exception handling request to /: java.lang.ArrayIndexOutOfBoundsException: 0 at...
Can't change user's password: Passwords may not be changed under the current password policy.
Issue As an administrator, when trying to change a user's password the message "Error: Passwords may not be changed under the current password policy" is shown. Under certain circumstances the message is NOT shown, but the passwords cannot be changed regardless.   Environment Liferay DXP...
Unable to add 'related products' via headless API
Issue Steps to reproduce: 1. Start Liferay DXP 7.3 2. Create a site using a 'minium site template'. 3. Invoke the below API using CURL: curl --location --request PATCH 'http://localhost:8080/o/headless-commerce-admin-catalog//v1.0/products/by-externalReferenceCode/MIN93027' \ --header...
The first FreeMarker Engine entry in the list cannot be removed by a user interface control
Issue FreeMarker Engine interface has 2 variables: 'Restricted classes' and 'Restricted variables'. Open user interface: Control Panel > System Settings> Template Engines > FreeMarker Engine (in DXP 7.4). There is no UI control to remove the first item in the list. Unlike item number 2...
"No primary key column found for XXXXX" on upgrade process
Issue During the upgrade process you could see this errors in your upgrade logs: 2021-09-30 14:25:57.235 INFO [main][UpgradeProcess:115] Failed upgrade process com.liferay.portal.upgrade.PortalUpgradeProcess in 8114 ms com.liferay.portal.kernel.upgrade.UpgradeException:...
Empty drop down icon is visible in calendar portlet for guest users
Issue Steps to reproduce: 1. Start Liferay DXP 7.3 2. Drop the 'Calendar Widget' on a page. 3. Configure the Calendar portlet to disable the RSS subscription. 4. Now, access the page as a guest user. Expected Behavior: The dropdown menu icon must not be visible. Actual Behavior: When...
Using the default locale property/environment variable won't change the language
Issue Setting the default language in the portal-ext.properties, with the property company.default.locale=nl_NL or as an environment variable LIFERAY_COMPANY_PERIOD_DEFAULT_PERIOD_LOCALE=nl_NL  doesn't change the language even after restarting the bundle and deleting the cache....
Dockbar is temporarily unavailable workaround
Issue Suddenly, while navigating or performing an action, an error like "Dockbar is temporarily unavailable" appears. Resolution Usually this error, if it doesn't happen consistently, is a consequence of performance issues. So, how should you proceed? Check the log for relevant errors....
Invalid character found in the HTTP protocol
Issue The tomcat server is fully started, however for some reason, it's shutting down after some minutes with the below error INFO [http-nio-8080-exec-7] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header Note: further occurrences of HTTP request parsing...
Scheduled job not failing over when master node goes down
Issue You might encounter an issue with your custom scheduled jobs where they are not getting planned if the master node goes down and the new master is elected Environment Liferay DXP 7.0+ Resolution Make sure that you use unregister() instead of unschedule() in the deactivate() method...
Show Number of Requests in Redirection > 404 URLs Tab
Issue When I navigate to Site Administration > Redirection > 404 URLs, all URLs show 0 requests Environment DXP 7.3 Resolution For the 404 URLs Requests counter to track the number of views, View Count must be enabled in Control Panel > System Settings > Infrastructure > View Count....
Scheduled publications are always scheduled using the server time zone on 7.1
Issue Staging publishes scheduled for the future automatically defaults to server time zone, which does not allow for much flexibility unless one manually re-schedules them. Environment Liferay DXP 7.1 Resolution The observed behavior is a known issue/bug and is addressed via LPS-116633...
I cannot save Instance Settings after changing the default web ID
Issue I added the following property to the portal-ext.properties file: # # This sets the default web ID. Omniadmin users must belong to the company # with this web ID. # # Env: LIFERAY_COMPANY_PERIOD_DEFAULT_PERIOD_WEB_PERIOD_ID # company.default.web.id=company.com After doing this, I...
Web Content Display Widgets all Display the Same Content after Upgrading
Issue When upgrading from 7.2 to 7.4, importing a .LAR file results in the web content display widgets all displaying the same content. Additionally, updating any one of the web content display widgets causes the others to receive the same update.  Environment DXP 7.4  Resolution This...
ClassNotFoundException when using DynamicQueryFactoryUtil.forClass
Issue When trying to using Dynamic Queries there can be ClassNotFoundException errors if the DynamicQuery is obtained using the method DynamicQueryFactoryUtil.forClass. Environment Liferay DXP 7.0+ Resolution To avoid this type of exceptions, consider using the available method in the...
Database password needs to be changed
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 Database password needed to be changed If the password for the database...
Startup problems and slowness after installing an Antivirus on the Liferay host machine
Issue After installing an Antivirus on the Liferay host machine, we have detected startup problems and slowness using the Liferay product Environment Liferay DXP 7.0-7.4 Resolution Official support policy for antivirus There are no official guidelines regarding the installation of an...
White space is showing while inspecting the view source
Issue Steps to reproduce: 1. Take Liferay DXP 7.3 SP3. 2. Add the below properties in portal-ext.properties. com.liferay.portal.servlet.filters.strip.StripFilter=true strip.mime.types=text/html*,text/xml 3. Navigate to Design > Page Template. 4. Create a new Page Template in the Masters...
'Pre-bound JDBC Connection found!' exception
Issue We have some custom modules using a common external DataSource. When module A calls module B within a database transaction, following exception is raised: org.springframework.transaction.IllegalTransactionStateException: Pre-bound JDBC Connection found! HibernateTransactionManager...
java.lang.UnsatisfiedLinkError: Native Library xxxx already loaded in another classloader after redeploying
Issue In our custom developments, we are using a Jar library that uses an external native loaded using JNI. When we deploy our custom development in a clean environment everything works fine, but if we redeploy it, following error is thrown: java.lang.UnsatisfiedLinkError: Native Library...
'The string this-site,this-site does not correspond to a valid search scope preference' console errors
Issue Even though the hotfix that was generated by including LPS-146763 is installed, the following errors appear. ERROR [default task-83][BaseJSPSettingsConfigurationAction:83] Unable to include JSP /search/bar/configuration.jsporg.apache.jasper.JasperException:...
If the destination page is empty, the search bar portlet is temporarily unavailable
Issue When the default '/search' parameter from the destination page field is deleted, the search bar portlet becomes unavailable. Steps to reproduce: 1) Start Liferay DXP 7.2 with fix-pack-17 (previous fix pack was dxp-fix-pack-16). 2) Click on search portlet > configurations. 3) Remove...
The Layout table still contains database references for removed sites
Issue Not all references to a deleted site are removed since entries in the Layout table that had the site's groupId are still present after the deletion is complete. Steps to Reproduce 1. Start a clean DXP 7.3 instance connected to a database (such as MySQL) 2. Create a test site...
Conflict loading libraries from the global classpath(tomcat-/lib/ext/)
Issue Loading the libraries from the global classpath is conflicting with one of the Liferay's internal module Caused by: java.lang.ClassNotFoundException: org.apache.commons.compress.archivers.zip.ZipFile         at java.net.URLClassLoader.findClass(URLClassLoader.java:382)...
Specifications API is not supporting Upsert operations
Issue Users are unable to add translations for title/labels in Specification API. Steps to reproduce: 1. POST a specification by using the Specification API endpoint (/o/headless-commerce-admin-catalog/v1.0/specifications) { "key": "demo-abc", "title": { "en_US": "Demo Specification ABC"...
Unable to add Products with Tags via headless API
Issue Steps to reproduce: 1. Create a product using POST /v1.0/products (Request is attached). 2. Execute the request and check the response. 3. Tags are showing blank and on Product UI, tags are not generated. Expected Behavior: Tags must be created while creating the product with tags...
Unable to add Products with Specifications via headless API
Issue When a product is created with specifications, the 200 response code is received. But, on UI product is not visible. Steps to reproduce: 1. Create a product by using the POST /v1.0/products (Request is attached) 2. Click on Execute. 3. Check the created product on UI. 4. Product is...
When the data for 'from address' and 'from name' are more than 50 characters, custom calendar notification templates cannot be saved
Issue The notification template is not being saved Steps to reproduce: 1. Add a 'Calendar' portlet to page 2. Navigate to Calendar settings 3. Navigate to notificationtemplates tab 4. Edit 'from address' and 'from name' so that those fields have more than 50 characters together. For...
After installing a new portal with an AdvancedFileSystemStore document_library, the images aren't shown
Issue After migrating, upgrading or installing a new portal with an existing database and document library folder using the AdvancedFileSystemStore the images and documents aren't accessible. Environment Liferay DXP (any version) Resolution After installing a new portal and copying the...
Liferay image fails to start with a javax.servlet.ServletException
Issue My Liferay image is failing to start with the default settings. The following message is thrown in the logs: javax.servlet.ServletException: A servlet matching the filter (servlet.init.private=false)(servlet.type=friendly-url) is unavailable Environment DXP 7.4 Resolution A fix for...
Using $dateTool.toDate in a Velocity template does not return any date
Issue In a Velocity template, trying to get a date using dateTool.toDate does not work as expected when using a locale different from default one. As an example, if under those conditions we have a Velocity template with below code  #set ($dateStr = $dateTool.toDate( "EEE, dd MMM yyyy...

Showing 3,201 to 3,240 of 3,692 entries.