You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Asaf Lahav <as...@primagrid.com> on 2006/02/20 20:55:36 UTC

remote debug on tomcat using eclipse

Hi all,

 

I'm trying to debug an AXIS webservice which is running on my local tomcat
5.5.15.

My working environment is:

Windows XP

JVM 1.5

Eclipse 3.1

My tomcat 1.5.15 is installed and running as a Service

 

I've read a couple of articles explaining how to configure tomcat and
Eclipse to enable remote debugging, did what those articles instructed with
no luck.

 

What am do I have to do to succeed in this new venture? :-)

Thanks in advance,

 

Asaf Lahav

VP R&D, Prima Grid LTD.

Cellular:  972-54-4717955

Phone:   972-3-6540255

Fax:       972-3-6540254



 


Re: remote debug on tomcat using eclipse

Posted by Mark Thomas <ma...@apache.org>.
Asaf Lahav wrote:
> I already setup both JPDA_ADDRESS and JPDA_TRANSPORT environment variables.
> But I don't know where to add the command line arguments when I'm running
> the Tomcat in service mode.

Use tomcat5w.exe from the bin directory.  Add the following options
under the Java tab.
-Xdebug
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: remote debug on tomcat using eclipse

Posted by Asaf Lahav <as...@primagrid.com>.
Hi Mark,

 

First of all, thanks for responding.

 

I already read those instructions you pointed me to.

Where can I find instructions saying how to configure Tomcat for remote
debugging on windows XP when running in service mode?

I already setup both JPDA_ADDRESS and JPDA_TRANSPORT environment variables.
But I don't know where to add the command line arguments when I'm running
the Tomcat in service mode.

 

Asaf Lahav

 

VP R&D, Prima Grid LTD.

 

Cellular:  972-54-4717955

 

Phone:   972-3-6540255

 

Fax:       972-3-6540254

 

 

 

 

-----Original Message-----
From: Mark Thomas [mailto:markt@apache.org] 
Sent: Monday, February 20, 2006 10:26 PM
To: Tomcat Users List
Subject: Re: remote debug on tomcat using eclipse

 

Step 1. http://tomcat.apache.org/faq/development.html#rd

Step 2. http://tomcat.apache.org/faq/development.html#rd-eclipse

 

Mark

 

 

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

To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org

For additional commands, e-mail: users-help@tomcat.apache.org


Re: remote debug on tomcat using eclipse

Posted by Mark Thomas <ma...@apache.org>.
Step 1. http://tomcat.apache.org/faq/development.html#rd
Step 2. http://tomcat.apache.org/faq/development.html#rd-eclipse

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org