Reverting Java Buildpack Version for cflinuxfs3 After Installing Extended App Support Tile
search cancel

Reverting Java Buildpack Version for cflinuxfs3 After Installing Extended App Support Tile

book

Article ID: 444761

calendar_today

Updated On:

Products

VMware Tanzu Application Service VMware Tanzu Platform - Cloud Foundry

Issue/Introduction

After installing or upgrading the Extended App Support Tile in VMware Tanzu Platform for Cloud Foundry (TPCF), the default Java buildpack for the cflinuxfs3 stack is automatically updated (e.g., to version 4.93).

Applications that rely on older Java buildpack versions (e.g., version 4.87 or earlier) for specific cipher suite support or legacy configurations may fail to function correctly or experience connectivity issues.

Environment

 

Cause

The Extended App Support Tile includes bundled versions of the Java buildpack. During installation, the tile replaces the existing java_buildpack_offline entry for the cflinuxfs3 stack with the newer version included in the tile metadata.

Resolution

To revert to a specific version of the Java buildpack (such as 4.86) for the cflinuxfs3 stack, follow these steps:

1. Obtain the Buildpack

Download the desired offline buildpack ZIP file (e.g., java-buildpack-offline-v4.86.0.zip) from the Broadcom Support PortalNote: The same offline buildpack binary generally supports both cflinuxfs3 and cflinuxfs4 stacks.

2. Identify Current Buildpack Configuration

Log in via the Cloud Foundry Command Line Interface (cf CLI) and list the current buildpacks:

cf buildpacks
 

Note the name (usually java_buildpack_offline) associated with the cflinuxfs3 stack.

3. Update the Buildpack

Run the update-buildpack command to point the existing buildpack name to the older version for the specific stack:

cf update-buildpack java_buildpack_offline -p /path/to/java-buildpack-offline-v4.86.0.zip -s cflinuxfs3

 

4. Verify the Change

Verify that the version and stack are correctly updated in the buildpack list:

cf buildpacks

 

5. Restage Applications

For the changes to take effect on running applications, you must restage them:

cf restage <app-name>

 

 

Additional Information

Be aware that executing Apply Changes on the Extended App Support Tile will revert your settings. To preserve your changes, ensure you uncheck Java Buildpack under Version Selection in the tile configuration.