🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#268
From: Raymond
Date: Sat, 02 Oct 2004 16:04
113 lines
4743 bytes
Kirby Liu wrote:
> On 2004-10-01, Raymond <rmal006@um.edu.mt> wrote:
> 
>>Kirby Liu wrote:
>>
>>>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
>>
>>Hi
>>
>>I've taken a look to the file /etc/hosts and it contains the following 
>>content:
>>
>># Do not remove the following line, or various programs
>># that require network functionality will fail.
>>127.0.0.1		localhost.localdomain localhost
>>
>>So the question is should I alter this line or add to it?
>>
>>Another thing is that the file /etc/hostname does not exist on my 
>>system. However when linux displays the welcome screen it says "Welcome 
>>to ubr1-6_80.xxx.xxx (where xxx.xxx is my cable internet isp)
>>
>>Thanks
>>Ray
> 
> Since I have never use cable before,but I guess maybe "ubr1-6_80" is your 
> computer name.And just try to add 127.0.0.1  ubr1-6_80 below the 
> line "127.0.0.1             localhost.localdomain localhost"

Yap it worked :)

Thanks for your time
Ray
Technical Details
Message-ID: <415ed193@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!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> <415d0494@newsgroups.borland.com> <415d9080@newsgroups.borland.com> <415e5140@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
Date: Sat, 02 Oct 2004 18:04:39 +0200
From: Raymond <rmal006@um.edu.mt>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040805 Netscape/7.2
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.linux
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> <415d0494@newsgroups.borland.com> <415d9080@newsgroups.borland.com> <415e5140@newsgroups.borland.com>
In-Reply-To: <415e5140@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 212.56.155.80
Message-ID: <415ed193@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1096733075 212.56.155.80 (2 Oct 2004 09:04:35 -0700)
Lines: 113
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail