Liferay cms

Author: n | 2025-04-24

★★★★☆ (4.2 / 1499 reviews)

jriver media center 31.0.54 (64 bit)

In summary, Liferay CMS is integral to Liferay DXP, serving as its foundational content management component.However, DXP extends beyond CMS functionalities, providing a complete suite of tools for delivering personalized digital experiences. Key features and capabilities of Liferay CMS. Let’s examine the main features of Liferay CMS to understand In this blog, we give an overview of Liferay and select Liferay products, including Liferay Portal, Liferay DXP, Liferay CMS, and more. Table of Contents. What Is Liferay? Liferay Portal; Liferay is a modern and secure solution that offers personalization, analytics, and content management all in one place.

clean virus msn

Liferay DXP CMS Overview - Liferay

Solr is a popular enterprise search platform build on Apache Lucene. It’spopular for its reliability, scalability, and fault tolerance. Read more aboutit here.Although Elasticsearchis the default search engine that ships with Liferay DXP, it’s perfectly valid touse Solr instead. In particular, if you’ve already been using Solr with aprevious version of Liferay DXP, or your deployment system (for example, your OS orJVM) isn’t supported by Elasticsearch,you might choose to use Solr to search and index your Liferay DXP data.Liferay’s support for Solr is compatible with Solr versions 5.2.x through 5.5.x.To make Liferay DXP and Solr talk to each other, you’ll need to install the LiferaySolr adapter. There are two ways to do this:Navigate to the Liferay Marketplacewebsite and download the LPKG file for Liferay (CE) Solr 5 SearchEngine. Once you do, copy the LPKG to your Liferay_Home/osgi/marketplacefolder.In your running Liferay instance, navigate to Control Panel → Apps→ Store. Sign in using your credentials, search for Solr SearchEngine, and purchase (it’s free) the Liferay (CE) Solr 5 SearchEngine entry.This guide leads you through the process of installing and configuring Solr.As you proceed, these terms will be useful to keep in mind:Solr Home: The center of the Solr system (pun intended). This directory issolr-[version]/server/solr.Liferay Home: The root folder of your Liferay DXP installation. It containsthe osgi, deploy, data, and license folders, among others.Before configuring Liferay DXP for Solr, you need to install and set up Solr.Installing and Configuring Solr 5To install and properly configure Solr for Liferay DXP:Download Solr and unzip it.Navigate to solr-[version]/server/solr. This is Solr Home.Create a new folder called liferay.In the liferay folder, create two new folders: conf and data.Copy the contents of Solr_Home/configsets/data_driven_schema_configs/confto Solr_Home/liferay/conf.Open the Liferay Solr Adapter’s LPKG file with an archive manager.Open the com.liferay.portal.search.solr.jar file, and extract META-INF/resources/solrconfig.xmland META-INF/resources/schema.xmlto Solr_Home/liferay/confThis replaces the current solrconfig.xml and schema.xml files with onesthat tell Solr how to index data coming from Liferay DXP.Create a core.properties file in Solr_Home/liferay, and add thesecontents: config=solrconfig.xml dataDir=data name=liferay schema=schema.xmlCheckpoint: your Solr_Home/liferay folder should now have this structure: liferay ├── conf │ ├── currency.xml │ ├── elevate.xml │ ├── lang │ ├── managed-schema │ ├── Create content for any digital experience fasterEnable business users to quickly create, publish, and manage content, pages, and multimedia across different channels. Create Content FasterExpedite content creation with native tools that allow users to create and update content without using any code.Content TemplatesEnable users with web content templates to standardize and accelerate the creation of web pages, blog posts, wiki articles, and multimedia.AI-Powered ContentLeverage AI-powered content creation with integration to tools like ChatGPT to assist in creating content. Content creators can get suggestions by defining word count, adding the tone they want, and providing a short description.Process AutomationUse AI/ML-powered capabilities to automate processes like translating, tagging, and more.Streamline and Standardize PublishingDon’t let content get stuck waiting for approvals.Define and automate publishing and approval workflows using a no-code workflow designer.Ensure only authorized users have access to create, share, and edit content with Liferay's powerful user identity and management features.Bulk publish sets of pages and edit and track changes across those pages. Deliver Content to Every ChannelEasily display your content to any channel.Multi-channel ContentUse a complete set of headless APIs to display content for any device, channel, or browser.Content GroupingDynamically group related content together to easily create deep and engaging experiences that automatically display new content groups on relevant channels as they’re published.Know How Your Content is PerformingTrack and monitor the results of your content efforts to drive higher engagement and conversion rates.Use Liferay's Content Dashboard to easily identify where content is being leveraged across sites and see how it's performing with regards to views, reads, and traffic.See what keywords and topics users are interested in on our Analytics Dashboard to guide new content and campaigns.Run audits using the Content Audit Tool to determine the effectiveness of content, identify gaps, and find outdated materials.Perform A/B tests to evaluate variations of copy and page layouts. Control how much traffic gets directed to each variation to see which gets more users to click. Experience Liferay's CMS in ActionRelated Content 1400 Montefino AvenueDiamond Bar, CA 91765USA+1-877-LIFERAYBuilt on Liferay Digital Experience Platform © 2025 Liferay Inc. All Rights Reserved

Liferay As An Enterprise CMS

To the data source on startup.As an alternative to the built-in data source, you can use your applicationserver’s data source.Using a Data Source on Your Application ServerHere’s how to use your application server’s data source:Create your data source based on the instructions in the InstallingLiferay DXP on [Application Server] article (for your application server)and your application server’s documentation.Create aportal-ext.properties file,if you haven’t created one already.Add the jdbc.default.jndi.name property set to the data source’s JNDIname. Here’s an example:jdbc.default.jndi.name=jdbc/LiferayPoolPut the portal-ext.properties file into yourLIFERAY_HOME,once you’ve established your LIFERAY_HOME based on your installation.Liferay DXP connects to your data source on startup.Allowing the database user you’re using to initialize the Liferay DXP database tocontinue with all database rights is recommended. If you’re fine with that userhaving the recommended permissions, skip the next section on limitingdatabase access.Limiting Database AccessEven though it’s recommended for Liferay DXP to use the same database user tocreate and maintain its database automatically, your organizations might insiston revoking database initialization and maintenance permissions from that useronce the database is initialized. If permissions for Select, Insert, Update andDelete operations are the only ones you allow for that user, you must initializeand maintain the database manually (even though it’s not recommended). Here isthe manual procedure:Create a new, blank, database for Liferay DXP.Grant full rights for the Liferay DXP database user to do anything to thedatabase.Install Liferay DXP and start it so that it automatically populates thedatabase.Once the database has been populated with the Liferay DXP tables, remove allpermissions from that user except permissions to perform Select, Insert,Update and Delete operations.There are some caveats to running Liferay DXP like this. Many plugins create newtables when they’re deployed. Additionally, you must run the database upgradefunction to upgrade Liferay DXP. If the Liferay DXP database user doesn’t haveadequate rights to create/modify/drop tables in the database, you. In summary, Liferay CMS is integral to Liferay DXP, serving as its foundational content management component.However, DXP extends beyond CMS functionalities, providing a complete suite of tools for delivering personalized digital experiences. Key features and capabilities of Liferay CMS. Let’s examine the main features of Liferay CMS to understand

Crafter Liferay CMS Integration - Marketplace - Liferay

Not "opens com.sun.management.internal" to unnamed module @1a3325e5java.lang.reflect.InaccessibleObjectException: Unable to make public long com.sun.management.internal.OperatingSystemImpl.getOpenFileDescriptorCount() accessible: module jdk.management does not "opens com.sun.management.internal" to unnamed module @1a3325e5at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:198)at java.base/java.lang.reflect.Method.setAccessible(Method.java:192)To workaround this issue, add this property after your application server JVM options: --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMEDIt’s time to prepare your database.Preparing a DatabaseThe recommended way to set up your Liferay DXP database is also the simplest.Liferay DXP takes care of just about everything. Here are the steps:Create a blank database encoded with the character set UTF-8. Liferay DXP is amultilingual application and needs UTF-8 encoding to display all of itssupported character sets.Create a database user for accessing this database. Grant this database userall rights, including the rights to create and drop tables, to the blankLiferay DXP database.Liferay DXP uses this database user’s credentials to connect to the databaseeitherdirectlyorthrough its application server.After you’ve configured the database connection, Liferay DXP creates its tables inthe database automatically, complete with indexes.This is the recommended way to set up Liferay DXP. It enables Liferay DXP tomaintain its database automatically during upgrades or when various Liferay DXPplugins that create database tables of their own are installed. This method isby far the best way to set up your database.You can connect Liferay DXP with your database using Liferay DXP’s built-in datasource (recommended) or using a data source you create on your app server.Using the Built-in Data SourceYou can configure the built-in data source from theBasic Configuration page(available when Liferay DXP starts up the first time) or by specifying it usingportal properties.Here’s how set it using portal properties:Create aportal-ext.properties fileif you haven’t created one already.Copy a set of jdbc.* properties from one of theJDBC templatesinto your portal-ext.properties file.Modify the jdbc.* property values to specify your database and databaseuser credentials.Put the portal-ext.properties file into yourLIFERAY_HOMEonce you’ve established it based on your installation.Liferay DXP connects Params.json │ ├── protwords.txt │ ├── schema.xml │ ├── solrconfig.xml │ ├── stopwords.txt │ └── synonyms.txt ├── core.properties └── dataStart the Solr server by entering ./bin/solr start -ffrom the top-level folder of your Solr installation (solr-[version]).The Solr server listens on port 8983 by default. Navigate to (assuming you’re testing locally withlocalhost as your host), and confirm that the liferay core is available.Solr is now installed. Next install and configure Liferay DXP’s Solr adapter.Installing and Configuring the Liferay Solr AdapterSince Elasticsearch is the default search engine in Liferay DXP, the Elasticsearchadapter is already installed and running. Stop it before configuring the Solradapter.Stop the Elasticsearch adapter bundle using the App Manager, the Felix Gogoshell, or the bundle blacklist. If you’re a Digital Enterprise customer, use theblacklist feature as described below. The App Manager and Gogo shell rely on theosgi/state folder to “remember” the state of the bundle. If you delete thisfolder (recommended during patching) the Elasticsearch connector will bereinstalled and started automatically.Navigate to Control Panel → Apps → App Manager.Once you’re in the App Manager, search for elasticsearch. Find the LiferayPortal Search Elasticsearch module and click the edit(()) button. Choose the Deactivateoption. This leaves the bundle installed, but stops it in the OSGi runtime.Alternatively, use the Felix Gogo shell tostop the Elasticsearch adapter. First, open a Gogo shell and enterlb elasticsearchYou’ll see an active bundle named Liferay Portal Search Elasticsearch (version)listed in the Gogo shell.ID |State |Level|Name239|Active | 10|Liferay Portal Search Elasticsearch (2.0.4)Stop the Elasticsearch adapter by enteringstop [bundle ID]In the case above, the [bundle ID] is 239.Now you can install and configure the Solr adapter:Start Liferay DXP, then deploy the Solr adapter by copying the LPKG youdownloaded to Liferay_Home/deploy.You’ll see a STARTED message in your Liferay DXP log once the solr adapter isinstalled. Here’s what the log message looks like: 08:48:24,165 INFO [localhost-startStop-1][BundleStartStopLogger:35] STARTED com.liferay.portal.search.solr_2.0.3 [47]To reindex against Solr, navigate to Control Panel → Configuration→ Server Administration, and click Execute next to the Reindex allsearch indexes option.Figure 1: Once the Solr adapter is installed, you can reindex your Liferay DXP data against your Solr server.In production deployments, specify your edits to

Liferay Guide: Liferay CMS - Key Insights Practices

Liferay Workspaces can generate and hold a Liferay Server. This lets youbuild/test your workspace’s plugins against a running Liferay instance. Followthe instructions below to get started.Open your workspace’s root gradle.properties file.Set the liferay.workspace.bundle.url property to the bundle’s download URLyou want to generate and install. For example,liferay.workspace.bundle.url= DXP subscribers, it would look like this:liferay.workspace.bundle.url= subscribers must also set the liferay.workspace.bundle.token.downloadproperty to true to allow your workspace to access Liferay’s API site.Navigate to your workspace’s root folder and runblade server initVerify your bundle was downloaded. The bundle is generated in the bundlesfolder by default. You can change this by setting the gradle.propertiesfile’s liferay.workspace.home.dir property to a different folder.You can also produce a distributable Liferay bundle (Zip or Tar) from within aworkspace. To do this, navigate to your workspace’s root folder and run thefollowing command:./gradlew distBundle[Zip|Tar]Your distribution file is available from the workspace’s /build folder.You’re all set to develop projects for a nested Liferay DXP bundle.

Liferay as a Headless CMS - IGNEK

The Solr adapter’s defaultconfigurations using a configuration file deployed to the Liferay_Home/osgi/configsfolder. Name the filecom.liferay.portal.search.solr.configuration.SolrConfiguration.configDuring testing and development, the System Settings app in Liferay DXP’s ControlPanel → Configuration section is convenient for editing the defaultconfigurations.Figure 2: You can configure Solr from Liferay DXP's System Settings application. This is most useful during development and testing.High Availability with SolrCloudYou can use SolrCloud if you need a cluster of Solr servers featuring faulttolerance and high availability. Note that to use SolrCloud in production, youshould set up an external ZooKeeperensemble.ZooKeeper is a centralizedcoordination service for managing distributed systems, such as your SolrCloudcluster.The steps included here should be considered the bare minimum of what must bedone to configure SolrCloud with Liferay DXP. For example, these instructions coverconfiguring SolrCloud on a single machine, whereas a production environmentwould feature multiple physical or virtual machines. These instructions alsoassume you’ve followed the earlier section on Installing and Configuring Solr5. Refer to the SolrCloud guide for more information.Stop the Solr server if it’s running.Navigate to the Solr_Home/configsets folder and create a folder called liferay_configsCopy the conf folder from Solr_Home/liferay to the liferay_configsfolder you just created.The configset/liferay_configs folder is used to configure the SolrCloudLiferay DXP collection, and is uploaded to ZooKeeper. By copying the conffolder from the liferay server configured earlier, you’re using theschema.xml and solrconfig.xml files provided with the Liferay SolrAdapter.Next launch an interactive SolrCloud session to configure your SolrCloudcluster. Use this command: ./bin/solr -e cloudComplete the setup wizard. These steps demonstrate creating a two-nodecluster:Enter 2 for the number of nodes.Specify ports 8983 and 7574 (the defaults). Both nodes arestarted with the start commands printed in the log: Starting up SolrCloud node1 on port 18983 using command: solr start -cloud -s example/cloud/node1/solr -p [port#] -m 512mName the collection liferay.Split the collection into two shards.Specify two replicas per shard.When prompted to choose a configuration, enter liferay_configs. Youshould see a log message that concludes like this when the cluster hasbeen started: SolrCloud example running, please visit you have a new collection called liferay in your local SolrCloud cluster.Verify its status by running the status command:./bin/solr statusYou’ll see log output like this:Found 2. In summary, Liferay CMS is integral to Liferay DXP, serving as its foundational content management component.However, DXP extends beyond CMS functionalities, providing a complete suite of tools for delivering personalized digital experiences. Key features and capabilities of Liferay CMS. Let’s examine the main features of Liferay CMS to understand In this blog, we give an overview of Liferay and select Liferay products, including Liferay Portal, Liferay DXP, Liferay CMS, and more. Table of Contents. What Is Liferay? Liferay Portal; Liferay is a modern and secure solution that offers personalization, analytics, and content management all in one place.

The essence of Liferay CMS - Medium

Solr nodes: Solr process 12755 running on port 7574{ "solr_home":"/home/russell/Documents/docs-projects/solr-docs/solr-5.2.1/example/cloud/node2/solr/", "version":"5.2.1 1684708 - shalin - 2015-06-10 23:20:13", "startTime":"2016-08-19T18:11:27.087Z", "uptime":"0 days, 0 hours, 13 minutes, 2 seconds", "memory":"50 MB (%10.2) of 490.7 MB", "cloud":{ "ZooKeeper":"localhost:9983", "liveNodes":"2", "collections":"1"}}Solr process 12564 running on port 8983{ "solr_home":"/home/russell/Documents/docs-projects/solr-docs/solr-5.2.1/example/cloud/node1/solr/", "version":"5.2.1 1684708 - shalin - 2015-06-10 23:20:13", "startTime":"2016-08-19T18:11:21.637Z", "uptime":"0 days, 0 hours, 13 minutes, 8 seconds", "memory":"44.9 MB (%9.2) of 490.7 MB", "cloud":{ "ZooKeeper":"localhost:9983", "liveNodes":"2", "collections":"1"}}To stop Solr while running in SolrCloud mode, use the stop command, like this:bin/solr stop -allConfigure the Solr Adapter for SolrCloudThere’s only one thing left to do: specify the client type as CLOUD inLiferay’s Solr adapter.From System Settings or your OSGi configuration file, set the Client Typeto CLOUD. clientType="CLOUD"Start Liferay DXP if it’s not running already.Now you’re able to configure Liferay DXP for Solr, and Solr for Liferay DXP. Rememberthat Elasticsearch is the default search engine for Liferay DXP, so if you’re notconstrained to use Solr or already a Solr expert, consider Elasticsearch for yousearch engine requirements. If you do use Solr, then you can tell all yourcolleagues that your Liferay DXP installation’s search capability is Solr powered(pun intended).

Comments

User6106

Solr is a popular enterprise search platform build on Apache Lucene. It’spopular for its reliability, scalability, and fault tolerance. Read more aboutit here.Although Elasticsearchis the default search engine that ships with Liferay DXP, it’s perfectly valid touse Solr instead. In particular, if you’ve already been using Solr with aprevious version of Liferay DXP, or your deployment system (for example, your OS orJVM) isn’t supported by Elasticsearch,you might choose to use Solr to search and index your Liferay DXP data.Liferay’s support for Solr is compatible with Solr versions 5.2.x through 5.5.x.To make Liferay DXP and Solr talk to each other, you’ll need to install the LiferaySolr adapter. There are two ways to do this:Navigate to the Liferay Marketplacewebsite and download the LPKG file for Liferay (CE) Solr 5 SearchEngine. Once you do, copy the LPKG to your Liferay_Home/osgi/marketplacefolder.In your running Liferay instance, navigate to Control Panel → Apps→ Store. Sign in using your credentials, search for Solr SearchEngine, and purchase (it’s free) the Liferay (CE) Solr 5 SearchEngine entry.This guide leads you through the process of installing and configuring Solr.As you proceed, these terms will be useful to keep in mind:Solr Home: The center of the Solr system (pun intended). This directory issolr-[version]/server/solr.Liferay Home: The root folder of your Liferay DXP installation. It containsthe osgi, deploy, data, and license folders, among others.Before configuring Liferay DXP for Solr, you need to install and set up Solr.Installing and Configuring Solr 5To install and properly configure Solr for Liferay DXP:Download Solr and unzip it.Navigate to solr-[version]/server/solr. This is Solr Home.Create a new folder called liferay.In the liferay folder, create two new folders: conf and data.Copy the contents of Solr_Home/configsets/data_driven_schema_configs/confto Solr_Home/liferay/conf.Open the Liferay Solr Adapter’s LPKG file with an archive manager.Open the com.liferay.portal.search.solr.jar file, and extract META-INF/resources/solrconfig.xmland META-INF/resources/schema.xmlto Solr_Home/liferay/confThis replaces the current solrconfig.xml and schema.xml files with onesthat tell Solr how to index data coming from Liferay DXP.Create a core.properties file in Solr_Home/liferay, and add thesecontents: config=solrconfig.xml dataDir=data name=liferay schema=schema.xmlCheckpoint: your Solr_Home/liferay folder should now have this structure: liferay ├── conf │ ├── currency.xml │ ├── elevate.xml │ ├── lang │ ├── managed-schema │ ├──

2025-03-26
User3410

Create content for any digital experience fasterEnable business users to quickly create, publish, and manage content, pages, and multimedia across different channels. Create Content FasterExpedite content creation with native tools that allow users to create and update content without using any code.Content TemplatesEnable users with web content templates to standardize and accelerate the creation of web pages, blog posts, wiki articles, and multimedia.AI-Powered ContentLeverage AI-powered content creation with integration to tools like ChatGPT to assist in creating content. Content creators can get suggestions by defining word count, adding the tone they want, and providing a short description.Process AutomationUse AI/ML-powered capabilities to automate processes like translating, tagging, and more.Streamline and Standardize PublishingDon’t let content get stuck waiting for approvals.Define and automate publishing and approval workflows using a no-code workflow designer.Ensure only authorized users have access to create, share, and edit content with Liferay's powerful user identity and management features.Bulk publish sets of pages and edit and track changes across those pages. Deliver Content to Every ChannelEasily display your content to any channel.Multi-channel ContentUse a complete set of headless APIs to display content for any device, channel, or browser.Content GroupingDynamically group related content together to easily create deep and engaging experiences that automatically display new content groups on relevant channels as they’re published.Know How Your Content is PerformingTrack and monitor the results of your content efforts to drive higher engagement and conversion rates.Use Liferay's Content Dashboard to easily identify where content is being leveraged across sites and see how it's performing with regards to views, reads, and traffic.See what keywords and topics users are interested in on our Analytics Dashboard to guide new content and campaigns.Run audits using the Content Audit Tool to determine the effectiveness of content, identify gaps, and find outdated materials.Perform A/B tests to evaluate variations of copy and page layouts. Control how much traffic gets directed to each variation to see which gets more users to click. Experience Liferay's CMS in ActionRelated Content 1400 Montefino AvenueDiamond Bar, CA 91765USA+1-877-LIFERAYBuilt on Liferay Digital Experience Platform © 2025 Liferay Inc. All Rights Reserved

2025-04-11
User4271

To the data source on startup.As an alternative to the built-in data source, you can use your applicationserver’s data source.Using a Data Source on Your Application ServerHere’s how to use your application server’s data source:Create your data source based on the instructions in the InstallingLiferay DXP on [Application Server] article (for your application server)and your application server’s documentation.Create aportal-ext.properties file,if you haven’t created one already.Add the jdbc.default.jndi.name property set to the data source’s JNDIname. Here’s an example:jdbc.default.jndi.name=jdbc/LiferayPoolPut the portal-ext.properties file into yourLIFERAY_HOME,once you’ve established your LIFERAY_HOME based on your installation.Liferay DXP connects to your data source on startup.Allowing the database user you’re using to initialize the Liferay DXP database tocontinue with all database rights is recommended. If you’re fine with that userhaving the recommended permissions, skip the next section on limitingdatabase access.Limiting Database AccessEven though it’s recommended for Liferay DXP to use the same database user tocreate and maintain its database automatically, your organizations might insiston revoking database initialization and maintenance permissions from that useronce the database is initialized. If permissions for Select, Insert, Update andDelete operations are the only ones you allow for that user, you must initializeand maintain the database manually (even though it’s not recommended). Here isthe manual procedure:Create a new, blank, database for Liferay DXP.Grant full rights for the Liferay DXP database user to do anything to thedatabase.Install Liferay DXP and start it so that it automatically populates thedatabase.Once the database has been populated with the Liferay DXP tables, remove allpermissions from that user except permissions to perform Select, Insert,Update and Delete operations.There are some caveats to running Liferay DXP like this. Many plugins create newtables when they’re deployed. Additionally, you must run the database upgradefunction to upgrade Liferay DXP. If the Liferay DXP database user doesn’t haveadequate rights to create/modify/drop tables in the database, you

2025-03-30
User3234

Not "opens com.sun.management.internal" to unnamed module @1a3325e5java.lang.reflect.InaccessibleObjectException: Unable to make public long com.sun.management.internal.OperatingSystemImpl.getOpenFileDescriptorCount() accessible: module jdk.management does not "opens com.sun.management.internal" to unnamed module @1a3325e5at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:198)at java.base/java.lang.reflect.Method.setAccessible(Method.java:192)To workaround this issue, add this property after your application server JVM options: --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMEDIt’s time to prepare your database.Preparing a DatabaseThe recommended way to set up your Liferay DXP database is also the simplest.Liferay DXP takes care of just about everything. Here are the steps:Create a blank database encoded with the character set UTF-8. Liferay DXP is amultilingual application and needs UTF-8 encoding to display all of itssupported character sets.Create a database user for accessing this database. Grant this database userall rights, including the rights to create and drop tables, to the blankLiferay DXP database.Liferay DXP uses this database user’s credentials to connect to the databaseeitherdirectlyorthrough its application server.After you’ve configured the database connection, Liferay DXP creates its tables inthe database automatically, complete with indexes.This is the recommended way to set up Liferay DXP. It enables Liferay DXP tomaintain its database automatically during upgrades or when various Liferay DXPplugins that create database tables of their own are installed. This method isby far the best way to set up your database.You can connect Liferay DXP with your database using Liferay DXP’s built-in datasource (recommended) or using a data source you create on your app server.Using the Built-in Data SourceYou can configure the built-in data source from theBasic Configuration page(available when Liferay DXP starts up the first time) or by specifying it usingportal properties.Here’s how set it using portal properties:Create aportal-ext.properties fileif you haven’t created one already.Copy a set of jdbc.* properties from one of theJDBC templatesinto your portal-ext.properties file.Modify the jdbc.* property values to specify your database and databaseuser credentials.Put the portal-ext.properties file into yourLIFERAY_HOMEonce you’ve established it based on your installation.Liferay DXP connects

2025-04-06
User2202

Params.json │ ├── protwords.txt │ ├── schema.xml │ ├── solrconfig.xml │ ├── stopwords.txt │ └── synonyms.txt ├── core.properties └── dataStart the Solr server by entering ./bin/solr start -ffrom the top-level folder of your Solr installation (solr-[version]).The Solr server listens on port 8983 by default. Navigate to (assuming you’re testing locally withlocalhost as your host), and confirm that the liferay core is available.Solr is now installed. Next install and configure Liferay DXP’s Solr adapter.Installing and Configuring the Liferay Solr AdapterSince Elasticsearch is the default search engine in Liferay DXP, the Elasticsearchadapter is already installed and running. Stop it before configuring the Solradapter.Stop the Elasticsearch adapter bundle using the App Manager, the Felix Gogoshell, or the bundle blacklist. If you’re a Digital Enterprise customer, use theblacklist feature as described below. The App Manager and Gogo shell rely on theosgi/state folder to “remember” the state of the bundle. If you delete thisfolder (recommended during patching) the Elasticsearch connector will bereinstalled and started automatically.Navigate to Control Panel → Apps → App Manager.Once you’re in the App Manager, search for elasticsearch. Find the LiferayPortal Search Elasticsearch module and click the edit(()) button. Choose the Deactivateoption. This leaves the bundle installed, but stops it in the OSGi runtime.Alternatively, use the Felix Gogo shell tostop the Elasticsearch adapter. First, open a Gogo shell and enterlb elasticsearchYou’ll see an active bundle named Liferay Portal Search Elasticsearch (version)listed in the Gogo shell.ID |State |Level|Name239|Active | 10|Liferay Portal Search Elasticsearch (2.0.4)Stop the Elasticsearch adapter by enteringstop [bundle ID]In the case above, the [bundle ID] is 239.Now you can install and configure the Solr adapter:Start Liferay DXP, then deploy the Solr adapter by copying the LPKG youdownloaded to Liferay_Home/deploy.You’ll see a STARTED message in your Liferay DXP log once the solr adapter isinstalled. Here’s what the log message looks like: 08:48:24,165 INFO [localhost-startStop-1][BundleStartStopLogger:35] STARTED com.liferay.portal.search.solr_2.0.3 [47]To reindex against Solr, navigate to Control Panel → Configuration→ Server Administration, and click Execute next to the Reindex allsearch indexes option.Figure 1: Once the Solr adapter is installed, you can reindex your Liferay DXP data against your Solr server.In production deployments, specify your edits to

2025-04-06
User8651

Liferay Workspaces can generate and hold a Liferay Server. This lets youbuild/test your workspace’s plugins against a running Liferay instance. Followthe instructions below to get started.Open your workspace’s root gradle.properties file.Set the liferay.workspace.bundle.url property to the bundle’s download URLyou want to generate and install. For example,liferay.workspace.bundle.url= DXP subscribers, it would look like this:liferay.workspace.bundle.url= subscribers must also set the liferay.workspace.bundle.token.downloadproperty to true to allow your workspace to access Liferay’s API site.Navigate to your workspace’s root folder and runblade server initVerify your bundle was downloaded. The bundle is generated in the bundlesfolder by default. You can change this by setting the gradle.propertiesfile’s liferay.workspace.home.dir property to a different folder.You can also produce a distributable Liferay bundle (Zip or Tar) from within aworkspace. To do this, navigate to your workspace’s root folder and run thefollowing command:./gradlew distBundle[Zip|Tar]Your distribution file is available from the workspace’s /build folder.You’re all set to develop projects for a nested Liferay DXP bundle.

2025-03-30

Add Comment