views:

22

answers:

1

Greetings,

I'm attempting to profile a J2EE project (EJBs, Servlet, JSP) which is deployed in JBoss Application Server 5.

I would like to find the methods which use the most cpu and memory.

What are the recommended methods and tutorials?

Thanks in advance,

Ken

+1  A: 

Install JBoss Tools in Eclipse. This gives you a button to start the server in profile mode (and to deploy your app to the server).

Another option is to add -agentlib:JPIBootLoader=JPIAgent:server=standalone;CGProf to the startup script of JBoss and attach a standard profiling tool (like TPTP) to the running instance, see Profiling J2SE 5.0 based applications using Eclipse TPTP.

disown