AppD Archive

Hoe to install java agent in jboss 4.x ?

CommunityUser
Splunk Employee
Splunk Employee

I am trying to install java agent for jboss-4.2.3.GA, but I am not ableto configure com.sigularity and logmanager packages. Can anyone help me out with this?

This is the error I am getting after including java-agent.jar in run.bat file:-

Could not start Java Agent, Disabling !!!!!com.singularity.ee.agent.appagent.kernel.spi.c: Could not initialize configuration ,Please check log files

0 Karma
1 Solution

Arun_Dasetty
Super Champion

Hi,

We can add com.singularity using -Djboss.modules.system.pkgs=org.jboss.byteman,com.singularity,org.jboss.logmanager jvm arg before -javaagent as part of startup scripts, but we see the error you listed looks raised due to missing agent config details, 

Can you please confirm whether contorller-host, port, application-name, tier-name, node-name (and access-key(if 4.1.x agent) ) on <agent_dir>/conf/controller-info.xml and <agent_dir>/<ver>/conf/controller-info.xml file and see how it goes after providing if not ? restart jvm if agent config details updated

refer doc https://docs.appdynamics.com/display/PRO39/JBoss+and+Wildfly+Startup+Settings

Regards,

Arun

View solution in original post

0 Karma

Arun_Dasetty
Super Champion

Hi,

We can add com.singularity using -Djboss.modules.system.pkgs=org.jboss.byteman,com.singularity,org.jboss.logmanager jvm arg before -javaagent as part of startup scripts, but we see the error you listed looks raised due to missing agent config details, 

Can you please confirm whether contorller-host, port, application-name, tier-name, node-name (and access-key(if 4.1.x agent) ) on <agent_dir>/conf/controller-info.xml and <agent_dir>/<ver>/conf/controller-info.xml file and see how it goes after providing if not ? restart jvm if agent config details updated

refer doc https://docs.appdynamics.com/display/PRO39/JBoss+and+Wildfly+Startup+Settings

Regards,

Arun

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Thanks For the solution.

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...