Search Results

All Results 6974
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
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:...
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,...
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...
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...
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...
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...
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...
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...
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]...
"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:...
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...
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"...
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...
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...
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...
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...
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,...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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?...
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 /...
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...
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...
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...
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...
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...
'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,...
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...
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...
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 ...
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":...
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...
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...
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...
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 -...
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...
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]...
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....
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...
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...
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...
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,...
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...
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...
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...
"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...
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...
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...
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...
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...
Cannot disable simultaneous login
Issue After setting the following properties in portal-ext.properties, user can still login simultaneously. live.users.enabled=true auth.simultaneous.logins=false Environment Liferay DXP 7.1 Liferay DXP 7.3 Liferay DXP 7.4...
Spell check button does not appear on CKEditor toolbar
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...
Cluster Node name is missing from sessionID in Audit_AuditEvent table
Issue In a cluster environment, after setting the cluster node name (jvmRoute or instance-id) on Application Server, the node name is not appended to the sessionID stored in Audit_AuditEvent table.  When checking the...