AppD Archive

APM for Java console application

CommunityUser
Splunk Employee
Splunk Employee

Greetings Community,

    I have a question if it's possible to get a deeper look into standalone console Java application, which is executed via CLI (not within a Jboss container)

many thanks,

Irakli

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Irakli,

Yes, we instrument at the JVM level. Thus, a standalone application not running in an application server is completely possible to monitor.

When you start your application add the -javaagent:<agent_home>/javaagent.jar to you startup script.

For example if you application was testapp.jar

java -javaagent:/path/to/javaagent.jar -jar testapp.jar

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hello Frank,

    Many thanks for your support and apology for noobing 🙂 I recognize it's same method as for Jboss server.

For some reason I cannot "star/mark as answer" using any browser on my system due some JS issue, so I would like to second the mentioned above that your reply resolves my request.

Best,

Irakli

0 Karma
Get Updates on the Splunk Community!

Exciting News: The AppDynamics Community Joins Splunk!

Hello Splunkers,   I’d like to introduce myself—I’m Ryan, the former AppDynamics Community Manager, and I’m ...

The All New Performance Insights for Splunk

Splunk gives you amazing tools to analyze system data and make business-critical decisions, react to issues, ...

Good Sourcetype Naming

When it comes to getting data in, one of the earliest decisions made is what to use as a sourcetype. Often, ...