Disabling SOAP/HTTP header injection in Java and .NET Agents to prevent crashes or malfunction

book

Article ID: 6603

calendar_today

Updated On:

Products

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

Issue/Introduction

 An unwanted SOAP or HTTP header is added to the webservice call for a newly deployed application managed by the APM Java/.Net agent.

Environment

Introscope Agent from 9.6 onwards

Resolution

Per the 9.x and 10x CA APM for SOA Implementation Guide, if the CA APM SOA Extension is installed, then the SOAP header insertion is enabled by default in Java and .NET Agents.

To disable the SOAP header insertion, follow these instructions:

JAVA AGENT:
- Stop the JVM
- Set below properties to false in the <Agent_Home>/core/config/IntroscopeAgent.profile file:
com.wily.introscope.agent.soapheaderinsertion.enabled=false
com.wily.introscope.agent.soapheaderread.enabled=false
com.wily.introscope.agent.httpheaderinsertion.enabled=false
com.wily.introscope.agent.httpheaderread.enabled=false
-If using Browser Agent (BRTM) ensure that automatic snippet injection is disabled in the agent profile i.e.
introscope.agent.browseragent.autoInjectionEnabled=false
- Start the JVM


.NET AGENT:
- Stop the .Net application or IIS
- Under your Webservices.pbd (<Agent_Home>/core/config/) please comment the below lines:
#TurnOn: WebServicesCorrelationTracing
#TurnOn: WCFRuntimeTracing
- If using MVC applications in default-typical.pbl (<Agent_Home>/core/config/) comment this line:
#MVC.pbd 
- If using Browser Agent (BRTM) ensure that automatic snippet injection is disabled in the agent profile i.e.
introscope.agent.browseragent.autoInjectionEnabled=false
- Start the .Net Agent or IIS

 

Additional Information

About SOA-Specific Agent Properties