Search Results

All Results 7006
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
StaleObjectStateException for RedirectNotFoundEntryImpl
Issue The StaleObjectStateException is appearing in logs for RedirectNotFoundEntryImpl. 2022-02-08 05:36:36.385 ERROR [https-jsse-nio-8443-exec-157][I18nFilter:62] org.hibernate.StaleObjectStateException: Row was...
User should be re-directed to the custom page once the session expires
Issue Once the session expires, users should redirect to the custom page Environment Liferay DXP 7.0 Liferay DXP 7.1 Liferay DXP 7.2 Liferay DXP 7.3 Liferay DXP 7.4 Resolution To redirect the user to any...
Interactive commands is not working properly in Gogo Shell
Issue Steps to reproduce: 1. Connect with Gogo Shell via command line. 2. Type 'disconnect' command. Expected Result: The following question must appear after typing the command                                  ...
Error using Service Builder when an entity has a BLOB field
Issue We define the following sample entity for Service Builder <entity name="Documentos" remote-service="false" local-service="true" uuid="false" table ="REAJ_GESTION_DOCUMENTO" data-source="extDataSource">...
What does expires header with "Thu, 01 Jan 1970 00:00:00 GMT" value means?
Issue When retrieving HTML content the following header/value can be found: Expires: Thu, 01 Jan 1970 00:00:00 GMT  Along with the Expires header the following ones are also sent in the response: Cache-Control:...
Is it possible to keep the session between domains that are not subdomains of a parent?
Issue Is it possible to keep the session in Liferay when changing from one domain to another domain? In particular, is this possible when the domains are not subdomains of a parent domain? Environment Liferay DXP...
NullPointerException when starting JBoss EAP server
Issue After manually deploying Liferay on JBoss EAP, the JBoss EAP server can not be started due to the following ERROR [0m[31m08:50:29,397 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 80) MSC000001:...
Establish an external data source using JDBC
Issue This article outlines how to set up a connection between Liferay and an external database using JDBC properties. Environment Liferay DXP 7.3 Liferay DXP 7.4 MySQL database Resolution There are two ways to...
Webcontent Images is getting removed after Patch Upgrade
Issue Steps to Reproduce: Start the 7.1GA1. Create a structure add text, image, and number fields, and save. Create a template. Select the newly created structure and select the structure fields from the left sidebar...
NullPointerException/ElasticsearchConnectionNotInitializedException/ArrayIndexOutOfBoundsException when starting JBoss EAP server
Issue After deploying Liferay DXP 7.3/7.4 on JBoss EAP server, the server can not be started due to the following error: 10:17:20,354 INFO 2022-02-17 10:17:20.308 ERROR [Framework Event Dispatcher: Equinox Container:...
How to include the gradle dependency of a module into another module project?
Issue How to include the Gradle dependency of a module (Workspace A) into another module (Workspace B) project? Environment Liferay DXP 7.2 Resolution Please Note: Please choose to follow your appropriate discretion...
JS and CSS files are loading only after page refresh
Issue JS and CSS files in portlet are loaded only after refreshing a page Environment Liferay DXP 7.2 Resolution Certain elements of the page may require regular navigation to work properly. In these cases,...
Extracting Database structure of Liferay
Issue User needs to extract complete database structure of Liferay. Environment Liferay DXP 7.0 Liferay DXP 7.1 Liferay DXP 7.2 Resolution Liferay does not have any OOTB functionality for extracting the DB...
Apache Felix Webconsole JS and CSS resources not loaded
Issue Apache Felix Webconsole JS and CSS resources not loaded with 'org.eclipse.equinox.http.servlet' Steps to reproduce: 1. Start the server. 2. Download this: org.apache.felix.webconsole-4.6.4-all.jar from here:...
Unable to delete navigation menu from page
Issue Unable to remove the navigation menu widget from the page. Environment Liferay DXP 7.0 Resolution It is the intended behavior of Liferay as there is an option to enable Hidden from Navigation Menu...
NullPointerException when compiling module JSPs in OpenJDK 11.0.6
Issue I'm using OpenJDK 11.0.6. When I deploy a module with custom JSP, JSP compilation fails with NullPointerException: java.lang.RuntimeException: java.lang.NullPointerException: entry at...
API for document deletion
Issue API for the document deletion Environment Liferay portal 6.2 Resolution Please Note: The following procedures and unofficial links involve customizations that are beyond the scope of Liferay Support.  Please...
bnd.bnd is not getting created with EXT module project
Issue bnd.bnd is not getting created with EXT module project. Environment Liferay DXP 7.2 Resolution Please Note: The following procedures and unofficial links involve customizations that are beyond the scope of...
How to configure/use outlook mail server to send email notifications in Liferay
Issue While configuring outlook mail through Liferay mail configuration the below exception is thrown : " Could not connect to SMTP host: smtp.office365.com, port: 587"  OR ERROR...
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...
How to identify the filename for a System Settings configuration file
Issue This article documents how to determine the filename that should be used for a Systems Settings configuration file (.config) that can be inserted into $LIFERAY.HOME/osgi/configs. Why? The creation of System Settings...
How to generate the crt and key of a certificate on base64 for a custom domain on Liferay PaaS?
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue As stated on this documentation you'll need to add both the...
Configuring the respective landing page with the customised logout modules for the two different sites in one Liferay instance
Issue There are two different sites named site-a and site-b in one Liferay instance. Develop a custom hook for the logout module to customize the logout landing page for these two different sites How to configure the...
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]...
How to Configure Multiple Site Names with Different HostNames
Issue How Multiple Sites can be configured with Different HostNames in the portal? The below example illustrates the requirement. If there are two sites Site A and Site B then, 1) Site A should be mapped with...
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...
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...
CacheFilter Expiration time
Issue The cache filter caches processed web content.  To change the cache expiration time to live ehcache.xml needs to be modified. So where can we set the expiration time. Environment Liferay DXP 7.0 Resolution The...
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...
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...
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...
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...
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...
Query String is not append to the URL, after adding it through Pages > Advanced setting
Issue Query String is not appended to page URL after adding it through Pages -> Advanced settings. Environment Liferay DXP 7.1+ Resolution The Query String Parameter won’t be appended to the URL as it is meant to be the...
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...
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. #...
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]...
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...
Upgrading from Liferay DXP 7.1 to 7.2
This paper is a high-level overview of the effort involved in moving from Liferay DXP 7.1 to 7.2. It contains an upgrade checklist, the upgrade steps, and what to do after a successful...
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...
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...
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:...
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...
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...
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...
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...
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:...
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:...
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,...
Upgrade from 6.2 to DXP fails with IBM-specific AESSecretKey error
Issue Upgrade from 6.2 to DXP fails with IBM-specific AESSecretKey error, when a user was using IBM JDK for the 6.2 environment....
Update to DXP 7.2 Fix Pack 4 from DXP 7.2 GA1
Issue When updating from DXP 7.2 GA1 to Fix Pack 4 you may encounter the following startup error: 2020-01-31 02:55:02.013 ERROR [Framework Event Dispatcher: Equinox Container:...
How to automatically log thread dumps when the portal is too slow in Liferay?
Issue How to automatically generate thread dumps when the portal is slow? Environment Liferay Portal 6.2 Liferay DXP 7.0,7.1,7.2,7.3, and  7.4 Resolution Liferay has provided the below two properties which...
Improve the Performance of JS Loader Modules Servlet
Issue How could we minify js_loader_modules file to improve our page load performance? Environment DXP 7.1 Resolution Install Fix Pack 11 which includes the following fixes to improve the performance...
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...
How to disable Scripting Console
Issue Even if Scripting Console is restricted to those with the server administration role, we would like to disable this scripting functionality in our 7.0 portal. Environment DXP 7.0 Resolution Scripting from...
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...
Login issue when configuring the SSL on JBoss EAP 7.0
Issue Login issue when configuring the SSL on JBoss EAP 7.0 Environment Portal: Liferay DXP 7.0 Application Server: JBoss EAP 7.0 Operating System: Ubuntu 19.04 Resolution Please Note: The following procedures and...