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.


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

-agentpath:/home/dinuka/jprofiler7/bin/linux-x64/ \


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


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



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


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


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



Then you can see Identity Server is Starting up.


Now JProfiler is connected Successfully


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

    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: Logo

You are commenting using your 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


Get every new post delivered to your Inbox.

Join 31 other followers

%d bloggers like this: