Java.lang.IllegalStateException: Version of JAR is Not Matching Expected Range
search cancel

Java.lang.IllegalStateException: Version of JAR is Not Matching Expected Range

book

Article ID: 72516

calendar_today

Updated On:

Products

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

Issue/Introduction

While deploying a Hotfix or Service Pack in the Enterprise Manager, the installer reports the following error:
java.lang.IllegalStateException: Version 10.x.x.x of JAR product/enterprisemanager/plugins/com.wily.introscope.em_10.x.x.jar is not matching expected range from 10.x.x.x to 10.x.x.x

Environment

  • APM 10.x

Resolution

Please follow below steps to address this issue:  

1. Stop:
   - Enterprise Manager (MOM/collector)
   - Webview
   - Workstation

2. Restore the original jar files installed provided with the initial installation of APM.

These are available under the <Em Home>/hotfix/<previous hotfix>" folder. All the files are organized according to the product directory structure.
   - Copy the files manually to the original location.

3. Re-execute the command to apply the new hotfix.
   - If Windows: jre\bin\java -jar <Hotfix jar> 
   - If Unix:        jre/bin/java -jar <Hotfix jar>

4. Start:
   - Enterprise Manager (MOM/collector)
   - Webview
   - Workstation

NOTE: In a MOM failover configuration there is no need to deploy the hotfix or Service Pack to the secondary MOM if both the Primary MOM and Secondary MOM are sharing the EM core directories.