Interview Question in JBoss


 

Interview Question :: How do you monitor JBoss and detect the bottleneck of an application?

How do you monitor JBoss and detect the bottleneck of an application?

by ksk
VoteNowAnswers to "How do you monitor JBoss and detect the bottleneck of an application?"
The first step is to measure the different components of your app to see where the degradation is.  Is it an external resource (database, message server, etc.)?  Is it internal?  Where is the app spending all its time?
 
So the first step could be to to use JBoss JMX agents and monitor the components deployed to the application server. Once it's clear which component or library takes most of the time or most of resource you can use a more specialized tool like JProbe and examine the single method or the single objects loaded in memory.
by ksk