RE: Remote Debugging facility

2003-08-29 Thread Paul McCulloch
I use this facility without a problem. My CATALINA_OPTS & Eclispse settings
are identical to yours.

How are you startimg Tomcat? The icon installed in the Start menu *does not*
use catalina.bat. 

Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 29 August 2003 07:00
To: [EMAIL PROTECTED]
Subject: Remote Debugging facility


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




**
Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you are not 
the addressee indicated in this message (or responsible for delivery of the message to 
such person), you may not copy or deliver this message to anyone. In such case, you 
should destroy this message, and notify us immediately. If you or your employer does 
not consent to Internet email messages of this kind, please advise us immediately. 
Opinions, conclusions and other information expressed in this message are not given or 
endorsed by my Company or employer unless otherwise indicated by an authorised 
representative independent of this message.
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted 
via electronic mail attachments we cannot guarantee that attachments do not contain 
computer virus code.  You are therefore strongly advised to undertake anti virus 
checks prior to accessing the attachment to this electronic mail.  Axios Systems Ltd 
grants no warranties regarding performance use or quality of any attachment and 
undertakes no liability for loss or damage howsoever caused.


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



Re: Remote Debugging facility

2003-08-30 Thread Jason Lea
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=,suspend=n

Differences:
not using -server
using -Xrs
different port 
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]