Search Results

Knowledge Base 1400
Sort By
Resource Type
Applicable Versions
Deployment Approach
Capability
Feature
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...
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 /...
Using Portal Properties for Separate Liferay Instances
Much like the portal-ext.properties file, portal-${instance}.properties files override properties set in portal.properties and other files for a specific Liferay instance. This article...
Setting Up Liferay Portal on Postgres 9
This article is a legacy article. It applies to previous versions of the Liferay product. While the article is no longer maintained, the information may still be applicable.  This article will explain how to create a...
Using JNDI Resources with Hibernate
If you are using Hibernate to connect to JNDI resources on Tomcat (or an application server that manages JNDI resources the same way), this tutorial is for you! As background, one way...
Session Variables / User Scoped Variables Development
This article documents how to use Session Variables / User Scoped Variables in conjunction with portlets. There is also an included example in the details to help demonstrate how this...
Liferay Portal Database Portal Properties
This article is intended to provide a list of all of the Liferay Portal Database properties that can be used to connect your portal to various databases. To use any of them, un-comment the block of...
Liferay Upgrades: Updating Custom Plugins
The following article describes how to update plugins to be compatible with a new version of the Liferay platform. Resolution The Liferay API may change from release to release, causing issues when trying to port...
Exporting Liferay's Database Schema on Oracle
In the course of investigating a Liferay platform issue, you may be instructed by Liferay Support to export your database schema in Oracle. The following article contains guidelines...
Modifying Liferay Page Messages Through Language.Properties
In order to change out of the box page messages within Liferay, one must configure the properties of the language.properties located in the portal-impl.jar/content/language.properties...
Autodeploying Plugins in WebSphere With Liferay 6.1 EE GA2
Starting with Liferay Portal 6.1 EE GA2, plugins can be autodeployed to WebSphere. As a part of the Liferay autodeploy process, the Liferay platform will call the Websphere's wsadmin script interface to deploy the...
Installing Portlets Within the Control Panel in 6.1 GA2
In Liferay Portal 6.1 EE GA2, administrators do not have the ability to deploy plugins from the control panel. In order to achieve the installation of portlets not within Liferay...
Setting Up Liferay Portal Using Oracle Databases
Liferay Support does not recommend or endorse specific third-party products over others. Liferay is not responsible for any instructions herein or referenced regarding these products. Any implementation of these...
Public resources under /o/
Issue Why /o/marketplace-app-manager-web/icon.jsp is public by default? Are there any other out of the box resources publicly available by default? Environment Liferay DXP any Resolution The Marketplace module is an...
How to clear only a specific OSGi module directory from osgi/state/
Issue Is it possible to clear only the data from a specific module in osgi/state/ instead of clearing the whole directory? Environment Liferay DXP 7.0+ Resolution Imagine we want to clear the data of module...
Where can I extract the tcp.xml file in Quarterly Releases?
Issue Prior to Quarterly Releases, thetcp.xml file could be extracted from $LIFERAY.HOME/osgi/marketplace/Liferay Foundation-Liferay Portal-Impl.lpkg/com . liferay . portal . cluster . multiple - [version]. jar/lib /...
How to print a query string with parameter values
Issue When the property hibernate.show_sql=true is set, the SQL statements executed are shown in the system log, but with bind variables. For example: Hibernate: SELECT COUNT(*) AS col_0_0_ FROM BlogsEntry...
How to disable NetVibes and Google Gadget in widget's sharing options
Issue Netvibes and Google Gadget widget sharing options could reveal some information. Is it possible to disable them? Environment Liferay DXP 7.2 Resolution The url of those servlets are managed by this...