Search Results

ナレッジベース 1412
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
Establish an external data source using JNDI
Issue Sometimes there is a requirement to use data sources other than Liferay DXPs. To do this, the data source can be configured via JNDI data source or JDBC properties. Any database other than Liferay DXP's...
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...
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...
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...
How apply changes to Tomcat's server.xml file in 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 I need to make some changes in Tomcat's server.xml...
Restricting redirection to whitelisted URLs
Issue I want to specify the URLs my users get redirected from our site.  Environment DXP 7.0+ Resolution You have more information about this settings in this article: Errors in the log file of the type "Redirect URL...
How to get the groups associated to organizations using JSON Web Services
Issue There is no method available in the JSON Web Services API to obtain the groups (i.e. sites) associated to organizations. Is there a way to get them? Environment Liferay DXP 7.0, 7.1, 7.2, 7.3 Resolution There...
Deploying Liferay DXP 7.3 on JBoss EAP 7.3.0
Issue Detailed steps to Install Liferay DXP on JBoss EAP Environment Liferay DXP 7.3 JBoss EAP 7.3.0 JDK 1.8 Resolution 1. Liferay Home is the folder that consists JBoss server folder. After installing and deploying...
Adding custom preferences to Spring MVC Portlet
Issue We've create a new Spring MVC Portlet and we'd like to configure it with some custom portlet preference. How can we do it? Environment Liferay DXP Resolution Once you've created your Spring MVC Portlet you...
Configure default database if the one defined in jndi is not available
Issue When the database is configured through the portal property: jdbc.default.jndi.name (and its properties defined in ROOT.xml) and it is, for some reason, not available when the portal starts, the...
How to disable simultaneous login from multiple sessions
Issue How to disable users to simultaneously login to Liferay DXP using multiple different sessions. Environment Liferay DXP 7.0 Liferay DXP 7.1 Liferay DXP 7.2 Liferay DXP 7.3  Resolution Please add the following...
In a thread dump there are many blocked threads inside InitFilter class
Issue When I analyze a thread dump there are multiple threads in BLOCKED status with stacktraces such as this: "http-nio-8080-exec-129" Id=325 BLOCKED on...
How to enable web content and user logs in server console?
Issue In this article, we'll know how to display logs of web content and user creation in the server console. Environment Liferay DXP 7.1 Resolution For Web Content logs: Navigate to Control Panel→ Server...
Setting up Microsoft Server AD with Liferay
Issue This article provides you detailed steps to set up and configure Microsoft Server AD to Liferay. Environment Liferay DXP 7.1 Resolution Changing Computer Name: Control Panel → System and Security → System...
Approaching database support
Issue Approaching database support issues in the Liferay. Environment Liferay DXP 7.0 Resolution There are two ways to set up database connections in the portal-ext.properties file. If both JDBC properties and JNDI...
Stopping scheduled tasks in Liferay
Issue I would like to stop the out-of-the-box scheduled tasks in Liferay. Environment Liferay Portal Liferay DXP Resolution Most of the scheduled tasks included in Liferay can be found by searching for .check in the list...
How to check Java's TZData (Timezone Data) version
Issue In countries where Daylight Savings Time (Summer Time) is defined each year the timezone data (TZData) can be outdated. This procedure can help you fetch the version of the TZData currently in use...
Documents and Media: Disable permission for users to add new folder
Issue A user assigned a 'Site Role' is able to create a new folder in Documents and Media How can I prevent a user creating new folders? Environment DXP 7.1    DXP 7.2    DXP 7.3    Resolution By default, Site...
How to set up a clean bundle in your local environment
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...
How do I implement a JNDI database connection 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 Portal Administrators may require a connection to the...
Auto Upgrade in DXP 7.3 and Above
Issue Starting from Liferay 7.3, new upgrades for modules won't run automatically on startup by default. Resolution The following options are available to run the upgrades we may include in fix/service packs:...
Groovy Script to truncate the data of UserTrackPath Table
Issue If you want to truncate the data from UserTrackPath Table Environment Liferay DXP 7.2 Resolution Below is the Groovy Script which might help to truncate the data from UserTrackPath table. import...
Delay when fetching data from headless-admin-user/v1.0/user-accounts for the first time after server restart
Issue When running a REST API call as below:...
Is it possible to schedule LDAP imports for a specific time of day in Liferay DXP?
Issue In Liferay Portal 6.2, it was possible to create a cron trigger in the liferay-portlet.xml file to accomplish LDAP imports for a specific time of day without creating a customization. These types of scheduled...
Cache Override
Issue This article describes how to override the cache in 7.0 taking into account two different aspects: EhCache settings and Replication settings. The first one implies creating a new module, while the second is...
Enable BundleStartStopLogger debug log traces
Issue How to enable BundleStartStopLogger debug log traces to see module lifecycle events during startup. Environment Liferay DXP 7.0+ Resolution Stop the server. If it doesn't exist create a folder named log4j...
Adjusting Log Levels to persist after portal restart
Issue Log levels that have been adjusted through the Server Administration are reset after a server restart. I'd like the log levels adjustments to persist after restarts. Environment DXP 7.0+ Resolution Adjust log...
Remove portlets programmatically with the removePortletId method
Issue I would like to remove portlets from pages programmatically (e.g. with a script or a background job) with the use of the removePortletId method, but without permission checking.  Environment Liferay DXP...
Is there any way to retrieve the User account's creator
Issue Is there any way or SQL statement to retrieve the User account's creator? Environment Liferay DXP 7.0 Resolution There have two ways to retrieve the User account's creator. The user account's creator can be...
How to configure the displayed time zones?
Issue It is widely documented that Liferay does not recommend changing the JVM time zone and that I should leave it as GMT. (See references under Additional Information). But me and my users are from different time...
How to view and construct an adaptive media URL for a document
Issue You might have some trouble in figuring out how the URL for Environment Liferay DXP 7.2+ Resolution Guide through an exact example: The URL pattern you should use looks like this:...
How to update and deploy only a single service with 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 Is there any way to deploy updates for only one Liferay PaaS...
Not able to download the logs of more than 10000 lines
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM). Issue How to download more logs as the default "Download...
Configuring multiple virtual hosts so that both www and non-www can be used
Issue To configure multiple virtual hosts on one site(for example, both www.aaa.com and aaa.com). The Virtual Host can not be configured by using both of the different hosts. Environment Liferay DXP 7.2 Resolution...
Deploying Liferay 6.2 SP 15 on Jboss EAP 6.2
Issue This article will outline a basic walkthrough on how-to deploy Liferay 6.2 SP 15 on Jboss EAP 6.2 specific to EAP version.          Environment Liferay 6.2 JBoss EAP 6.2  Resolution Prerequisite Download...
I cannot configure the "Look and Feel" of widgets on the Content Page
Issue A new Content Page is created and a widget is added to it. There is no kebab menu on it (3 dots) and there is no Look and Feel Configuration button either. Environment Liferay DXP 7.2 Resolution The menu is no...
The work folder is no longer appearing since DXP 7.2 SP1
Issue After updating to SP1 (fix pack dxp-2) on DXP 7.2 the $[Liferay-home]/work folder is no longer there or no longer generates new content Environment DXP 7.2 SP1 or above. Resolution The $[Liferay-home]/work...
What configuration needs to be done to bypass the proxy in Liferay?
Issue What are the proxy configurations to be done at Liferay to bypass the proxy available in the network? Environment Liferay Portal 6.2 Liferay DXP 7.0, 7.1, 7.2, 7.3, 7.4 Resolution The configurations...
How to Change the Session Timeout Value
Issue How do I modify Liferay's default session-timeout of any logged-in user? Environment DXP 7.2 DXP 7.3 DXP 7.4 Resolution This value is set on the [App_Server_HOME]/webapps/ROOT/WEB-INF/web.xml file....
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 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...
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...
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...
Why is the server now timing out users after 15 minutes instead of 30?
Issue After updating past de-68 for Liferay DXP 7.0 or past dxp-5 for Liferay DXP 7.1 users are now timing out after 15 minutes. Environment Liferay DXP 7.0 using the Tomcat application server Liferay DXP...
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...
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...
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...
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...
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 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...
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 /...
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...
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...
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...
Adding Portlet Configurations at Instance and System Level
Issue How to rename the category and section. It should be excluding the substring "category."? How the configuration will be accessible under settings? Environment  Vanilla bundle DXP 7.1 SP2 pre-bundled with dxp-10...
How to modify Terms and Conditions
Issue How to modify "Terms and Conditions" which are displayed when a user logs in for the first time in the portal? Environment Liferay 7.0 Resolution Adding the custom Terms and Conditions involves the...
How to accept Terms & Conditions again
Issue If you want the users to accept the Terms and Conditions one more time. Environment Liferay DXP 7.0 Resolution In Liferay OOTB (Out Of the Box) there is no feature available to enable the "terms and condition"...
Disabling the WebDAV URL from Portal through portal-ext.properties
Issue If any of the users in the portal knows the WebDAV URL, they can configure the same at their end and they can manage the Document Libraries from their local machine itself. Hence, how can the WebDAV...
Upgrading from Liferay DXP 7.0 to 7.1
This paper is a high-level overview of the effort involved in moving from Liferay DXP 7.0 to 7.1. It contains an upgrade checklist, the upgrade steps, and what to do after a successful upgrade. The paper is available...