Article View: borland.public.jbuilder.debugger
Article #303Re: -Cannot start Java debug process VM
From: Hin Boen
Date: Thu, 18 Dec 2003 19:14
Date: Thu, 18 Dec 2003 19:14
162 lines
4862 bytes
4862 bytes
> * Do I need restart if I change this file? yes. > How/where in JBX I can put localhost instead of abc in > ....socket,address=abc:3540,suspend.... > This'll be easier then mess with XP hosts. If you want specify the host and port number by yourself, you will need to debug your program using the remote debugging feature. You can find this information in JBuilder online help. (see Help | Help Topics, select Index, remote debugging) -Hin hdhfg wrote: >I don't know much about XP, I use linux, but in this case I must use it for >testing and debugging. >This is single PC with new default XP installation, not connected in any >network. > >My host look like this: >127.0.0.1 localhost > >and I add this: >127.0.0.1 abc > >Still can't debug! > >* Do I need restart if I change this file? >* Currently I can't restart this PC because it needs to run few more days. >We measure RAM and how GC works. > >How/where in JBX I can put localhost instead of abc in >....socket,address=abc:3540,suspend.... >This'll be easier then mess with XP hosts. > > > >>Do you setup your computer to use a static IP address, or a dynamic >>one? If you use static IP address, could you modify your host file to >>map your computer name to 127.0.0.1? >> >>For WinXP, host file is located in C:\WINDOWS\system32\drivers\etc\hosts >> >>-Hin >> >> >>hdhfg wrote: >> >> >> >>>Win XP Prof SP1 >>>JBuilder X EE Trial >>>Welcome.jpx >>> >>>I can run it, but can't debug. >>> >>>-- Cannot start Java debug process VM -- >>>com.sun.jdi.connect.VMStartException: VM initialization failed for: >>>C:\JBuilderX\jdk1.4\bin\javaw -classpath >>> >>> >>"C:\JBuilderX\samples\Welcome\classes;C:\JBuilderX\jdk1.4\demo\jfc\Java2D\J >> >> >a > > >>va2Demo.jar;C:\JBuilderX\jdk1.4\demo\plugin\jfc\Java2D\Java2Demo.jar;C:\JBu >> >> >i > > >>lderX\jdk1.4\jre\javaws\javaws.jar;C:\JBuilderX\jdk1.4\jre\lib\charsets.jar >> >> >; > > >>C:\JBuilderX\jdk1.4\jre\lib\ext\dnsns.jar;C:\JBuilderX\jdk1.4\jre\lib\ext\l >> >> >d > > >>apsec.jar;C:\JBuilderX\jdk1.4\jre\lib\ext\localedata.jar;C:\JBuilderX\jdk1. >> >> >4 > > >>\jre\lib\ext\sunjce_provider.jar;C:\JBuilderX\jdk1.4\jre\lib\im\indicim.jar >> >> >; > > >>C:\JBuilderX\jdk1.4\jre\lib\im\thaiim.jar;C:\JBuilderX\jdk1.4\jre\lib\jce.j >> >> >a > > >>r;C:\JBuilderX\jdk1.4\jre\lib\jsse.jar;C:\JBuilderX\jdk1.4\jre\lib\plugin.j >> >> >a > > >>r;C:\JBuilderX\jdk1.4\jre\lib\rt.jar;C:\JBuilderX\jdk1.4\jre\lib\sunrsasign >> >> >. > > >>jar;C:\JBuilderX\jdk1.4\lib\dt.jar;C:\JBuilderX\jdk1.4\lib\htmlconverter.ja >> >> >r > > >>;C:\JBuilderX\jdk1.4\lib\tools.jar" -Xdebug -Xnoagent -Djava.compiler=NONE >> >> >>>-Xrunjdwp:transport=dt_socket,address=abc:3540,suspend=y >>>com.borland.samples.welcome.WelcomeApp >>>err:: No such file or directory >>>Error [2] in connect() call! >>>Socket transport failed to init. >>>Transport dt_socket failed to initialize, rc = -1. >>> >>>ping localhost is ok, but ping abc output this: >>> >>>Pinging abc [3.0.204.0] with 32 bytes of data: >>>Destination host unreachable. >>>Destination host unreachable. >>>Destination host unreachable. >>>Destination host unreachable. >>>Ping statistics for 3.0.204.0: >>> Packets: Sent = 4, Received = 0, Lost = 4 (100% loss) >>> >>>same with ping 3.0.204.0 >>> >>>How/where in JBX I can put localhost instead of abc in >>>....socket,address=abc:3540,suspend.... >>> >>>Thanks. >>> >>> >>> >>> >>> >>> > > > >
Technical Details
Message-ID:
<3fe1fbc9$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3fe0391e@newsgroups.borland.com> <3fe0d974$1@newsgroups.borland.com> <3fe166c8@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ff5c5,8cf87ebd5ff1e71d X-Google-Attributes: gidff5c5,public X-Google-ArrivalTime: 2003-12-18 11:40:10 PST Date: Thu, 18 Dec 2003 11:14:56 -0800 From: Hin Boen <hboen@borland.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.debugger Subject: Re: -Cannot start Java debug process VM References: <3fe0391e@newsgroups.borland.com> <3fe0d974$1@newsgroups.borland.com> <3fe166c8@newsgroups.borland.com> In-Reply-To: <3fe166c8@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 10.143.11.228 Message-ID: <3fe1fbc9$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1071774665 10.143.11.228 (18 Dec 2003 11:11:05 -0700) Lines: 163 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail