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!

Get Schooled with Splunk Education: Explore Our Latest Courses

At Splunk Education, we’re dedicated to providing incredible learning experiences that cater to every skill ...

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...