Agent 10.1 fails to connect to the Enterprise Manager

book

Article ID: 35452

calendar_today

Updated On:

Products

APP PERF MANAGEMENT CA Application Performance Management Agent (APM / Wily / Introscope) CUSTOMER EXPERIENCE MANAGER INTROSCOPE

Issue/Introduction

Summary

You configure the Agent with a Jetty appserver and OpenJDK Server VM 1.6.0_23-ea in Unix. During the agent startup the Agent fails to connect to the Enterprise Manager:

[WARN] [IntroscopeAgent.ConnectionThread] Failed to connect to the Introscope Enterprise Manager at <your_em>:5001,com.wily.isengard.postofficehub.link.net.DefaultSocketFactory (29).

[VERBOSE] [IntroscopeAgent.ConnectionThread] Attempting to connect to Introscope Enterprise Manager <your_em>:5001,com.wily.isengard.postofficehub.link.net.DefaultSocketFactory (30).

[WARN] [IntroscopeAgent.ConnectionThread] Failed to connect to the Introscope Enterprise Manager at <your_em>:5001,com.wily.isengard.postofficehub.link.net.DefaultSocketFactory (30).

After enabling DEBUG logging, you see the below ERROR

[DEBUG] [IntroscopeAgent.Agent]
java.lang.NoSuchMethodError: java.net.ManagedSocketOutputStreamAPSIHighPerformanceNew: method <init>(Ljava/net/PlainSocketImpl;)V not found
at java.net.PlainSocketImpl.getOutputStream(PlainSocketImpl.java:426)
at java.net.Socket$3.run(Socket.java:839)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.Socket.getOutputStream(Socket.java:836)
...

Instructions

The problem is due to an incompatibility with the OpenJDK version. To workaround the problem use one of the below options:


Option A) Disable socket instrumentation

1. Open the in toggles-typical.pbd or toggles-full.pbd

2. Disable socket tracing as below:

#TurnOn: SocketTracing


Option B) Instruct the agent to explicitly use the java6socket.pbd

- Open the AGENT_HOME/core/config/default-typical.pbl 

- Disable the java socket pbd definition as below:

#java${JVMCOMPATIBILITY}socket.pbd

- Add the below line:
java6socket.pbd

 

Additional Information

APM Compatibility Guide:

http://www.ca.com/us/support/ca-support-online/product-content/status/compatibility-matrix/application-performance-management-compatibility-guide.aspx

 

Environment

Release: CEMUGD00200-10.1-Introscope to CA Application-Performance Management-Upgrade Mai
Component: