I’m attempting to profile a Java EE 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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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;CGProfto 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.