Article View: borland.public.jbuilder.debugger
Article #302Re: -Cannot start Java debug process VM
From: hdhfg
Date: Thu, 18 Dec 2003 08:35
Date: Thu, 18 Dec 2003 08:35
101 lines
4001 bytes
4001 bytes
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:
<3fe166c8@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!priapus.visi.com!orange.octanews.net!news.octanews.net!news-out.visi.com!petbe.visi.com!news2.telebyte.nl!news-fra1.dfn.de!npeer.de.kpn-eurorings.net!news.uni-stuttgart.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3fe0391e@newsgroups.borland.com> <3fe0d974$1@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 00:40:14 PST From: "hdhfg" <hdhfg@no.spam> Newsgroups: borland.public.jbuilder.debugger References: <3fe0391e@newsgroups.borland.com> <3fe0d974$1@newsgroups.borland.com> Subject: Re: -Cannot start Java debug process VM Date: Thu, 18 Dec 2003 09:35:11 +0100 Lines: 103 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 195.29.37.55 Message-ID: <3fe166c8@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1071736520 195.29.37.55 (18 Dec 2003 00:35:20 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!priapus.visi.com!orange.octanews.net!news.octanews.net!news-out.visi.com!petbe.visi.com!news2.telebyte.nl!news-fra1.dfn.de!npeer.de.kpn-eurorings.net!news.uni-stuttgart.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail