Search Results

Knowledge Base 3688
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
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...
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...
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...
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...
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...
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 [main][PortalInstanceLifecycleListenerManagerImpl:140] Unable to register portal instance...
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" com.liferay.portal.tools.service.builder.ServiceBuilderException: Unable to find MBMessage in...
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. the image is broken in IE11 and works fine in other browsers such as Chrome and...
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 is thrown. Environment Liferay DXP 7.2 Resolution The above issue is caused...
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 [Start Level: Equinox Container:...
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 documentation Access the home page over 8443 port and observe the network tab in chrome...
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] com.liferay.portal.kernel.exception.SystemException: java.lang.IllegalStateException: No portlet bag for...
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. # #redirect.url.security.mode= #redirect.url.security.mode=159.113.202.96 redirect.url.security.mode=ip # #...
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 without disabling the Template Propagation, by going to: Control...
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, and throws the following exception: [exec] 15-Oct-2018 19:27:17.685 SEVERE...
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 Portal 6.2 Resolution The exact error message is because of limits inherent to...
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 master node. Ensure that there's only one master node across the cluster...
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 (FP < 10) Resolution The issue has been resolved in FP10. So installing it...
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 are not been able to search. Environment Liferay Portal 6.2 Resolution There is...
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 known at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) at...
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: Liferay Support will not be able to assist with designing or implementing...
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 virtualhost of the company must match. Get the value of host header (default is...
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 for importing the calendar events after an upgrade (move them from...
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 copy from...
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 attribute to false in service.xml, and rebuilding the service, this does...
Emails are not sent and MailMessageListener warnings appear on logs
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 mail.send.blacklist [liferay/mail-1][MailMessageListener:135] Email...
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: java.io.IOException: Connection reset by peer WARN [http-nio-8080-exec-20][PortalImpl:6751]...
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: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or...
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, httpServletResponse); Environment Liferay DXP 7.1 Resolution Add a Web-ContextPath...
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 changes are not being applied. Environment Liferay DXP 7.0 Resolution This...
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 com.liferay.portal.upgrade.impl:3.0.6...
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 browser.  <Forbidden><message>Access denied to...
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] com.liferay.portal.kernel.events.ActionException:...
"Redirect URL is not allowed" Log Errors and Redirect Issues
Issue There are traces in Liferay's logs resembling this: 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 in the Control Panel don't work (for instance, the 'Add'...
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 Remove any version number present in the .jar name Delete the contents of...
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" option on 'Yes'. Once the tokens are regenerated with that option set to...
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 Resolution The observed behavior is a known issue and is fixed in...
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 by:...
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 (buttons, styling) may be broken. Environment Portal 6.1+ Liferay DXP 7.0+...
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, 7.2 with OpenOffice installed and running as external service. Resolution Go to...
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 Resolution Look out for a file...
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 directory $LIFERAY_HOME/osgi/state/. Start the application server. If that doesn't work, try: Go to...
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 Liferay DXP 7.0 Liferay DXP 7.1 Liferay DXP 7.2 Liferay DXP 7.3...
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 with the following error:...
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.  3. Copy the link of that attachment and paste it in the incognito...
After upgrading to Liferay 7.1+, guest users cannot see some web contents
Issue After upgrading to Liferay DXP 7.1+, guests users cannot see some web contents. This is also reproduced for users that aren't members of one site. They cannot see web contents that belong to that site. Environment Liferay DXP 7.1+ upgraded from Liferay 7.0 or 6.x Resolution The...
After upgrading to JDK 11, Tomcat can not be started due to "NoClassDefFoundError: javax/xml/bind/DatatypeConverter"
Issue After upgrading to JDK 11, Tomcat can not be started due to "NoClassDefFoundError: javax/xml/bind/DatatypeConverter" 28-Aug-2019 05:40:11.346 SEVERE [main] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of...
"Too Many Open Files" error in log
Issue "Too Many Open Files" error is reported in the log. For example: 2019-05-06 09:41:20,142 SEVERE [org.apache.tomcat.util.net.NioEndpoint] Socket accept failed java.io.IOException: Too many open files at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at...
Child pages not displayed in Navigation Menu after upgrading to Liferay 7.2
Issue After upgrading the portal to Liferay DXP 7.2, the child pages which were present in Liferay Portal 6.2 go missing from the Navigation menu in DXP 7.2. But, the child pages are present in Site Builder. Post upgrade, if new child pages are added, then they are present in the...
JGroups IllegalArgumentException After Installing Fix Pack 1 on Liferay DXP 7.2
Issue After installing fix pack dxp-1-7210 with cluster.link.enabled=true the following exception is generated: Caused by: java.lang.IllegalArgumentException: JGRP000001: configuration error: the following properties in TCP/UDP are not recognized:... Environment  Liferay DXP 7.2...
Action Button on pages are not working as expected
Issue While clicking the action button of the Public Pages the menu appears and then disappears. Environment Liferay DXP 7.1 Resolution The observed behavior is a known issue and is fixed in liferay-fix-pack-dxp-10 and above. Installing Fix Packs and Hotfixes on Liferay DXP will guide to...
Nested Applications portlet causes com.liferay.portal.kernel.servlet.NonSerializableObjectHandler on Weblogic
Issue When adding the Nested Applications to a page, the logs show the error com.liferay.portal.kernel.servlet.NonSerializableObjectHandler You can't add portlets to the Nested Applications Environment Liferay DXP 7.1 Weblogic R2 (12.2.1) Resolution Remove the...
No page can be displayed due to "Unsupported template" errors
Issue DXP may not be able to display any portal pages due to HTTP 500 status as well as showing this error on the interface: An unexpected system error occurred. Unsupported template manager ftl and this one in the Liferay logs: ERROR [main][LayoutTemplateLocalServiceImpl:523] Unable to...
How to resolve deployment issues following the installation of Fix Pack DXP-12 for Liferay DXP 7.1
Issue Please bear in mind that special considerations should be taken after applying the Fix Pack 12 (DXP-12). After the installation of DXP-12, it has been reported that deployment errors related to several core components will throw the following errors:...

Showing 3,481 to 3,540 of 3,687 entries.