APM 10.7 - Manual Steps to implement AdoptOpenJDK

book

Article ID: 207710

calendar_today

Updated On:

Products

CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

Manual Steps to implement AdoptOpenJDK : 

Cause

Documentation

Environment

Release : 10.7.0

Component : EM, Webview, Workstation 

Resolution

Manual Steps to  introduce  AdoptOpenJDK:

1. Stop Enterprise Manager:

cd <EM_HOME>/bin

./EMCtrl.sh stop

2. Stop WebView:

cd <EM_HOME>/bin

./WVCtrl.sh stop

3. Copy the contents of the jre folder in the <EM_HOME> directory to a new folder jreBackup

4. Delete all the contents inside the jre folder in the <EM_HOME> directory

5. Download the JRE of AdoptOpenJDK (u222-b10) and put its contents to the jre folder in the <EM_HOME> directory

6. Start Enterprise Manager and WebView:

cd <EM_HOME>/bin

./EMCtrl.sh start

cd <EM_HOME>/bin

./WVCtrl.sh start

7. Verify that AdoptOpenJDK is being used by checking the logs:

In IntroscopeEnterpriseManager.log you should see something like the following:

9/16/19 03:22:23.391 PM CEST [INFO] [main] [Manager] Introscope Enterprise Manager Release 10.7.0.220 (Build 994002)

9/16/19 03:22:23.396 PM CEST [INFO] [main] [Manager] Using Java VM version "OpenJDK 64-Bit Server VM 1.8.0_222" from AdoptOpenJDK

In IntroscopeWebView.log you should see something like the following:

9/16/19 03:23:34.127 PM CEST [INFO] [WebView] Introscope WebView Release 10.7.0.220 (Build 994002)

9/16/19 03:23:34.128 PM CEST [INFO] [WebView] Using Java VM version "OpenJDK 64-Bit Server VM 1.8.0_222" from AdoptOpenJDK

8. If you have installed Workstation separately, follow the same process as above:

make sure Workstation is not running

create a backup of its jre folder

copy the contents of the JRE of AdoptOpenJDK into the jre folder of Workstation

start workstation

9. If you are accessing Workstation through Webstart and if you are using AdoptOpenJDK in the machine that you are accessing Workstation, then the Workstation will fail to start.

You have 2 options:

a) According to official AdoptOpenJDK migration guide (https://adoptopenjdk.net/migration.html), they have replacement for the JNLP runner at https://adoptopenjdk.net/icedtea-web.html, you would have to download it if you would like to use AdoptOpenJDK on your client machine

b) Download the full installer for Workstation.