Hi Jay,
Yes, this approach can be used to override specific properties in the IntroscopeAgent.profile, for a specific agent instance.
The correct argument should be:
-Dintroscope.autoprobe.directivesFile=
Also, I believe it will overwrite the entire value of this property in the profile, instead of appending to the existing value. So for example if you have this defined in the shared IntroscopeAgent.profile:
introscope.autoprobe.directivesFile=webLogic.pbl
and add the following to the JVM argument:
-Dintroscope.autoprobe.directivesFile=custom.pbd
only the custom.pbd will be loaded by the agent in this case.
For more details, please see:
Java Agent Properties - CA Application Performance Management - 10.7 - CA Technologies Documentation
Note: When you use this command to override hot-deployable properties, the property is no longer hot deployable. If you modify the property at a later time in the configuration file, Workstation or WebView issue a warning message. The message states that you modified an overridden property and your change has no effect. To avoid this situation, remove the override command before modifying the property in a configuration file.
Hope this helps.
Thanks,
Aryne