Hi

I found my problem. It was this @[EMAIL PROTECTED]@ Windows-firewall. The TPTP-Agent is opening a connection back to Eclipse. Because I'm not allowed to disable the firewall on my computer I changed the serviceconfig.xml of the agent and set:
isDataMultiplexed="true" in the AgentControllerConfiguration.
Now it's working like a charm :-)

But thanks for all the information and links anyway...

Daniel


Eugene Chan wrote:

Hi.

Would you please give me more information on your scenario? I've run some remote profiles (launch and attach) from a Windows 2000 machine on a RHEL 4.0 machine and they are running fine with the TPTP 4.3 GA build.

Drivers that I am using:
Windows workbench all-in-one > http://www.eclipse.org/downloads/download.php?file=/tptp/4.3.0/TPTP-4.3.0-200611160100D/tptp.runtime.allInOne.win32.win32.x86-TPTP-4.3.0.zip Windows-IA32 RAC > http://www.eclipse.org/downloads/download.php?file=/tptp/4.3.0/TPTP-4.3.0-200611160100D/agntctrl.win_ia32-TPTP-4.3.0.zip Linux-IA32 RAC > http://www.eclipse.org/downloads/download.php?file=/tptp/4.3.0/TPTP-4.3.0-200611160100D/tptpdc.linux_ia32-TPTP-4.3.0.zip

I started a Java process on the Linux box with profiling agent (-XrunpiAgent) and attach to the agent from the Windows workbench, monitoring started and profiling data is collected.

We can take this off-line and work on your scenarios.

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




*Vit Timchishin <[EMAIL PROTECTED]>*
Sent by: [EMAIL PROTECTED]

12/13/2006 10:53 AM
Please respond to
TPTP Tracing and Profiling Tools Project developer discussions <tptp-tracing-profiling-tools-dev@eclipse.org>


        
To
TPTP Tracing and Profiling Tools Project developer discussions <tptp-tracing-profiling-tools-dev@eclipse.org>
cc
        
Subject
Re: [tptp-tracing-profiling-tools-dev] not receiving any data from remote tomcat


        





Hello.

It's the very same problem I've reported ~1.5 month ago. I could not
solve it.
It has nothing (for me) to do with "Server" profiling. It's "Remote
attach" profiling that don't work.

Eugene Chan wrote:
 >
 > Hi Daniel,
 >
 > Thanks for your interest in TPTP.
 >
 > It sounds to me that you may not have the correct profiling filter
 > setup for your profile session. In your profile launch configuration
 > setup, please make sure your profiling filter includes the package and
 > resources that you are targeting to profile.
 >
 > For details about how to _Specifying profiling criteria._
> <http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.tptp.platform.%20doc.user/tasks/tefilter.htm>
 > , please see >
> http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.tptp.platform.%20doc.user/tasks/tefilter.htm
 >
> > For detail information on how to profile on server, please check out a
 > TPTP webcast (5 mins) >
> http://www.eclipse.org/tptp/home/downloads/quicktour/v43/WTP_viewlet20061206/WTP_viewlet20061206_viewlet_swf.html
 >
 > or, _An introduction to Profile on Server_
> <http://www.eclipse.org/tptp/home/documents/tutorials/profileOnServer/TPTP-WTP.html> > (http://www.eclipse.org/tptp/home/documents/tutorials/profileOnServer/TPTP-WTP.html)
 >
 >
 > If you have any further question, please do not  hesitate to let me know.
 >
 > Regards
> ------------------------------------------------------------------------------
 > Eugene Chan
 > IBM Toronto Laboratory, Canada
 >
 >
 >
 > *Daniel Schaedler <[EMAIL PROTECTED]>*
 > Sent by: [EMAIL PROTECTED]
 >
 > 12/12/2006 04:04 AM
 > 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] not receiving any data from > remote tomcat
 >
 >
 >
> >
 >
 >
 >
 >
 > Hi
 >
 > I want to profile a servlet in my tomcat5.5. For this I set-up TPTP in
 > Eclipse. I tested it with a local app and it is working fine.
 >
 > The tomcat is running on a remote machine (either Solaris or Linux).
 > There I installed the Agent, started the agent, started tomcat.
 > Then created a new profiling-profile in Eclipse. The Agent is visible
 > with the procID from the tomcat-java-process. selected collectors, set
 > up the filters and hit the 'profile' button.
 > Profiling is starting in Eclipse (green triangle), tomcat-servlet is
 > running.....
 > BUT:
 > no data is transferred :-( In the statusbar I can see the elapsed time
 > counting but no bytes are processed. The views say "No execution
 > statistics is available for display ..."
 > If I terminate the profile on eclipse (red square) then the remote
 > tomcat is killed; so the connection seems to work, but no data is
 > transmitted.
 >
 > I checked with tomcat on Solaris & Linux, with 'old' Agent on Solaris &
 > Linux and new Agent on Linux - all the same.
 >
 > Did I miss something? what is going wrong?
 > any help is very appreciated
 >
 > Daniel (becoming desperate...)
 > _______________________________________________
 > 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
>

_______________________________________________
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