Search Results

All Results 6967
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
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...
Blogs Image Properties Moved to OSGi Config
Issue After installing 7.2 fix pack 1 the blogs.image.max size and blogs.image.extentions settings do not persist. Resolution The blogs.image. portal properties have been modularized and need to be set in the Control Panel or with a .config file.  The portal properties will no longer...
How to check which applications you have installed from Marketplace
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 We are installing Liferay...
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...
When I shut down DXP from the Control Panel, the end users get a blank page and no warning message
Issue I go to Control Panel > Server Administration > Shutdown and shut down the server After DXP was shut down and I refresh the page, only a blank screen appears There used to be a warning message in Liferay 6.2 and DXP 7.0: "The system is shutdown. Please try again later." 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+...
How to remove unnecessary parts from the URL / shorten URL / make URL friendlier
Issue We would like to remove the web/guest part of the URL, to shorten it e.g. http://www.example.com/web/guest/home-> http://www.example.com/home  Environment Liferay Portal 6.2 Liferay DXP 7.0-7.4 Resolution The default public Site base URL is...
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...
Updating the Time Zone of All Users in your Instance
Introduction Liferay supports localization by language, time zone, and more. While Liferay has a default configuration for time zones, you can set the platform to use any standard time. After installing Liferay and creating all users, a company noticed that the instance and all users are...
DXP 7.2 Upgrade Reference Guide
An upgrade to Liferay DXP 7.2 gives you access to the latest Liferay technology, complete with all of the newest features, and the assurance of continued support for your Liferay environment. Our Subscription Services Team recognizes that an upgrade often requires a significant...
How to get the total number of documents once migrated from File System to DB Store?
Issue If the data is moved from the File System to DB Store, then how to get the number of documents from the portal. Environment Liferay DXP 7.0 Resolution When DB Store is used as a repository, the files are stored in two tables 'dlfileentry' and 'dlcontent' tables. The "dlfileentry"...
Page not found (404) redirects to the 'default' (Guest) web site
Issue When an incorrect URL is hit on the portal, the "The requested resource could not be found" error or Page not found error redirects to the default site and not to that particular site. Environment Liferay DXP 7.0 Resolution The observed behaviour is an intended behaviour of...
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...
Setting different landing pages on different cluster nodes upon session timeout
Issue The users have to be redirected to different pages - depending on the nodes -, when the sessions expire. A possible use case: One of the Application Servers is an admin server, thus the admins need to be redirected to a different URL (the admin site), than the regular ones, upon...
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...
How to programmatically undeploy a module in DXP 7.1?
Issue I want to undeploy a module from my code, usig API I tried using DeployManagerUtil.undeploy(context), but nothing happens Environment Liferay DXP 7.1 Resolution If you are trying to undeploy a module by its context name, which was the functionality provided in 6.2.x, you would do...
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...
Tips for minor updates in the infrastructure (application server, database server, ...)
Issue Sometimes, there is the need to update the infrastructure (application server, database server, elasticsearch server, etc.), to benefit from security fixes, performance improvements or others. Minor updates means, for example, updating tomcat from 7.0.56 to 7.0.67. Below you can...
Liferay DXP and S3 security
Issue Does Liferay support server-side encryption on Amazon S3? Is Liferay calling S3 over HTTPS only? Will Liferay work on a restricted S3 bucket without public access? Environment Liferay 7.0 DXP Liferay 7.1 DXP Liferay 7.2 DXP Resolution On the AWS Management Console, all three...
Service Packs and Fix Packs Overview
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 What are service packs and fix packs? Is there a recommended renewal...
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...
How to restrict the JSON web services API page
Issue JSON web services API page is being exposed through the URL http://[address]:[port]/api/jsonws. Environment Liferay Portal 6.2 Resolution Liferay Portal 6.2 doesn't have any out of the box option to restrict the JSON web services API page. Additional Information Liferay Portal 6.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...
How Liferay portal upgrades the content?
Issue The portlet id('s) which has included in the content of the web content portlet is not getting updated after upgrading the portal. Environment Liferay portal 6.2EE Liferay DXP 7.0 Resolution How Liferay works? Liferay will be upgraded the entire portal[Eg: 6.2] based on the source...
Change root context to custom context
Issue How to change the portal context from ROOT to something else? Can I append "xxx" to all the portal URL? Environment Liferay DXP 7.4 Liferay DXP 7.3 Liferay DXP 7.2 Liferay DXP 7.1 Liferay Portal 6.2 JBoss EAP 7.1 / Tomcat 9.0 Resolution For JBoss, the following is an example of how...
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 know which of the nodes is being displayed
Issue On a cluster environment, sometimes its helpful to know in which of the nodes you are. This could be useful to check the load balanced or cluster replication issues. Environment Portal 6.2 DXP 7.0 DXP 7.1 DXP 7.2 Resolution Set the following property to true:...
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:...
Work folder under Liferay Home
Issue After upgrading to Liferay DXP we noticed that a work folder is created in {Liferay_Home}, in addition to {Tomcat_Home}/work directory. Is this the normal behaviour? Environment Liferay DXP 7.0 Liferay DXP 7.1 Liferay DXP 7.2 Resolution {Liferay_Home/work} got introduced in Liferay...
Restarting JBoss node hangs at JGroups.connect() when using multicast
Issue If I have a multinode cluster using multicast replication, and I set  multicast.group.address["cluster-link-udp"] Restarting a node sometimes hangs when initializing JGroups channels. Environment Liferay DXP 7.1 JBoss EAP 7.1 Multicast replication Resolution Eliminate the line from...
'Link to URL' page type doesn't work for relative urls
Issue While creating a page of type 'Link to URL', If Absolute URL is given, the page is created successfully and is redirected to the respective link. If Relative URL like "/web/guest/e-learning1" is given, the page is created successfully but is not redirected to the respective link...
WildFly Bundles for DXP 7.1 and Above
Issue Why am I not able to find a WildFly bundle download for DXP 7.1? Environment Liferay DXP 7.1 Liferay DXP 7.2 Resolution Starting with Liferay DXP 7.1 SP2, Liferay will no longer be releasing Wildfly bundles. This will apply to all Service Packs and GAs moving forward and all...
Changes to the Site Template
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 Is there a function to change a site template created from a site...
Failed upgrade process for module com.liferay.dynamic.data.mapping.service - Nested exception: Content is not allowed in prolog.
Issue After a seemingly successful upgrade to Liferay DXP 7.1 the following error is showing up in the logs while starting the DXP bundle: Failed upgrade process for module com.liferay.dynamic.data.mapping.service  com.liferay.portal.kernel.upgrade.UpgradeException:...
Passing List of objects as json parameters gives NoSuchMethodException
Issue When a service expects lists of objects, and I want to pass them as a JSON string in Liferay's JSON-WS UI, it returns with NoSuchMethodException. An example string is: [{ "+simplefoo": "poc.db.model.impl.SimpleFooImpl", "uuid": "23a91bec-bdae-783f-0825-b3176546a0e9", "simpleFooId":...
Unable to add Calendar Event through Mobile Browser
Issue While creating a Calendar Event via the computer's browser, the event is created. But, while creating the new event through Mobile Browser, the page goes into the disabling mode. Environment Liferay DXP 7.0 Resolution The observed behavior is a known issue and fixed...
Calendar portlet displays time in different formats depending on display language
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 When an appointment is registered in the calendar portlet, the time...
PortletMVC4Spring, Spring Framework, and Liferay DXP
Question Spring Framework 5 does not include support for Spring Portlet MVC.  Support for Spring Framework 4, including Portlet MVC support, will remain until 2020.  What is the future of Spring Portlet MVC and Liferay? Resolution Liferay adopted Spring Portlet MVC in March of 2019 and...
Implicit connection cache issue
Issue Looking into the thread dumps, few threads were getting stuck as below with OracleImplicitConnectionCache and running out of implicit connection cache issue tomcat-http--300 - priority:5 - threadId:0x00007f6ac4286000 - nativeId:0x960 - nativeId (decimal):2400 - state:TIMED_WAITING...
How to add security, authentication to my REST service?
Issue We developed a REST service and it works. But we need endpoint security. At the moment it is available without any credentials. We do not want to give access to a REST Web service without credentials.  How can we force user to send credentials (Basic Auth is ok) to call our service...
Server unable to start after upgrading to latest fixpack
Issue After upgrading from the previous fixpack to the latest fixpack, the server is not getting started or the below error is thrown while starting the server. SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized...

Showing 2,341 to 2,400 of 8,739 entries.