APM - How to clear the Introscope OSGI cache?
search cancel

APM - How to clear the Introscope OSGI cache?

book

Article ID: 100299

calendar_today

Updated On:

Products

DX Application Performance Management CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

When do I need to clear the osgi cache?

- If you have received a debug jar for Broadcom Support to investigate and troubleshoot a problem.
- OSGI cache corruption due to an expected system restart or crash, ungraceful EM shutdown, incomplete upgrade 

How to clear the Introscope EM OSGI cache?

Environment

DX APM 10.x

Resolution


Introscope Enterprise Manager


1. Stop the Introscope Enterprise Manager (EM)

2. Go to <EM HOME>/product/enterprisemanager/configuration/

- For APM 10.8 SP1 and onward version : Delete all files *except* the org.eclipse.equinox.simpleconfigurator folder and config.ini

IMPORTANT:
The org.eclipse.equinox.simpleconfigurator directory contains definition of what OSGi bundles to load and start and when. This should be retained and should not be deleted.

In the event it is also deleted,  we can restore functioning by running a command from the EM HOME folder :
.\jre\bin\java -jar .\tools\osgi-configurator.cli.jar -d .\product\enterprisemanager -b .\config\bundles-configuration.txt

- For  APM 10.8.0 HF#1,2, 3, 10.7 and below versions: Delete all files except the config.ini 

3. go to <EM HOME>/work - remove all files 

4. Start the Introscope Enterprise Manager 

NOTE: If you are using a cluster environment, you need to apply this recommendation in all the Introscope EMs (MOM and collectors)

 

Introscope Webview

1. Stop the Introscope WebView

2. Go to <WEBVIEW-HOME>/product/webview/configuration/' 

- For APM 10.8 SP1 and onward version : Delete all files *except* the org.eclipse.equinox.simpleconfigurator folder and config.ini

IMPORTANT:
The org.eclipse.equinox.simpleconfigurator directory contains definition of what OSGi bundles to load and start and when. This should be retained and should not be deleted.

In the event it is also deleted,  we can restore functioning by running a command from the EM HOME folder:
.\jre\bin\java -jar .\tools\osgi-configurator.cli.jar -d .\product\enterprisemanager -b .\config\bundles-configuration.txt

- For  APM 10.8.0 HF#1,2, 3, 10.7 and below versions: Delete all files except the config.ini 

3. go to <WEBVIEW-HOME>/work - remove all files 

4. Start the Introscope WebView



Introscope Workstation


If you are using workstation standalone version (.exe) 

1. Stop the Introscope Workstation

2. Go to <WORKSTATION-HOME>/product/workstation/configuration/' folder:

- For APM 10.8 SP1 and onward version : Delete all files *except* the org.eclipse.equinox.simpleconfigurator folder and config.ini

IMPORTANT:
The org.eclipse.equinox.simpleconfigurator directory contains definition of what OSGi bundles to load and start and when. This should be retained and should not be deleted.

In the event it is also deleted,  we can restore functioning by running a command from the  EM HOME folder :
.\jre\bin\java -jar .\tools\osgi-configurator.cli.jar -d .\product\enterprisemanager -b .\config\bundles-configuration.txt

- For  APM 10.8.0 HF#1,2, 3, 10.7 and below versions: Delete all files except the config.ini 

3. Start the Introscope Workstation
 

Additional Information