Search Results

Knowledge Base 3817
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
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"...
Image not getting displayed in Interner Explorer 11 post upgrade from Liferay Portal 6.2 to Liferay DXP 7.1
Issue Post upgrade from Liferay Portal 6.2 to Liferay DXP 7.1, the web content articles created using structure and template with an embedded image field will not display the respective image on IE 11 i.e....
Unable to change the configuration in Most Viewed Assets portlet
Issue Changes made in the configurations of the Most Viewed Assets portlet by navigating Configuration -> Number of Items to Display -> given 1 as value and saved. But "You Request failed to complete" error...
Using singleton_name in tcp.xml, Liferay 7.2 (fix pack 1) TCPping cluster fails to start up
Issue After installing fix pack 1 on our 7.2 TCPping cluster, the nodes fail to start up with numerous errors. It seems that Liferay cannot create JgroupsClusterChannels and singleton_name is not recognized: ERROR...
Different Browser Cache Behaviour on HTTPs Protocol in Google Chrome
Issue Not all of the static requests are cached in Google Chrome, when you follow this documentation to set up HTTPs: Setting Up HTTPs on Tomcat Reproduction steps: Set up the portal as per attached...
No portlet bag for {id=0, companyId=0, portletId=xxxxx, roles=, active=true} reported during import process
Issue When publishing from staging to live, or importing lar into a new site, the following error is reported: 11:09:48,470 ERROR [liferay/background_task-1][StagingServiceHttp:153]...
Redirection is not happening
Issue After setting the below property with the following values in portal-ext.properties, redirection to the defined domain has not happened rather its showing warning messages. #...
Changing Site language while Site Template propagation is active is not possible
Issue It is not possible to change the language of the Site made from a Site Template while propagation is enabled. Environment Liferay DXP 7.1 + Resolution You can change the language of a Site made from Site Template...
Unable to startup the server: NPE while loading configurations from database
Issue The issue usually comes with Oracle database and having a null dictionary in the table Configuration_ for the configurationid org_apache_felix_cm_impl_DynamicBindings Due to this, Liferay fails to start,...
Workarounds for "The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit"
Issue Eventually, the JSP compiler might show error messages like: The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit Environment DXP 7.2 DXP 7.1 DXP 7.0...
MEMORY_CLUSTERED jobs are running in several nodes
Issue According to traces, or any other monitoring system, MEMORY_CLUSTERED jobs are executed in more than one node. Environment Liferay DXP 7.0, 7.1, 7.2 Resolution MEMORY_CLUSTERED jobs should only run in...
Company/Instance name is reset to 'Liferay DXP' after restart
Issue Having chaged the name of the main instance, it is reset to 'Liferay DXP' after restarting the portal. Neither portal-ext.properties nor Config Admin name change is preserved. Environment Liferay DXP 7.1...
Unable to search results which are greater than 10000
Issue  The total number of count displayed in pagination is 10,000 due to which the assets present after 10,000 are not searchable. For Example: If there are 12,000 users in the portal, the users above 10,000...
Unable to resolve portal host java.net.UnknownHostException:[HOSTNAME] Name or service not known
Issue When starting up the Tomcat server I get the following stacktrace: WARN [catalina-exec-15][PortalImpl:7173] Unable to resolve portal host java.net.UnknownHostException: [tomcat-host] Name or service not...
After building the theme with code changes, the changes are not reflected in the UI as well as in the source code.
Issue When customizing the theme by modifying the source code of Liferay 7.1, the changes are not reflected in the UI as well as in the source code of the theme. Environment Liferay DXP 7.1 Resolution Please Note:...
robots.txt is not updated despite being saved correctly in UI
Issue Updating robots information for pages will show outdated information despite being saved correctly. Environment Liferay DXP 7.0, 7.1, 7.2 Resolution The value of host header in the request and the...
Cannot see calendar events after upgrade from 6.1 to DXP
Issue After performing an upgrade from a Liferay 6.1 version to a DXP version, I cannot see the calendar events. Apparently the upgrade didn't handle them. Environment Portal 6.1 -> DXP Resolution There is s separate tool...
NoSuchFileException o NullPointer exceptions while upgrading the DB for DXP 7.2 SP1
Issue When running the DB_Upgrade tool for installing the SP1 on DXP 7.2, the following errors may appear and the upgrade will not complete: ERROR [ServerService Thread Pool -- 89][ModuleReadHookImpl:85] Unable to...
Service builder does not respect service.xml setting json-enabled
Issue The json-enabled value specifies whether or not the entity should be annotated for JSON serialization. By default, if the remote-service value is true, then the json-enabled value is true. When setting this...
Emails are not sent and "Email xxxx will be ignored because it is included in mail.send.blacklist" warning is written to log file
Issue Emails are not sent and some MailMessageListener warn traces are written to the log file: [liferay/mail-1][MailMessageListener:135] Email test@domain.invalid will be ignored because it is included in...
ClientAbortException is thrown while navigating from one page to another
Issue While navigating from one page to another, the following warning messages are thrown.  WARN [http-nio-8080-exec-4][PortalImpl:6751] org.apache.catalina.connector.ClientAbortException:...
A StaleObjectStateException is Thrown When Using a Liferay Service
Issue After installing Liferay DXP 7.2 Service Pack 1 or Fix Pack 2 a StaleObjectStateException is generated when a customization uses a Liferay service to update or modify data: Caused by:...
How can I include my JSP in a Liferay Blade Servlet?
Issue I'd like to include a JSP in the doGet method of my Servlet plugin. The following gives NullPointerException:  this.getServletContext().getRequestDispatcher("index.jsp").include(httpServletRequest,...
Overwrite Cache-Control header settings for resources in liferay-web.xml file
Issue How can I overwrite the Cache-Control header settings for resources that are served via the /documents/ path? We have tried updating the lifery-web.xml to add a servlet filter for that url-pattern, but the...
DB2 SQL Errors during the database creation
Issue There are DB2 SQL errors during the database creation in the server startup, causing messages in the log like the following:  2019-09-19 07:38:30.286 ERROR [main][ReleaseManagerOSGiCommands:93] bundle...
Access denied error message is thrown in the browser with XML format of the rest API
Issue After passing the authorization in the HTTP header and while hitting the URL http://localhost:8080/o/greetings/morning, the web service responds to the request with the below error message [XML format] in the...
Portal has upgraded successfully and NullPointerException is thrown with the server startup
Issue Successfully upgraded the Liferay portal from 6.2EE to DXP 7.1 GA but the server is not started and thrown the NPE Null pointer Exception: 2019-09-13 01:11:59.750 ERROR [http-nio-8080-exec-1][MainServlet:1225]...
Errors in the log file of the type "Redirect URL is not allowed" and seemingly unrelated symptoms
Issue There are traces in the log of this type: 2019-08-27 08:46:42.641 WARN [http-nio-8080-exec-4][PortalImpl:1003] Redirect URL .... is not allowed Additionally, some other issues appear at the same time: Some buttons...
EXT Plugin not deploying
Issue EXT Plugin not deploying correctly through the methods presented in the documentation: Deploying an Ext Plugin Environment Liferay DXP 7.1 Resolution Deploy the EXT Plugin to marketplace/override folder...
LCS Activation Page redirect
Issue The portal redirects automatically to the LCS Activation Page even with activation tokens deployed. Environment Liferay DXP 7.0+ Resolution  Regenerate the LCS tokens, but with "Liferay Instance Activation"...
Calendar Event invitation mail is sent to the user before the approval of event
Issue If the workflow is applied for the Calendar Event, the user who is invited to that particular event gets an email invitation even before the approver approves the event. Environment Liferay DXP 7.0...
Retrieving custom cache entity fails with error
Issue The custom cache entity we introduced to Liferay is inaccessible. We configured our custom cache in override-liferay-multi-vm-clustered.xml. When trying to access the custom cache entity from scripting console...
Tomcat trimSpaces feature breaks Liferay styling and functionalities
Issue When setting trimSpaces in tomcat-9.0.6/conf/web.xml: <init-param> <param-name>trimSpaces</param-name> <param-value>true</param-value> </init-param> some functionalities on the Liferay User Interface...
External images inside OpenOffice/LibreOffice document are not resolved when converted to PDF
Issue Upload to Document Library a new OpenOffice document with external link to image. Export the document to PDF. The document is converted to PDF but the image is blank. Environment Liferay DXP 7.0, 7.1,...
Audience Targeting is deployed but unavailable
Issue After deploying and restarting, Audience Targeting is not available in site's Configuration > Audience Targeting. Tables corresponding to Audience Targeting are not created. Environment Liferay DXP 7.0, 7.1...
Control Panel App Manager not showing
Issue The App Manager section in the control panel is missing. Environment Liferay DXP 7.1, 7.2 Resolution Try this list of steps: Stop the application server. Delete the contents of the...
How can I disable Liferay's xml log file?
Issue In {Liferay_Home}/log folder, we can see two different files as below:      liferay.2019-08-25.log      liferay.2019-08-25.xml We only want "liferay.2019-08-25.log" file and need to disable "xml" file. Environment...
How to resolve AnnotationExceptions encountered during startup when updating 7.0 to de-67+ while using WebSphere
Issue Using WebSphere FP 11 as our application server, we are unable to start up a 7.0 deployment after patching to de-67, and are receiving an AnnotationException in the log, as follows: Annotation processing failed...
Guest User can download the attachment from Knowledge Base
Issue The guest user can download the attachments present in the Knowledge Base Article  1. Create a Knowledge Base Article add an attachment to that article.  2. Now remove all the guest permission from that article....