Splunk AppDynamics

Java Jboss 5 windows Agent installation

Ahmedkhalil
Communicator

Dears,

May i know please how can i install java agent in jboss 5 that is running in windows as i tried to add it but there is no even logs generated at Log folder 

^ Post edited by @Ryan.Paredez for readability

Labels (1)
0 Karma
1 Solution

Ahmedkhalil
Communicator

Dears,

the issue was that admin was restarting service from windows services terminal but it was not calling run.bat file that I have modified but after I start service from run.bat agent working correctly 

thanks for your help

View solution in original post

Brian_Wheeldon
Contributor

Hi Ahmed,

The fact that the agent generated no logs suggests that the agent was never initiated, which suggests that the problem lies in the JVM startup terms.

The documentation for JBoss and Wildfly Startup Settings say:

"Most issues installing the Java Agent on JBoss result from conflicts between startup arguments. That is, settings you add for the Java Agent may be overridden or conflict in other ways with existing arguments. Such issues are not always easy to detect.

The best way to begin troubleshoot such startup issues is to print and inspect the startup arguments that JBoss actually gets when attempting to start."

The suggested remediation is for Linux, but the same applies in a Windows environment.

A good approach is to print out all the JVM arguments from the script and make sure that everything is there. 

Also check the logmanager configuration as described on the documentation page, as the wrong configuration can cause startup failures.

Regards,

Brian Wheeldon

0 Karma

Ahmedkhalil
Communicator

Dears,

the issue was that admin was restarting service from windows services terminal but it was not calling run.bat file that I have modified but after I start service from run.bat agent working correctly 

thanks for your help

Get Updates on the Splunk Community!

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Index This | What goes away as soon as you talk about it?

May 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

What's New in Splunk Observability Cloud and Splunk AppDynamics - May 2025

This month, we’re delivering several new innovations in Splunk Observability Cloud and Splunk AppDynamics ...