Starting profiling against Tomcat gives transport-error [message #3332] |
Tue, 28 December 2004 15:26  |
Eclipse User |
|
|
|
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] |
Mon, 03 January 2005 22:30  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02422 seconds