-Dcomwily.introscope.agentProfile not working with Agent version 11

book

Article ID: 185323

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 a custom profile in Agent version 11.1. But setting the custom profiles with -Dcomwily.introscope.agentProfile=<path to profile> doesn't work. 

Also tried -DagentProfile=    But this is not supported in version 11.

The only way that I was able to get my custom profiles to work is putting it in /<install path>/agent11.1/wily/releases/11.1/core/config and name it IntroscopeAgent.profile.



But that is a solution only if not needing more than one custom profile on this server.


I am using Agent version 11 to monitor a Tomcat using JDK11. MOM is version 10.7. 

Environment

Release : 11.1.0

Component : APM Agents

Resolution

There was a typo in the switch.

It should have been

-Dcom.wily.introscope.agentProfile

not -Dcomwily.introscope.agentProfile (Note: missing dot after com)