Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Starting profiling against Tomcat gives transport-error
Starting profiling against Tomcat gives transport-error [message #3332] Tue, 28 December 2004 20:26 Go to next message
Eclipse UserFriend
Originally posted by: s2dev.yahoo.com

Hi All,
Im trying to setup profiling against a Tomcat server and here are the
steps I followed:

* Installed runtime, examples, test feature/plugin into Eclipse
* Installed AgentController into a local-folder
* Did a setConfig.bat followed by starting the RAServer.exe
* Set JBOSS_OPTIONS=-XrunpiAgent:server=enabled, JPDA_TRANSPORT=dt_socket
and JPDA_ADDRESS=8000.
* Started Tomcat using: catalina.bat jpda start
* Started a new Profile within Eclipse using the "Attach - Java Process"
option. Added "localhost:8000" to the list of hosts on the first tab.

Now, when if use the test-connection or navigate to the Agents tab, I get
the following error in the console where tomcat is running:

ERROR: transport error 202: handshake failed - received >éegÇ< - excepted
>JDWP-Handshake< ["transport.c",L41]
JDWP exit error JVMTI_ERROR_NONE(0): could not connect, timeout or fatal
error

Im using JDK-5.0.

Anybody has any clues on what Im doing wrong / missing out here?

Thanks in advance,
SS
Re: Starting profiling against Tomcat gives transport-error [message #3398 is a reply to message #3332] Tue, 04 January 2005 03:30 Go to previous message
Curtis d'Entremont is currently offline Curtis d'EntremontFriend
Messages: 42
Registered: July 2009
Member
Hi,

The port you enter in the Agents tab should be the port for the agent
controller. The default is 10002. Because the port you entered is active,
it apparently tries to connect but gets an invalid response.

Thanks,
Curt

SS wrote:

> Hi All,
> Im trying to setup profiling against a Tomcat server and here are the
> steps I followed:

> * Installed runtime, examples, test feature/plugin into Eclipse
> * Installed AgentController into a local-folder
> * Did a setConfig.bat followed by starting the RAServer.exe
> * Set JBOSS_OPTIONS=-XrunpiAgent:server=enabled, JPDA_TRANSPORT=dt_socket
> and JPDA_ADDRESS=8000.
> * Started Tomcat using: catalina.bat jpda start
> * Started a new Profile within Eclipse using the "Attach - Java Process"
> option. Added "localhost:8000" to the list of hosts on the first tab.

> Now, when if use the test-connection or navigate to the Agents tab, I get
> the following error in the console where tomcat is running:

> ERROR: transport error 202: handshake failed - received >éegÇ< - excepted
>>JDWP-Handshake< ["transport.c",L41]
> JDWP exit error JVMTI_ERROR_NONE(0): could not connect, timeout or fatal
> error

> Im using JDK-5.0.

> Anybody has any clues on what Im doing wrong / missing out here?

> Thanks in advance,
> SS
Previous Topic:Profiling JBOSS problem
Next Topic:Looking for Mid to Senior SW Engineer
Goto Forum:
  


Current Time: Fri Apr 19 04:32:49 GMT 2024

Powered by FUDForum. Page generated in 0.02198 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top