APM MoM XML ERRORs in Logs - [ERROR] [TimerBean] [Manager] XML Problem while parsing at line 95 and column 86: cvc-complex-type.2.4.a: Invalid content was found starting with element 'agent-cluster'. One of '{metric-specifier}' is expected.
search cancel

APM MoM XML ERRORs in Logs - [ERROR] [TimerBean] [Manager] XML Problem while parsing at line 95 and column 86: cvc-complex-type.2.4.a: Invalid content was found starting with element 'agent-cluster'. One of '{metric-specifier}' is expected.

book

Article ID: 258899

calendar_today

Updated On:

Products

CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

I am seeing these ERRORs after installing APM v10.8.0
[ERROR] [TimerBean] [Manager] XML Problem while parsing at line 95 and column 86: cvc-complex-type.2.4.a: Invalid content was found starting with element 'agent-cluster'. One of '{metric-specifier}' is expected.
 [ERROR] [TimerBean] [Manager] Caught exception while parsing configuration of agent clusters, org.xml.sax.SAXParseException; lineNumber: 95; columnNumber: 86; cvc-complex-type.2.4.a: Invalid content was found starting with element 'agent-cluster'. One of '{metric-specifier}' is expected.
 [ERROR] [TimerBean] [Manager] XML Problem while parsing at line 95 and column 86: cvc-complex-type.2.4.a: Invalid content was found starting with element 'agent-cluster'. One of '{metric-specifier}' is expected.
 [ERROR] [TimerBean] [Manager] Caught exception while parsing configuration of agent clusters, org.xml.sax.SAXParseException; lineNumber: 95; columnNumber: 86; cvc-complex-type.2.4.a: Invalid content was found starting with element 'agent-cluster'. One of '{metric-specifier}' is expected.
 [ERROR] [TimerBean] [Manager] XML Problem while parsing at line 95 and column 86: cvc-complex-type.2.4.a: Invalid content was found starting with element 'agent-cluster'. One of '{metric-specifier}' is expected.
 [ERROR] [TimerBean] [Manager] Caught exception while parsing configuration of agent clusters, org.xml.sax.SAXParseException; lineNumber: 95; columnNumber: 86; cvc-complex-type.2.4.a: Invalid content was found starting with element 'agent-cluster'. One of '{metric-specifier}' is expected.
1/31/23 10:55:01.648 AM EST [ERROR] [TimerBean] [Manager] XML Problem while parsing at line 95 and column 86: cvc-complex-type.2.4.a: Invalid content was found starting with element 'agent-cluster'. One of '{metric-specifier}' is expected.
1/31/23 10:55:01.648 AM EST [ERROR] [TimerBean] [Manager] Caught exception while parsing configuration of agent clusters, org.xml.sax.SAXParseException; lineNumber: 95; columnNumber: 86; cvc-complex-type.2.4.a: Invalid content was found starting with element 'agent-cluster'. One of '{metric-specifier}' is expected.
1/31/23 10:55:31.648 AM EST [ERROR] [TimerBean] [Manager] XML Problem while parsing at line 95 and column 86: cvc-complex-type.2.4.a: Invalid content was found starting with element 'agent-cluster'. One of '{metric-specifier}' is expected.
1/31/23 10:55:31.648 AM EST [ERROR] [TimerBean] [Manager] Caught exception while parsing configuration of agent clusters, org.xml.sax.SAXParseException; lineNumber: 95; columnNumber: 86; cvc-complex-type.2.4.a: Invalid content was found starting with element 'agent-cluster'. One of '{metric-specifier}' is expected.
1/31/23 10:56:01.648 AM EST [ERROR] [TimerBean] [Manager] XML Problem while parsing at line 95 and column 86: cvc-complex-type.2.4.a: Invalid content was found starting with element 'agent-cluster'. One of '{metric-specifier}' is expected.
1/31/23 10:56:01.648 AM EST [ERROR] [TimerBean] [Manager] Caught exception while parsing configuration of agent clusters, org.xml.sax.SAXParseException; lineNumber: 95; columnNumber: 86; cvc-complex-type.2.4.a: Invalid content was found starting with element 'agent-cluster'. One of '{metric-specifier}' is expected.

Environment

Release : 10.8

Resolution

The following entry does not have a closing to <agent-cluster>.  You need to add </agent-cluster> to this entry.

        <agent-cluster name="OracleEBS_INC_HQ CEM" domain="SuperDomain" tgtDomain="OracleEBS_INC_HQ">
                <agent-specifier>.*\|CEM\|TESS Agent\|OracleEBS_INC_HQ</agent-specifier>
                <metric-specifier>Business Service\|OracleEBS_INC_HQ.*\|Business Transactions\|.*</metric-specifier>