tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Burch <br...@PingToo.com>
Subject Re: [Bug 55372] Bind JPDA_ADDRESS by default to localhost
Date Wed, 07 Aug 2013 17:01:21 GMT
On 07/08/13 09:32, bugzilla@apache.org wrote:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=55372
>
> --- Comment #5 from Michael Osipov <1983-01-06@gmx.net> ---
> (In reply to Mark Thomas from comment #4)
>> [..]
>>> res/ide-support/netbeans/README.txt. Was that intentional? Though, I do not
>>> know how to port forward a port with RDP.
>>
>> netbeans I know nothing about.
>
> This is a user guide. Nothing crucial but examples should resemble the
> catalina.sh settings.

The appropriate section of the netbeans README is:

    The external Tomcat instance must be started with its jvm enabled for
    debugging by adding extra arguments to JAVA_OPTS, e.g.
    -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n

This paragraph is (I think) ide-agnostic, and refers to setting up the 
server for debugging by any local or remote client.

I use nix and my catalina.sh is started by /etc/init.d/tomcatX, which 
primes JAVA_OPTS when I want debugging. I've just checked catalina.sh 
and noticed there are four JPDA_* parameters too.

My first thought is to leave the README alone. Anyone wanting to use 
netbeans to debug tomcat on a different host ought not to be spoon-fed. 
On the other hand, given the comment is related to a change where by 
default tc will not listen on any interface except lo, perhaps I should 
say so in the README. How far is far enough? wdyt?

Brian


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


Mime
View raw message