AnsweredAssumed Answered

How to add  JVM startup parameters for  Custom Process Name for Java Agent ?

Question asked by shamal96 on Aug 11, 2015
Latest reply on Aug 12, 2015 by shamal96

Requirement:  Need to assign  Custom Process Name  from JVM startup parameters overriding Agent profile parameters

 

introscope.agent.customProcessName

introscope.agent.defaultProcessName

 


Test Case : Tomcat Java Agent  [9.6 V windows]

 

Added  following in jvm startup  [one at a time] 

 

-Dcom.wily.introscope.agent.customProcessName=ServiceName1

or

-Dcom.wily.introscope.agent.defaultProcessName=ServiceName1

 

observation:

 

a. agent.log shows  it eventually picks processname from agent profil

e

8/10/15 12:55:25 PM PDT [INFO] [IntroscopeAgent.Properties] com.wily.introscope.agent.customProcessName=Servicename1

...

....

8/10/15 12:55:25 PM PDT [INFO] [IntroscopeAgent.Properties] introscope.agent.customProcessName=NotService1

 

b. JVM process does show    java .... -Dcom.wily.introscope.agent.customProcessName=ServiceName1

 

c.

remming out followings  in agent profile

 

introscope.agent.customProcessName

introscope.agent.defaultProcessName

 

defaults to Agent as processname.

 

 

 

 

Thanks

 

Santosh

Outcomes