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!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...