facebook

Eclipse 3.3 TPTP profiling of Tomcat howto?

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #273944 Reply

    Steve Olson
    Member

    Is there a howto someplace that shows how to use TPTP profiling that comes with the new 3.3. stuff, to profile a Tomcat instance started using the Myeclipse tomcat start mechanism. Config isTC 6.0.13, JRE 1.6_01, Eclipse 3.3 and MyEclipse 6.0M1.

    I’m thinking I don’t need the remote agent from TPTP since I’m running and profiling locally, but am not having luck getting a configuration set up where profiling can see the running tomcat process.

    Thanks in advance for any tips/help.

    #273953 Reply

    Loyal Water
    Member

    There is no document that shows how to use TPTP with MyEclipse. But are you getting any errors in the logs after setting up TPTP with MyEclipse ?

    #273981 Reply

    Steve Olson
    Member

    I’m still trying to work it thru as I’m not familiar with TPTP. TPTP 4.4 is installed, and I have added this option to the JDK arguments for my Tomcat 6.0 preferences in the MyEclipse config: -agentlib:JPIBootLoader=JPIAgent:server=enabled;CGProf. I have also added this directory to the library path for Tomcat 6.0 in the Paths tab of the same prefs (this is where tptp put the agent): C:\eclipse\eclipse\plugins\org.eclipse.tptp.platform.ac.win_ia32_4.4.0.v200706020100\agent_controller\bin

    I have to use JVMTI since I’m on JRE 1.6 and JVMPI is not an option.

    With these settings, trying to start Tomcat under Eclipse with the normal MyEclipse start button fails because it can’t find “JPIBootLoader” on the path. I’m looking now to find out what that is – there is no JPIBootLoader dll in the agent’s bin directory, so this must come from elsewhere.

    I’ll post again if I get farther. Thanks!

    #273983 Reply

    Steve Olson
    Member

    Found one more needed lib path for the TPTP 4.4 JVMTI runtime stuff based on searching, but it isn’t sufficient – still looking for more:

    C:\eclipse\eclipse\plugins\org.eclipse.tptp.platform.jvmti.runtime_4.4.0.v200706070100\agent_files\win_ia32

    #273984 Reply

    Steve Olson
    Member

    Oops – I may need to switch gears, based on this post:

    http://dev.eclipse.org/newslists/news.eclipse.tptp/msg03942.html

    If true that means that I can’t yet do the “enabled” functionality, which will prevent me from using the MyEclipse startup for Tomcat I think. The post basically says I’ll have to start Tomcat as a standalone java application and work up a profile runtime config that will make Tomcat happy doing this. Still looking…

    #274044 Reply

    Loyal Water
    Member

    Hi skolson,
    Thanks for keeping me posted on the progress. I would be trying to set TPTP up myself. Ill keep you updated on my findings as well.

    #277000 Reply

    Matt Bucknam
    Participant

    This message has not been recovered.

    #285970 Reply

    benjwarner
    Member

    Just thought I’d report on how I went using TPTP.

    Hope this helps anyone trying to setup TPTP in MyEclipse running tomcat.

    Worked well. Very slow (slower than any other profiling tool I’ve used), but managed to get some profiling data.

    #285991 Reply

    Loyal Water
    Member

    benjwarner,
    Thank you for this information. Im sure this will be very helpful to users trying to setup TPTP with MyEclipse.

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Eclipse 3.3 TPTP profiling of Tomcat howto?

You must be logged in to post in the forum log in