Yes, I use it. Version of Java is probably more importent than version of Tomcat.

I'm using Tomcat v4.1.24, Java 1.4.2, on Windows 2000. Tomcat is installed as a service.

I use these settings:

-Xrs -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=8888,suspend=n

Differences:
        not using -server
        using -Xrs
        different port 8888
        different order for the runjdwp


[EMAIL PROTECTED] wrote:


Has any one successfully used the "Remote Debugging facility" of ECLIPSE
with TOMCAT 4.0.X ? I tried using it but am getting a message that says
"Failed to connect to remote VM, Connection refused". Below is how I setup
TOMCAT & ECLIPSE for debugging.

Added the below statement to CATALINA.bat
SET CATALINA_OPTS=-server -Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
and started TOMCAT.

On the ECLIPSE configuration for Remote debugging I gave
Host : localhost
Port : 8000
Connection Type : Standard (Socket Attach).

Is there anything that I am missing ?

Regards
Sreekant G




------------------------------------------------------------------------


This mail was scanned by Interscan Virus Wall of Mailserver2 at SNR, TCS, Chennai



------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Jason Lea


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to