cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Java (Java Agent, Installation, JVM, and Controller Installation)

How can I generate a JavaCore dump on WebSphere Application Server ( kill -3 <PID.) using actions

Ashley.Lewis
Maker

How can I generate a JavaCore dump on WebSphere Application Server ( kill -3 <PID.) using actions

Hi,

 

We would like to generate a JavaCore which is similar to Thread Dumps on our WebSphere Application Servers (v8.5.5) running with the IBM JVM. I have implemented the available action of a Thread Dump to be fired if any hung threads are detected. However, the thread dump that is being captured does not have the complete information that we're looking for ( Stack Trace and full JVM related information)

The usual way the admins generate this information is by running the kill -3 <PID> command against the JVM process ID.

 

Is it possible to implement the same using the AppDynamics Thread Dump action?

 

Kind Regards,

Ashley Lewis



Learn more about me in the Community Member Spotlight Q & A
By replying you agree to the Terms and Conditions of the AppDynamics Community.
How can I generate a JavaCore dump on WebSphere Application Server ( kill -3 <PID.) using actions
1 REPLY 1
Nawaz Ali.Mohammad
AppDynamics Team

Hello Ashley,

 

You may want to first create a Health Rule to detect the hung threads.

Then you may want to create a custom action where you can create a script to trigger the Java Core .
Follow the documentation
 https://docs.appdynamics.com/display/PRO45/Build+a+Custom+Action

https://docs.appdynamics.com/display/PRO45/Remediation+Actions

 

Now you may want to create a policy where you can add the HR created in Health Rule Scope and use the Custom Action in Actions.