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

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...