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!

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...