Infrastructure agent - Remote JMX - java.lang.SecurityException: Malformed credentials error
search cancel

Infrastructure agent - Remote JMX - java.lang.SecurityException: Malformed credentials error

book

Article ID: 191521

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

Trying to use the Remote JMX extension of the APM Infrastructure Agent to get JMX metrics from an Axway/ADI instance, running under OpenJDK 11.We are not getting any metrics reported in the investigator and we see the following error in the agent log


5/07/20 01:22:55 PM BST [ERROR] [IntroscopeAgent.JMXClient] Malformed credentials Malformed credentials
5/07/20 01:22:55 PM BST [DEBUG] [IntroscopeAgent.JMXClient] java.lang.SecurityException: Malformed credentials
java.lang.SecurityException: Malformed credentials
 at com.systar.boson.activator.jmx.JMXAuthenticatorWrapper.parseCredentials(JMXAuthenticatorWrapper.java:70)
 at com.systar.boson.activator.jmx.JMXAuthenticatorWrapper.authenticate(JMXAuthenticatorWrapper.java:46)

Environment

Release : 11.1.0, 19.x, 20.x

Component : APM Agents

Cause

Axway/ADI instance, running under OpenJDK 11) required that the connection was setup with credentials

Resolution

The user credentials defined in Axway were added to the bundle.properties for the remote JMX extension using the properties

introscope.agent.remotejmx.system.s1.authentication.username=
introscope.agent.remotejmx.system.s1.authentication.password=