Discussion:
Setting Debug-Port
(too old to reply)
Frank Hossfeld
2005-06-02 13:52:57 UTC
Permalink
Hi,
I am looking for the place, where the port is set, that is used when starting an external tomcat server in debug mode.

when I start the debug configuration, I can see something like "address=computername:portnumber". How does JBuilder2005 decide which port is to use? Is this configuratable? Is it always the same port?

I am asking, because we have problems with starting a tomcat server in debugging mode, when the computer is in a network with a proxy server and a firewall? We always get a SocketException ...

Thanks Frank
Kevin Dean [TeamB]
2005-06-03 18:36:48 UTC
Permalink
Post by Frank Hossfeld
Hi,
I am looking for the place, where the port is set, that is used when
starting an external tomcat server in debug mode.
when I start the debug configuration, I can see something like
"address=computername:portnumber". How does JBuilder2005 decide which
port is to use? Is this configuratable? Is it always the same port?
I am asking, because we have problems with starting a tomcat server
in debugging mode, when the computer is in a network with a proxy
server and a firewall? We always get a SocketException ...
Thanks Frank
JBuilder simply picks an available port, as far as I know. You can
override this by doing the following:

1. Create a debug runtime configuration with the "Launch" option in the
"Remote" tab and a fixed port number.
2. Create a debug runtime configuration with the "Attach" option in the
"Remote" tab and the same port number.
3. Run the first configuration; this should launch the application.
4. Run the second configuration; this should attach to the first.
--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
http://www.datadevelopment.com/papers/index.html

Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html
Loading...