AnsweredAssumed Answered

Passing custom pbd as jvm argument

Question asked by Jaykrishna on Mar 15, 2018
Latest reply on Mar 19, 2018 by Jaykrishna

Hi Team,
We are planning to use a single profile for multiple JVM in Weblogic server. We do not want restrict all the app JVMs to one pbl file (i.e  weblogic-typical.pbl) present in IntroscopeAgent.weblogic.profile file. We want the JVMs to use weblogic-typical.pbl along with custom pbd specific to the app JVM.

So we are contemplating to pass the custom pbd as a JVM parameter in the startup script but using the same profile.
Means all the JVM will have use the same profile but will have their own custom pbd. So that all of them will be able to take the advantage of weblogic-typical.pbl as well.

Let me give you an example of JVM argument we are contemplating to add in the startup script two JVMs present in the same server.

In startWeblogic1.sh

-javaagent:/agent_home/Agent.jar -Dcom.wily.introscope.agentProfile=/agent_home/core/config/IntroscopeAgent.profile -Dcom.wily.introscope.agent.agentName=agent1 -Dcom.wily.introscope.autoprobe.directivesFile=custom1.pbd

In startWeblogic2.sh

-javaagent:/agent_home/Agent.jar -Dcom.wily.introscope.agentProfile=/agent_home/core/config/IntroscopeAgent.profile -Dcom.wily.introscope.agent.agentName=agent2 -Dcom.wily.introscope.autoprobe.directivesFile=custom2.pbd


Cheers
Jay
Cell No:551-263-968

Outcomes