HTTP request are failing using Java Agent
search cancel

HTTP request are failing using Java Agent


Article ID: 193328


Updated On:


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


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() 


Release : 10.7.0

Component : APM Agents

Agent Release (Build 992906)

Java Version = 1.8.0_191 ( 64 bit )

It is running on OpenShift  in Linux Env.


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


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