Hello,

Sorry for writing to the dev list - but I could not
find any user list. If it exists - please let me know
and I will move my question over there.

I want to profile a web app on a Tomcat server. 
Here is my configuration:
JDK1.5.0_13
Eclipse3.3.0
Tomcat4.1.36 (yes, it is old, but unfortunately I have
to use this version right now)

I have installed TPTP 4.4 using the Eclipse Update
manager, along with all dependencies (as far as I know
- at least it did not complain about anything)

After that, I have added the following option to the
catalina.bat script:
set CATALINA_OPTS=%CATALINA_OPTS% 
-agentlib:JPIBootLoader=JPIAgent:server=enabled;HeapProf:allocsites=true

When I start Tomcat, I get the following error:
Error occurred during initialization of VM
Could not find agent library on the library path or in
the local directory: JPIBootLoader

I searched online and one of the reasons people were
getting this error was because they did not
configure/install Agent Controller correctly.

I did not install Agent Controller at all, because
according to the latest TPTP docs in Eclipse the agent
is bundled with the TPTP plugin and if I plan to
profile applications locally (which I am) then I don't
need to install/configure anything other than the
Eclipse plugin.

If this is true - what else am I missing?

Also, I could not find any documentation on how to
profile web apps running in Tomcat on JDK1.5 with
Eclipse3.3 - I saw one or two how-to blogs/posts for
the older versions, where you need to do all that
extra setup of the Agent Controller and stuff, but not
the newer one. 

thanks,
Marina



_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev

Reply via email to