🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.debugger
2 messages
2 total messages Started by Frank Hossfeld Thu, 02 Jun 2005 13:52
Setting Debug-Port
#228
Author: Frank Hossfeld
Date: Thu, 02 Jun 2005 13:52
11 lines
1409 bytes
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

 
Re: Setting Debug-Port
#229
Author: Kevin Dean [TeamB]
Date: Fri, 03 Jun 2005 18:36
41 lines
2460 bytes
Frank Hossfeld wrote:

> 
> 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads