Hi Lyall,

Thank you for your interest in TPTP.

I tried reproduce your scenario with the following setup

Host A : Linux RHEL 40, TPTP 431 with jdk 1.5. (
tptp.runtime.allInOne.linux.gtk.x86-TPTP-4.3.1)
Host B : Solaris, RAC 431 with Sun j2sdk1.4.2_08, Tomcat 4.1.36-LE-jdk14 
setup with JAVA_OPTS=-XrunpiAgent:server=enabled to start Tomcat with 
profiling agent.

I started Tomcat server on Host B (startup.sh), and from Host A Eclipse 
workebench attach to the server process listed on Agent tab to attach and 
monitor, profiling data is collected with user interactions on Tomcat 
server.

Instead of using Tomcat, could you please try start a simple HelloWorld on 
the Solaris box with -XrunpiAgent and see if the HelloWorld process is 
listed on the agent tab?

Please continue this thread offline and I can help you setup your machine 
and debug your problem.

Regards
------------------------------------------------------------------------------
Eugene Chan
IBM Toronto Laboratory, Canada





Lyall Ward <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
07/04/2007 08:38 PM
Please respond to
TPTP Tracing and Profiling Tools Project developer discussions 
<tptp-tracing-profiling-tools-dev@eclipse.org>


To
tptp-tracing-profiling-tools-dev@eclipse.org
cc

Subject
[tptp-tracing-profiling-tools-dev] agents list not populating






Hi,

Sorry for using the dev list, but as noted in my reference thread I
haven't found a users list.

My problem is very similar to the issue listed in this thread, however I
am attempting to attach to a process running on a remote machine.
http://www.nabble.com/Unable-to-profile-Tomcat-application-t1924011.html

I am attempting to use tptp.runtime.allInOne.linux.gtk.x86-TPTP-4.3.1
with Sun JVM 1.4.2_14 to profile an application running in tomcat on a
solaris box.

On the solaris box I am running
RAServer 4.3.1.0
Tomcat 4.1.31 with option -XrunpiAgent:server=enabled
Sun JVM 1.4.2_05

The steps I am following are:
1. Launch the RAServer using RAStart.sh
2. Launch tomcat including the -XrunpiAgent:server=enabled option
3. Access the profiling options and begin attaching to a java process,
providing hostname and port.

These 3 steps appear to work correctly. I can check the logs for the
RAServer and see that is has started successfully, I can also see that
the tomcat process has been registered with the server. When I use the
test connection option through eclipse I can also see the the RAServer
has received a connection from a remote client. However testing the
connection multiple times does not seem to create multiple entries in
the log.

When I come to selecting the available agents, however the list does not
populate and attempting to refresh the data has no effect (either on the
agent list displayed in eclipse, or the logs for the RAServer)

Any help would be greatly appreciated.

Thanks,
Lyall.


_______________________________________________
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

_______________________________________________
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