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 Announcements

Enabling customers to streamline document management with IBM watsonx.ai

2 min read - At Accusoft, our mission is to help organizations solve their most complex content workflow challenges by helping them adopt content processing, conversion and automation solutions. We accomplish this through our flagship product, PrizmDoc, which enables developers to enhance their applications with in-browser document viewing and collaboration functionality.  Over the past several years, we’ve been closely monitoring the evolving role of artificial intelligence (AI) in delivering cutting-edge solutions to our customers. Unlike many competitors who hastily incorporate AI  to check a…

Success and recognition of IBM offerings in G2 Summer Reports  

2 min read - IBM offerings were featured in over 1,365 unique G2 reports, earning over 230 Leader badges across various categories.   This recognition is important to showcase our leading products and also to provide the unbiased validation our buyers seek. According to the 2024 G2 Software Buyer Behavior Report, “When researching software, buyers are most likely to trust information from people with similar roles and challenges, and they value transparency above other factors.”  With over 90 million visitors each year and hosting more than 2.6…

Manage the routing of your observability log and event data 

4 min read - Comprehensive environments include many sources of observable data to be aggregated and then analyzed for infrastructure and app performance management. Connecting and aggregating the data sources to observability tools need to be flexible. Some use cases might require all data to be aggregated into one common location while others have narrowed scope. Optimizing where observability data is processed enables businesses to maximize insights while managing to cost, compliance and data residency objectives.  As announced on 29 March 2024, IBM Cloud® released its next-gen observability…

IBM Newsletters

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