Can't install APM 10.7 Hotfix 10 on Enterprise Manager
book
Article ID: 106039
calendar_today
Updated On:
Products
CA Application Performance Management Agent (APM / Wily / Introscope)INTROSCOPE
Issue/Introduction
We tried to installed HF10 on Linux and got the following output
$ ./jre/bin/java -jar ./APM10.7.0HF10.jar Initializing hotfix Creating hotfix folder hotfix/10.7.0-HF10 creating directory structure hotfix/10.7.0-HF10 Applying hotfix scenario EM found - proceeding with patching Error while executing the scenario java.lang.NumberFormatException: For input string: "0_sp" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.parseInt(Integer.java:615) at com.ca.fix.Version.(Version.java:33) at com.ca.fix.apm.util.VerifyJarVersion.verifyJarVersionRange(VerifyJarVersion.java:52) at com.ca.fix.apm.hotfix.Hotfix.emHotfix(Hotfix.java:451) at com.ca.fix.apm.hotfix.Hotfix.scenario(Hotfix.java:116) at com.ca.fix.HotfixBase.apply(HotfixBase.java:89) at com.ca.fix.HotfixBase.execute(HotfixBase.java:61) at com.ca.fix.apm.hotfix.Hotfix.main(Hotfix.java:74) Rolling back the scenario deleting folder hotfix/10.7.0-HF10 Hotfix 10.7.0-HF10 was rolled back successfully
and the hotfix is not applied
Environment
APM 10.7 on Linux
Cause
The hotfix installer checks through the jars that are present for versions that do not fit with it it's permitted range if a mismatch is found the hotfix does not apply.
The check is done by looking at the Bundle_version value in the META-INF\MANIFEST.MF file in the existing jars for hf10 teh range that is acceptable is 10.7.0.45 -> 10.7.0.98.
In this case one of the reported versions was 10.7.0.0_sp
Resolution
Used the following shell script to help identify problem jar file in the <EM_HOME>/product/enterprisemanager/plugins folder
for i in `ls com.ca*jar com.wily*jar` do echo $i jar xf $i META-INF/MANIFEST.MF grep undle-Vers META-INF/MANIFEST.MF rm META-INF/MANIFEST.MF done
This identified fileĀ com.wily.intrsocope.em.client_10.7.0.jar was the cause and this had come from a test fix - replaced with GA version and installer ran through ok