junaidwily

Management Module Extraction

Discussion created by junaidwily Champion on Apr 17, 2018
Latest reply on May 7, 2018 by AY_RBS

I am trying to extract Management Module Supportability.jar file into Supportability.xml using script. and send xml file to different team.

 

#!/bin/sh

cd /opt/CA/APM/10.5.2.24/config/modules
cp Supportability.jar /opt/CA/APM/10.5.2.24/config/modules/jun

/opt/CA/APM/10.5.2.24/jre/bin/java -Xmx128M jar xf /opt/CA/APM/10.5.2.24/config/modules/jun/Supportability.jar Supportability.xml

 

 

I  am not able to  execute my script. getting "Error: Could not find or load main class jar".

Does  anyone has any idea what is missing in my script ?

Outcomes