Search Results

All Results 6961
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Benchmark Study of Liferay DXP 7.2
This whitepaper is a benchmark study of Liferay Digital Enterprise 7.2 and describes optimal configuration, settings, and the methodology used for this study. The whitepaper also contains the results based on the scenarios used. The paper is available for download here., content:...
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...
Is there a limit to the number of calendar events that can be displayed?
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 When you add an event from...
Liferay DXP 7.2 Database Portal Properties
This document has been updated and ported to Liferay Learn and is no longer maintained here. This article is intended to provide a list of all the Liferay DXP 7.2 properties that can be used to connect the database of your choice to your Liferay DXP 7.2 installation. To use any of them,...
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...
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...
Portlet preferences contains orphan records
Issue When a Site is deleted the PortletPreferences table still contains that site's orphan data. Environment Liferay DXP 7.0 Resolution The observed behavior is resolved and fixed in liferay-fix-pack-de-58 and above. Installing Fix Packs and Hotfixes on Liferay DXP will guide to install...
APR library not found
Issue The Apache Tomcat works without the native libraries but degrading the performance. You can see the following message on the log: INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: ...
Where to find the default system.properties file
Issue Where to find the available properties and its default values from the original system.properties used by the portal Environment DXP 7.1 DXP 7.0 Portal 6.2 Portal 6.1 Resolution You can find the portal-impl.jar in the folder ROOT/WEB-INF/lib/ Open the .jar as a compressed file and...
Where to find the default portal.properties file
Issue Where to find the available properties and its default values from the original portal.properties used by the portal Environment DXP 7.1 DXP 7.0 Portal 6.2 Portal 6.1 Resolution You can find the portal-impl.jar in the folder ROOT/WEB-INF/lib/ Open the .jar as a compressed file and...
LCS Client removed after Fix Pack 12 installation (Known Issue)
Issue Liferay Connected Services Client is missing after applying DXP-12 Where is Liferay Connected Services Client.lpkg? Environment DXP 7.1 + DXP-12 (Fix Pack 12) Resolution At the time of writing July 11th 2019, this is a known issue and is being actively addressed by our Engineering...
Deployment of WAR files with many jar dependencies is very slow in DXP
Issue If there is a war file which contains many jar dependencies in its WEB-INF/lib, deploying it to the osgi framework in DXP takes too much time - sometimes 20 minutes for a single WAR. Environment Liferay DXP 7.0+  Resolution Contact Liferay Support to build a hotfix for you which...
DocumentException: Premature end of file
Issue When deploying Spring MVC custom portlet, an exception is thrown "DocumentException: Error on line -1 of document: Premature end of the file. " Issue reproduced With 7.1 GA1 release as below when deployed the Spring MVC custom portlet,  2019-06-25 06:14:08.705 ERROR...
I want to hide the password expiration warning message.
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 Can I hide only the password expiration warning message while keeping the...
"App Manager is temporarily unavailable" error
Issue I go to Control Panel > Apps > App Manager I do not see any Apps listed, just a red warning on the top of the page "App Manager is temporarily unavailable" In the console I see similar ERRORS: ERROR [ajp-nio-10009-exec-6][PortletRequestDispatcherImpl:331] Unable to dispatch...
Deleting users using UserLocalServiceUtil.deleteUser(user) gets slow
Issue UserLocalServiceUtil.deleteUser(user) API's performance decreases, when we try to use it to delete large number of users At first this job started deleting 1100-1200 users in 1 hour per day, but after 3-4 days it is only deleting 200-300 users per hour. Why is it so slow?...
JDBC roll back error when generating LAR to export sites
Issue Whenever a LAR is tried to be generated the following message shows on the portal: Could not roll back Hibernate transaction; nested exception is org.hibernate.TransactionException: JDBC rollback failed Also on the console, the logs shows: 11:35:24,527 ERROR...
Unauthenticated user unable to view the Json web service.
Issue While accessing http://localhost:8080/api/jsonws as an unauthenticated (Guest) user and selecting the context path, an "Access denied" error is thrown. For example, when creating a simple Service Builder Module and keeping it default as it will create FOO. Write a simple getData()...
How to resolve when basic configuration portal properties are not read during startup
Issue When starting a pre-built Liferay DXP bundle for the first time, some of the properties set in a portal-ext.properties file (such as the default.admin.* and company.default.*  properties) do not take effect and the Liferay defaults remain. Environment DXP 7.0 DXP 7.1 DXP 7.2...

Showing 1,081 to 1,140 of 8,730 entries.