RSS

How to attach JProfiler with WSO2 Products

05 Mar

JProfiler is very useful software for developers to monitor the memory usage, CPU usage, etc. of Java program. With in this post I’ll explain how to attached the JProfiler to the Carbon products. I’ll take latest Identity server 4.1.0 version as a Carbon product.

1. First thing is you need to download the JProfiler and install in to your machine. I have downloaded the JProfiler and installed in the following location.

/home/dinuka/jprofiler7/

2. Then you have to put the following line into the wso2server.sh file located at $IS_HOME/repository/bin/

-agentpath:/home/dinuka/jprofiler7/bin/linux-x64/libjprofilerti.so=port=8849 \

is

3.Now go to $IS_HOME/repository/bin and start the wso2server.sh

is

You can see Its waiting for connection from JProfiler.

4. Go to the location of JProfiler “/home/dinuka/jprofiler7/bin” and run the “jprofiler” file to start the JProfiler

is

is

Now go to Session->Start Center and select the tab “New Session” then click New Session

is

Select “Attach to Profiled JVM (local or remote)” and fill the details of Identity Server then click ok

is

5. You can select one of the following categories (Instrumentation or Sampling)

is

is

Then you can see Identity Server is Starting up.

is

Now JProfiler is connected Successfully

is

About these ads
 
1 Comment

Posted by on March 5, 2013 in Identity Server, java, Other, wso2

 

Tags: , ,

One response to “How to attach JProfiler with WSO2 Products

  1. buy twitter followers.org

    March 7, 2014 at 8:03 am

    ңеllo There. I fouոd your blog using msn. This is an extremely smartly writen аrtiϲle.
    I’ll bе sure to Ьookmark it and return to read extra of yor helpful info.
    Thanks for the post. I’ll certaiոly return.

     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

%d bloggers like this: