Apply SOI SO09444 patch while APM agent is running

book

Article ID: 145243

calendar_today

Updated On:

Products

CA Service Operations Insight (SOI)

Issue/Introduction

When APM agent is running on SOI Manager, Patch SO09444 install may fail with below exceptions in soimgr-debug.log

[ServletInit] ?.?(?)  - Initial SessionFactory creation failed: 
ContextException: Error invoking the constructor for the context object: id "com.aprisma.web.security.GlobalAccessPrivilegeManager" at scope "global", class "com.aprisma.spectrum.app.web.security.EEMGlobalAccessPrivilegeManager"
java.lang.VerifyError: Stack map does not match the one at exception handler 62
Exception Details:
  Location:
    com/aprisma/spectrum/app/util/common/Model.<init>(Lcom/aprisma/spectrum/app/util/common/CsModelHandle;Lcom/aprisma/spectrum/app/util/attribute/AttributeColumnMap;)V @62: aload
  Reason:
    Type 'com/aprisma/spectrum/app/util/common/Model' (current frame, locals[0]) is not assignable to uninitializedThis (stack map, locals[0])
  Current Frame:
    bci: @22
    flags: { flagThisUninit }
    locals: { 'com/aprisma/spectrum/app/util/common/Model', 'com/aprisma/spectrum/app/util/common/CsModelHandle', 'com/aprisma/spectrum/app/util/attribute/AttributeColumnMap', 'com/aprisma/spectrum/app/util/common/Model', 'com/wily/introscope/agent/trace/IMethodTracer' }
    stack: { 'java/lang/Throwable' }

Cause

This is due to compatibility issue between OracleJRE in APM agent and OpenJRE in SOI patch, hence the patch installation fails

Environment

Service Operations Insight (SOI) Manager -  4.2

Resolution

1) Back up your current \CA\SOI\ folder on your SOI UI and SOI manager server

2) Go to \CA\SOI\jsw\conf folder on SOI manager machine and edit the following files

    - SAM-IntegrationService.conf and soi-manager.conf file
 
    - Go to the following lines and comment them out (add a # sign in front of the lines)
 
       wrapper.java.additional.30=-javaagent:D:/CA/wily/Agent.jar
       wrapper.java.additional.31=-Dcom.wily.introscope.agentProfile=D:/CA/wily/core/config/IntroscopeAgent.profile
       wrapper.java.additional.32=-Dcom.wily.introscope.agent.agentName=JGAPPCASOI1PV-SOI-SAMIntegration
 
3) Save these files
 
4) On "SOI UI" server, find the \CA\SOI\jsw\conf\soi-user-interface.conf and search for the same above lines to see if they exist, if so then comment them out as well and save the file.

This allows you to install SOI SO09444 patch as we detach EPA agent from SOI configuration files.