Liferay Portal 7.4 GA79 and Liferay Commerce 4.0 GA79 Release

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

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 GA79:

docker run -it -p 8080:8080 liferay/portal:7.4.3.79-ga79

Bundles and other download options

If you are used to binary releases, you can find the Liferay Portal 7.4 GA79 and Liferay Commerce 4.0 GA79 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  latest 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 using 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.property file:

liferay.workspace.product = portal-7.4-ga79

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

Features

Experience Management

Usability improvements in the navigation menu admin application.


Improve the overall usability of the application and also to be able to reorder and adding items. Also improve the accessibility of functionality.

  • Now it is possible to move the items in a navigation menu using the keyboard

  • There is more flexibility when adding items to the navigation menu since you can now select the place where you want to add them to.

https://issues.liferay.com/browse/LPS-134527

Mapping Link to Page field to Fragment

​​​​​​​
Fragments now provide editable types to map Link to Page field types that can be found in structures.

  • The page creator can map the Link to Page field in a fragment from a content page.

  • The Link to Page field is still mapped through a fragment on a Content Page even after the site being imported.

https://issues.liferay.com/browse/LPS-182339

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 GA79 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 GA79 and Liferay Commerce 4.0 GA79 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. If you're interested in contributing, take a look at our contribution page.

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 helping a developer page for more details on how you can receive support.

Fixes and Known Issues

8
Blogs

Since GA77, I have consistently encountered this error when installing Liferay.Has anyone else experienced a similar severe error? liferay java.lang.IllegalStateException: Unable to get default company ID

I'm also facing the same issue while installing in Linux box. Local environment in windows working perfectly. 

I tried a on GA80 bundle on Linux and it seems to work okay for me.  This was on a fresh bundle with no portal-ext.properties file.  Can you try it with a freshly extracted bundle to see if it still happens to you?

Hi Jamie, Thanks for your support. Now the tomcat server is getting start in Linux box but post the basic configuration it is populating Agree to term of use page it is getting error. Actually unable to pick the default company ID from database. 

Error message :

06-10 17:34:23.168 WARN [http-nio-8088-exec-1] [code_jsp:161] (code="500", msg="", uri-/favicon.ico) lang.IllegalStateException: Unable to get default company ID

at com.liferay.portal.util.PortalInstances.getDefaultCompanyId (Portal Instances.java:242) [portal-impl

at com.liferay.portal.util.Portal Impl.getDefaultCompanyId (PortalImpl.java:2364) [portal-impl.jar:?] at com.liferay.portal.kernel.util.PortalUtil.getDefaultCompanyId (PortalUtil.java:854) [portal-kernel

.

at com.liferay.portal.servlet.filters.validhostname.ValidHostNameFilter.doFilterTry (ValidHostNameFilte

at com.liferay.portal.kernel.servlet.filters.invoker. InvokerFilterChain.processDirectCallFilter (Invoke at com.liferay.portal.kernel.servlet.filters.invoker. InvokerFilterChain.doFilter (InvokerFilterChain.jav

:

at com.liferay.portal.kernel.servlet.filters.invoker. InvokerFilter.doFilter (InvokerFilter.java:104) - at com.liferay.shielded.container.internal.proxy.FilterWrapper.doFilter (FilterWrapper.java:78) -[com.li

[I

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) - at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:153) - [catalina

|

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) -[catalina.jar:9 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) -[catalina.jar:9. ]

at org.apache.catalina.authenticator.AuthenticatorBase.invoke (AuthenticatorBase.java:481) -[catalina.ja at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:130) [catalina.jar:9.0.75

at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:93) [catalina.jar:9.0.75] at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:74) [catalina.jar:9.0.7

at org.apache.catalina.connector. CoyoteAdapter.service (CoyoteAdapter.java:343) [catalina.jar:9.0.75] at org.apache.coyote.http11.Http11Processor.service (HttpliProcessor.java:390) [tomcat-coyote.jar:9.0.75

at org.apache.coyote.AbstractProcessorLight.process (AbstractProcessorLight.java:63) [tomcat-coyote.jar

:

at org.apache.coyote.AbstractProtocol$ConnectionHandler.process (AbstractProtocol.java:926) [tomcat-coyo at org.apache.tomcat.util.net.NioEndpoint$Socket Processor.doRun (NioEndpoint.java:1791) [tomcat-coyote.j

at org.apache.tomcat.util.net.SocketProcessorBase.run (Socket ProcessorBase.java:52) [tomcat-coyote.jar:9 at org.apache.tomcat.util.threads, ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1191) [tomcat-ut

at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:659) [tomcat-ut at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable, run (TaskThread.java:61) [tomcat-util.jar

at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121)

Hi Gokul,

We are recieving reports of others having the issue here: https://liferay-community.slack.com/archives/C5H30KZ1A/p1686665592458389.  Our engineering team is aware of the issue and are working on fixing it.  In the meantime it sounds like using GA76 is a known work around until the issue can be addressed.

Is this already fixed? I can't upgrade to any version above 77.

I always get the error 

java.lang.IllegalStateException: Unable to get default company ID         at com.liferay.portal.kernel.instance.PortalInstancePool.getDefaultCompanyId(PortalInstancePool.java:49) ~[portal-kernel.jar:?]         at com.liferay.portal.util.PortalInstances.getDefaultCompanyId(PortalInstances.java:235) ~[portal-impl.jar:?]         at com.liferay.portal.util.PortalImpl.getDefaultCompanyId(PortalImpl.java:2366) ~[portal-impl.jar:?]         at com.liferay.portal.kernel.util.PortalUtil.getDefaultCompanyId(PortalUtil.java:854) ~[portal-kernel.jar:?]         at com.liferay.portal.servlet.filters.validhostname.ValidHostNameFilter.doFilterTry(ValidHostNameFilter.java:38) ~[portal-impl.jar: ?]         at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:194) ~[port al-kernel.jar:?]         at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:99) ~[portal-kernel.jar:?]         at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:104) ~[portal-kernel.jar:?]         at com.liferay.shielded.container.internal.proxy.FilterWrapper.doFilter(FilterWrapper.java:78) ~[com.liferay.shielded.container.imp l.jar:?]         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) ~[catalina.jar:9.0.75]         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) ~[catalina.jar:9.0.75]         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) ~[catalina.jar:9.0.75]         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) ~[catalina.jar:9.0.75]         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481) ~[catalina.jar:9.0.75]         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) [catalina.jar:9.0.75]         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) [catalina.jar:9.0.75]         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [catalina.jar:9.0.75]         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [catalina.jar:9.0.75]

at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:390) [tomcat-coyote.jar:9.0.75]         at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) [tomcat-coyote.jar:9.0.75]         at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926) [tomcat-coyote.jar:9.0.75]         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) [tomcat-coyote.jar:9.0.75]         at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) [tomcat-coyote.jar:9.0.75]         at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) [tomcat-util.jar:9.0.75]         at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) [tomcat-util.jar:9.0.75]         at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:9.0.75]         at java.lang.Thread.run(Thread.java:834) [?:?]