This website uses cookies to ensure you get the best experience. Learn More.
Liferay Portal 7.4 GA100 and Liferay Commerce 4.0 GA100 Release
Caption
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.
To use Liferay Portal 7.4 GA100:
docker run -it -p 8080:8080 liferay/portal:7.4.3.100-ga100
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.
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.
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.
GLOWROOT_ENABLED
true
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
docker run -e GLOWROOT_ENABLED=true -it -m 8g -p 8080:8080 liferay/portal:7.4.3.100-ga100
To start Glowroot using a Tomcat bundle run the following by navigating to $CATALINA_HOME/bin and executing ./catalina.sh glowroot run
$CATALINA_HOME/bin
./catalina.sh glowroot run
Sign in to Liferay at http://localhost:8080 using the email address test@liferay.com and the password test. When prompted, change your password.
Once signed in, access Glowroot at: http://localhost:8080/o/glowroot.
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:
<liferay.home>/glowroot
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.
docker compose up
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.
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.
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 is available as a zip archive on the release page, or on its home on GitHub.
If you believe you have encountered a bug in the new release you can report your issue by following the bug reporting instructions.
Support is provided by our awesome community. Please visit getting started for more details on how you can receive support.
Fixes
List of known issues