April 20, 2020 By Kevin Ortega 2 min read

The Liberty-for-Java Buildpack v3.43 now includes Liberty Runtime 20.0.0.4.

This buildpack contains two production versions of Liberty—a default version that remains constant for approximately three months and the latest version as an alternate. In this new buildpack, the default version is 20.0.0.3 and the alternate version is 20.0.0.4. To use the alternate version of Liberty follow these instructions.

An existing application will not be affected by the new buildpack until you redeploy or restage it. After redeployment, existing applications should continue to run “as is” without any additional changes. New applications will automatically use the new buildpack.

Liberty 20.0.0.4 provides support for MicroProfile 3.3. To use MicroProfile 3.3, you will need use the alternate Liberty runtime following these instructions and specify the features javaee-8.0 and microProfile-3.3 in the manifest.yml, an environment variable, or in the server.xml.   

To set using the JBP_CONFIG_LIBERTY environment variable, use the Cloud Foundry set-env command:

cf set-env GetStartedJava JBP_CONFIG_LIBERTY '[version: +, app_archive: {features: [javaee-8.0,microProfile-3.3]}]'

To set using the manifest.yml, add the following: 

env:
   IBM_LIBERTY_MONTHLY: true
   JBP_CONFIG_LIBERTY: '[version: +, app_archive: {features: [javaee-8.0,microProfile-3.3]}]'

Verbose GC logging in the IBM JRE is now enabled by default. The logs are stored in /home/vcap/logs
Verbose GC logging gives insight into the actions that the Garbage Collector is taking. This allows an application to be monitored and better tuned for performance, in addition to being vital for diagnosing memory problems.

Some Liberty-for-Java applications experienced performance degradation starting with Liberty-for-Java buildpack v3.37. This coincided with an updated IBM JRE included in the buildpack that enabled TransparentHugePage (THP) by default. In some multi-tenant environments, enabling THP causes performance degradation. This buildpack mitigates this problem by disabling THP. Users of buildpacks prior to v3.42 can disable THP by setting JVM arg -XX:-TransparentHugePage and restaging the application.  

This buildpack contains a fix for an unspecified vulnerability in Java SE related to the Java SE Libraries component (CVE-2020-2654)

Learn more:

More from Cloud

Cloud investments soar as AI advances

3 min read - These days, cloud news often gets overshadowed by anything and everything related to AI. The truth is they go hand-in-hand since many enterprises use cloud computing to deliver AI and generative AI at scale. "Hybrid cloud and AI are two sides of the same coin because it's all about the data," said Ric Lewis, IBM’s SVP of Infrastructure, at Think 2024. To function well, generative AI systems need to access the data that feeds its models wherever it resides. Enter…

3 keys to building a robust hybrid cloud risk strategy

2 min read - Hybrid cloud has become the new normal for enterprises in nearly all industries. Many enterprises have also deployed a hybrid multicloud environment that’s reliant on an ecosystem of different cloud service providers. According to an IBM Institute for Business Value report, 71% of executives think it’s difficult to realize the full potential of a digital transformation without having a solid hybrid cloud strategy in place. Managing complex business operations across a hybrid multicloud environment presents leaders with unique challenges, not…

The power of embracing distributed hybrid infrastructure

2 min read - Data is the greatest asset to help organizations improve decision-making, fuel growth and boost competitiveness in the marketplace. But today’s organizations face the challenge of managing vast amounts of data across multiple environments. This is why understanding the uniqueness of your IT processes, workloads and applications demands a workload placement strategy based on key factors such as the type of data, necessary compute capacity and performance needed and meeting your regulatory security and compliance requirements. While hybrid cloud has become…

IBM Newsletters

Get our newsletters and topic updates that deliver the latest thought leadership and insights on emerging trends.
Subscribe now More newsletters