AnsweredAssumed Answered

jboss EAP 6 agents

Question asked by wit on Dec 3, 2012
Latest reply on Nov 28, 2013 by dave.richards
we are running jboss EAP 6 on redhat in domain mode and trying to figure out a couple things:

1) how to best load the agent into all of the JVMs. i can get the agent loaded in the domain/host servers by adding it to domain.sh, but the -javaagent item doesn't seem to get passed down. i can add it to server groups by hand-editing domain.xml, but it seems like there must be a better way.

2) how to best do agent naming. in jboss 5, i just added -Dintroscope.agent.agentName=$JBOSSCONF to JAVA_OPTS in run.conf. in domain mode, there doesn't appear to be a script that gets executed when a client jvm gets started, so that doesn't work. can't use jboss.server.name in IntroscopeAgent.profile, since it doesn't seem to get set in time to be available. what are people doing to name their jboss agents?

Outcomes