HTTP request are failing using Java Agent
search cancel

HTTP request are failing using Java Agent

book

Article ID: 193328

calendar_today

Updated On:

Products

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

Issue/Introduction

The monitored application HTTP request is failing and the agent logs errors
and NoSuchMethodException on methods getUri() and getMethod() similar to the one below:



[ERROR] [IntroscopeAgent.Apache HTTP Components Client Data Resolver] getHttpMethod() : Unable to get HTTP method


[VERBOSE] [IntroscopeAgent.Agent] 
java.lang.NoSuchMethodException: org.apache.http.message.BasicHttpRequest.getMethod() 

Environment

Release : 10.7.0

Component : APM Agents

Agent Release 10.7.0.197 (Build 992906)

Java Version = 1.8.0_191 ( 64 bit )

It is running on OpenShift  in Linux Env.

Cause

Per Engineering, the version compatibility issue with Apache HTTP API.

Resolution

Engineering has fixed in APM 10.7 HF#66. 

Fixed the version compatibility issue with apache HTTP API to address the potential 
java.lang.NoSuchMethodException on org.apache.http.message.BasicHttpRequest.getURI() 
and org.apache.http.message.BasicHttpRequest.getMethod().

Please open a support case to obtain the APM10.7.0HF66_DE468422. 

Additional Information

Apache HTTP components