The DevTest Java Agent can coexist with the Wily Introscope Agent.
The Wily Introscope Agent is a pure Java agent and is typically configured with the -javaagent syntax.
If you are using the -javaagent syntax for both agents, specify the DevTest Java Agent before the Wily Introscope Agent.
For a typical application server or container, the following example is appropriate:
set JAVA_OPTS=-javaagent:E:\DevTest\agent\InsightAgent.jar=url=tcp://localhost:2009,name=DevTestAgent -javaagent:e:/wily/Agent.jar %JAVA_OPTS%
This example is also appropriate:
set JAVA_OPTS=-javaagent:e:/wily/Agent.jar %JAVA_OPTS% set JAVA_TOOL_OPTIONS=-javaagent:E:\DevTest\agent\InsightAgent.jar=url=tcp://localhost:2009,name=DevTestAgent
However, this example is incorrect:
set JAVA_OPTS=-javaagent:e:/wily/Agent.jar -javaagent:E:\DevTest\agent\InsightAgent.jar=url=tcp://localhost:2009,name=DevTestAgent %JAVA_OPTS%
Remember to perform the following somewhere along the line:
-Dcom.wily.introscope.agentProfile=e:/wily/core/config/IntroscopeAgent.profile
Copyright © 2014 CA Technologies.
All rights reserved.
|
|