🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.linux
Article #262

Re: JBX debug error: -- Cannot configure Java debug process arguments --

#262
From: Kirby Liu
Date: Fri, 01 Oct 2004 07:17
68 lines
3229 bytes
On 2004-09-30, Raymond <rmal006@um.edu.mt> wrote:
> Kirby Liu wrote:
>> On 2004-09-26, Lori M Olson [TeamB] <javadragon@techie.com> wrote:
>> 
>>>Kirby Liu wrote:
>>>
>>>
>>>>On 2004-05-07, pnichols <paul@comp.net> wrote:
>>>>
>>>>
>>>>>Bradley Kieser wrote:
>>>>>
>>>>>
>>>>>
>>>>>>Has anyone been able to debug Java apps under Linux using JBX? I just
>>>>>>keep getting this error message and it's driving me nuts not having a
>>>>>>debugger! Whenever I try to run the debugger for any project, this is
>>>>>>what I get in the message tab and the process exits:
>>>>>>
>>>>>>-- Cannot configure Java debug process arguments --
>>>>>>
>>>>>>com.sun.jdi.connect.IllegalConnectorArgumentsException: Not listening
>>>>>
>>>>>What linux are you using? Man have expressed problems with Mandrake. No
>>>>>problems on Suse.
>>>>
>>>>
>>>>
>>>>I also have this error ,and I ues gentoo with gcc version 3.4.1 and turn on NPTL 
>>>
>>>Does this shed any light on the problem:
>>>
>>>(Watch for wrapping on this link)
>>>
>>>http://www.google.ca/groups?hl=en&lr=&ie=UTF-8&threadm=3ea37fce%241%40newsgroups.borland.com&rnum=2&prev=/groups%3Fas_epq%3Dcom.sun.jdi.connect.IllegalConnectorArgumentsException%253A%2520Not%2520listening%26safe%3Dimages%26ie%3DUTF-8%26as_ugroup%3D*jbuilder*%26lr%3D%26num%3D20%26hl%3Den
>>>
>> 
>> 
>> Yep ,It works ,thank you!
>
> Hi all,
>
> I followed through the link you gave however I can't find the message 
> being discussed. I'm referening to the following text ...
>
> "When you debug, there will be a command line generated in the message
> view to start the debug session. Towards the end will be an
> address=xxx:1549 part."
>
> (copied from the link you gave out)
>
> The only messages I get is ...
> "-- Cannot configure Java debug process arguments --
> com.sun.jdi.connect.IllegalConnectorArgumentsException: Not listening"
>
> ... there are no messages in the message view! Am I looking in the right 
> place?
>
> Thanks a lot
> Ray


Yes ,it is the right place.
Just insert a line into /etc/hosts about your computer name.For example:
My computer name is "tux" defined in /etc/hostname,so add a line
127.0.0.1       tux 
in the file /etc/hosts
and debug will work
Technical Details
Message-ID: <415d0494@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <409aa582@newsgroups.borland.com> <409b33bd@newsgroups.borland.com> <4156acf8$1@newsgroups.borland.com> <4156e13f$1@newsgroups.borland.com> <415b568d$1@newsgroups.borland.com> <415c44f5$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 107590,13d5050713147daa
X-Google-Attributes: gid107590,public
X-Google-Language: ENGLISH,ASCII-7-bit
Newsgroups: borland.public.jbuilder.linux
From: Kirby Liu <kaph@smtp.21cn.com>
Subject: Re: JBX debug error: -- Cannot configure Java debug process arguments --
References: <409aa582@newsgroups.borland.com> <409b33bd@newsgroups.borland.com> <4156acf8$1@newsgroups.borland.com> <4156e13f$1@newsgroups.borland.com> <415b568d$1@newsgroups.borland.com> <415c44f5$1@newsgroups.borland.com>
Reply-To: kaph@21cn.com
User-Agent: slrn/0.9.8.0 (Linux)
NNTP-Posting-Host: 221.232.91.249
Message-ID: <415d0494@newsgroups.borland.com>
Date: 1 Oct 2004 00:17:40 -0700
X-Trace: newsgroups.borland.com 1096615060 221.232.91.249 (1 Oct 2004 00:17:40 -0700)
Lines: 68
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail