Article View: borland.public.jbuilder.debugger
Article #229Re: Setting Debug-Port
From: Kevin Dean [TeamB]
Date: Fri, 03 Jun 2005 18:36
Date: Fri, 03 Jun 2005 18:36
41 lines
2460 bytes
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
Technical Details
Message-ID:
<xn0e328wohc6mm000-kdean@www.teamb.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<429f0f39$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: ff5c5,df2be8af2c24f04
X-Google-Attributes: gidff5c5,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Kevin Dean [TeamB]" <NkOdSePaAnM@datadevelopment.com>
Subject: Re: Setting Debug-Port
Newsgroups: borland.public.jbuilder.debugger
References: <429f0f39$1@newsgroups.borland.com>
Organization: Dolphin Data Development Ltd.
User-Agent: XanaNews/1.17.4.1
X-Face: ":yn4zt^A_dn>6~{YJmu^B\'4w)e:apPM\VC=Dvf&*tASxX9|BYczkFd$xr.$vNSZ[3Uobr
p]c4\+\l){!WQI.$]veP({HLd;CDYH?iN
Message-ID: <xn0e328wohc6mm000-kdean@www.teamb.com>
X-Ref: newsgroups.borland.com ~XNS:000001E8
NNTP-Posting-Host: 24.57.153.235
Date: 3 Jun 2005 11:36:48 -0700
X-Trace: newsgroups.borland.com 1117823808 24.57.153.235 (3 Jun 2005 11:36:48 -0700)
Lines: 41
X-Authenticated-User: kdean
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail