Search Results

All Results 6977
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
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...
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...

Showing 2,241 to 2,280 of 8,761 entries.