Gemfire: How do you automate the download of gemfire management console jar?
search cancel

Gemfire: How do you automate the download of gemfire management console jar?

book

Article ID: 409393

calendar_today

Updated On:

Products

VMware Tanzu Gemfire

Issue/Introduction

Some customers may have a requirement from their security team to automate the download of Gemfire Management Console JAR.

This article describes a way to do this using Pivnet CLI. The example shown is for the Gemfire Management Console JAR, but can be used for other JARs and versions.

Note: As of GemFire 10.2.0 release, Gemfire will include Gemfire Management Console extension within the .tgz

 

 

Resolution

# Prerequisites:

1. Login to https://support.broadcom.com/ and select My Dashboard.
2. Under Quick Links on the right, select Tanzu API Token then click Request New Refresh Token.
3. Install pivnet-cli (see https://github.com/pivotal-cf/pivnet-cli)

 

# Pivnet cli commands:

4. pivnet login --api-token='<the api token from step 2>'
5. pivnet accept-eula -p gemfire-management-console -r 1.4.0
6. pivnet download-product-files -p gemfire-management-console -r 1.4.0 -i $(pivnet product-files -p gemfire-management-console -r 1.4.0 | awk '/jar/{print $2}')

 

# Expected Output:

Downloading 'gemfire-management-console-1.4.0.jar' to 'gemfire-management-console-1.4.0.jar'
 112.99 MiB / 112.99 MiB [==========================================] 100.00% 6s
2025/09/04 12:05:23 Verifying SHA256
2025/09/04 12:05:23 Successfully verified SHA256
2025/09/04 12:05:23 Verifying MD5
2025/09/04 12:05:23 Successfully verified MD5





Note: The manual steps to download and install are documented for Gemfire core libraries and Gemfire Management Console.