Spring extension will not load; we are receiving a syntax error

book

Article ID: 195172

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

We were presented with the following error messages in the IntroscopeAgent.log file:

[INFO] [IntroscopeAgent.Agent] Begin re-loading PBDs after extension failure.
[INFO] [IntroscopeAgent.Agent] PBD list: [spring, CloudProvider]
[INFO] [IntroscopeAgent.Agent] Reloading Directives
[WARN] [IntroscopeAgent.Agent] Cannot load permanent dynamic instrumentation
[ERROR] [IntroscopeAgent.Agent] Introscope AutoProbe will not run because the provided directives files are not valid: (/SY4G/uss/WebSphere/wily/IZ/extensions/spring/directives/toggles.pbd:1) Syntax Error: Unsupported character "ƒ".
[INFO] [IntroscopeAgent.Agent] Begin Unloading Extensions: [AwsTracing, spring, struts]
[INFO] [IntroscopeAgent.Agent] PBD list: []
[INFO] [IntroscopeAgent.Agent] Reloading Directives
[WARN] [IntroscopeAgent.Agent] Cannot load permanent dynamic instrumentation
[INFO] [IntroscopeAgent.Agent] AutoProbe has reloaded all directive configuration.  This is because a change to a directive configuration file was detected.
[INFO] [IntroscopeAgent.Agent] Detected Changed Directives
[INFO] [IntroscopeAgent.Agent] Processing all classes for Dynamic Instrumentation.
[INFO] [IntroscopeAgent.Agent] Finished Processing All classes for Dynamic Instrumentation.
[INFO] [IntroscopeAgent.Agent] Unloading Jars
[INFO] [IntroscopeAgent.Agent] Unloading extension classloader :[email protected]b037937
[INFO] [IntroscopeAgent.Agent] Closing class loader for extension: spring
[INFO] [IntroscopeAgent.Agent] Unloaded extension:spring
[INFO] [IntroscopeAgent.Agent] Unloading Properties
[INFO] [IntroscopeAgent.Agent] Extension Profile Names Remove:[AwsTracing, spring, struts]
[INFO] [IntroscopeAgent.Agent] Extension Profile Names Remove: AwsTracing
[INFO] [IntroscopeAgent.Agent] Extension Profile Names Remove: spring
[INFO] [IntroscopeAgent.Agent] Extension Profile Names Remove: struts
[INFO] [IntroscopeAgent.Agent] re-loading configuration resource /products/wily/V1073/IZ/wily/core/config/IntroscopeAgent_IZSR09.profile
[INFO] [IntroscopeAgent.Agent] re-loading configuration resource /SY4G/uss/WebSphere/wily/IZ/extensions/Extensions.profile
[INFO] [IntroscopeAgent.Agent] re-loading configuration resource /SY4G/uss/WebSphere/wily/IZ/extensions/CloudProvider/bundle.properties
[INFO] [IntroscopeAgent.Agent] Unloaded these properties: [extension.spring.url.normalizer.id.replacingFormat, extension.spring.url.normalizer.id.regex, extension.spring.url.normalizer.keys, extension.spring.connectionurl.enabled]
[INFO] [IntroscopeAgent.Agent] extension.spring.url.normalizer.id.replacingFormat = <id>
[INFO] [IntroscopeAgent.Agent] extension.spring.url.normalizer.id.regex = ([A-Fa-f]+[0-9][A-Fa-f0-9\-]*)|([0-9]+[A-Fa-f][A-Fa-f0-9\-]*)|([0-9\-]+)
[INFO] [IntroscopeAgent.Agent] extension.spring.url.normalizer.keys = id,number
[INFO] [IntroscopeAgent.Agent] extension.spring.connectionurl.enabled = false
[INFO] [IntroscopeAgent.ExtensionDeployer] Notified of extension spring unloaded.
[INFO] [IntroscopeAgent.Agent] Begin re-loading PBDs after extension failure.
[INFO] [IntroscopeAgent.Agent] PBD list: [CloudProvider]

[ERROR] [IntroscopeAgent.Agent] Introscope AutoProbe will not run because the provided directives files are not valid: (/SY4G/uss/WebSphere/wily/IZ/extensions/spring/directives/spring-mvc.pbd:1) Syntax Error: Unsupported character "ƒ".

Environment

Release : 10.7.0  z/OS

Component : APM Agents

Resolution

It was found that three Spring Agent extension pbd files were still in ASCII mode and not in EBCDIC mode, even though customer downloaded it from the support site as shown below.

The three pbd's in question are spring-mvc.pbd, toggles.pbd, spring-ws.pbd

If you encounter this issue, please open a support ticket and request Hotfix #69 for 10.7 SP3.