Liferay Portal 7.4 GA100 and Liferay Commerce 4.0 GA100 Release

We are pleased to announce the release of Liferay Portal 7.4 GA100 and Liferay Commerce 4.0 GA100!

Caption

Download options

Liferay Portal and Liferay Commerce share the same Bundle and Docker image.  To get started using either Liferay Portal or Liferay Commerce, choose the best download option suited for your environment below.

Docker image

To use Liferay Portal 7.4 GA100:

docker run -it -p 8080:8080 liferay/portal:7.4.3.100-ga100

Bundles and other download options

If you are used to binary releases, you can find the Liferay Portal 7.4 GA100 and Liferay Commerce 4.0 GA100 release on the download page.  If you need additional files (for example, the source code, or dependency libraries), visit the release page.

Dependency Management

For development using the Liferay Platform, update Liferay Workspace to use the  lat est dependencies, by adding the following line to the build.gradle file:

dependencies {
	compileOnly group: "com.liferay.portal", name: "release.portal.api"
}

All portal dependencies are now defined with a single declaration. When Ausing an IDE such as Eclipse or IntelliJ all apis are immediately available in autocomplete for immediate use.  

By setting a product info key property it will be possible to update all dependencies to a new version by updating the liferay.workspace.product property in the liferay workspace projects gradle.properties file:

liferay.workspace.product = portal-7.4-ga100

When using an IDE such as Eclipse or IntelliJ all apis are immediately available in autocomplete for immediate use.

Features

Glowroot APM

Glowroot is now bundled in out of the box and can be started either by setting the GLOWROOT_ENABLED environment variable to true or by passing an argument during Tomcat startup.

  1. To start Glowroot with the Liferay Portal GA100 docker image: docker run -e GLOWROOT_ENABLED=true -it -m 8g -p 8080:8080 liferay/portal:7.4.3.100-ga100

  2. To start Glowroot using a Tomcat bundle run the following by navigating to $CATALINA_HOME/bin and executing ./catalina.sh glowroot run

  3. Sign in to Liferay at http://localhost:8080 using the email address test@liferay.com and the password test. When prompted, change your password.

  4. Once signed in, access Glowroot at: http://localhost:8080/o/glowroot.

Glowroot can only be accessed by a user in the Administrator Role at this time.

Configure Glowroot Central Collector

By default Glowroot is configured with an Embedded Collector meaning the data resides alongside Liferay Portal. Normally the Glowroot data is not preserved by default in the event of a JVM crash. In order to preserve this data a Glowroot Central Collector can be used. To configure Glowroot to use a Central Collector, create a glowroot.properties file in <liferay.home>/glowroot with the following properties:

collector.address=http://<collector_host>:8181
agent.id=liferay

A pre-configured Liferay Portal instance with Glow Central Collector and upgrade instrumentation can be found here:  https://github.com/sammonsjl/liferay-glowroot.  Once the containers are started Glowroot Central Collector can be accessed at: http://localhost:4000 by default.

Clone the repo and run docker compose up for an example of everything running together.

​​​​​​​

Configuring the FreeMarker Plugin

Glowroot can also be used for profiling FreeMarker templates in Liferay Portal using a custom instrumentation plugin developed by our very own Fabian Bouché.  Not only will it reveal slow transactions in templates but will also help pinpoint which template is performing poorly.

Once Liferay Portal is started configure the plugin by going to Configuration > Plugins > Liferay FreeMarker Templates Plugin. The FreeMarker plugin has 3 configurable instrumentation levels: INFO, DEBUG and TRACE.

​​​​​​​

Documentation

All documentation for Liferay Portal and Liferay Commerce can now be found on our documentation site: learn.liferay.com.  For more information on upgrading to Liferay Portal 7.4 GA100 see refer to the Upgrade Overview.

Compatibility Matrix

Liferay's general policy is to test Liferay Portal and Liferay Commerce  against newer major releases of operating systems, open source app servers, browsers, and open source databases (we regularly update the bundled upstream libraries to fix bugs or take advantage of new features in the open source we depend on). 

Liferay Portal 7.4 GA100 and Liferay Commerce 4.0 GA100 were tested extensively for use with the following Application/Database Servers: 

Application Server

  • Tomcat 9.0

  • Wildfly 18.0, 23.0

Database

  • MySQL 5.7, 8.0

  • MariaDB 10.2, 10.4, 10.6

  • PostgreSQL 12.x, 13.x, 14.x

JDK

  • IBM J9 JDK 8

  • Oracle JDK 8

  • Oracle JDK 11

  • All Java Technical Compatibility Kit (TCK) compliant builds of Java 11 and Java 8

Search Engine Compatibility Matrix

Source Code

Source is available as a zip archive on the release page, or on its home on GitHub.

Bug Reporting

If you believe you have encountered a bug in the new release you can report your issue by following the bug reporting instructions.

Getting Support

Support is provided by our awesome community. Please visit getting started for more details on how you can receive support.

Fixes and Known Issues