RE: Error when trying to Start VM
"JP Beaudry" <[email protected]> Fri, 4 Feb 2005 15:27:41 -0500
| Newsgroups | gmane.comp.java.jswat.user |
|---|---|
| Message-ID | <[email protected]> |
I've had that happen several times and I'm pretty convinced it has nothing to do with hostnames. In my case, this happen when trying to attach to one of many JVMs running on a remote device. For no apparent reasons, I'll get that error for one of the many JVMs, but can successfully attach to the others. The only difference between them, from a Jswat config point of view, is the port number. Could it be that an other error occurs but somehow is caught and interpreted by the "gethostname" code? I've tried like heck to figure out more precisely under which conditions I see this happen. But I've had no luck so far. The issue comes and goes apparently at random. BTW, this is from Linux to Linux. Not that it should matter... My 2 cents, JP > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Billy Bacon > Sent: Friday, February 04, 2005 1:42 PM > To: [email protected] > Subject: [jswat-user] Error when trying to Start VM > > I'm trying to debug a swing app which is essentially a JAR file... > > ERROR: Cause of death: > Error[22] in gethostbyname() call! > err:: Invalid argument > Socket Transport failed to init > Transport dt_socket failed to initialize, rc =-1. > FATAL ERROR in native method: No transports initialized > > In the Start VM dialog box I have my Java Home set, the JVM > executable is > java and for the class name I give the pacakage name and class which > launches the application. > > I'm having this issue on my Mac OS X powerbook (not that it should > matter). I mention this only b/c I have jSwat set up on my > Windows box as > well and with the exact same settings (AFAIK) (sourcepath, > classpath) and > it runs fine on the Windows machine and loads/starts up the app just > great. But running it on my Mac fails with the above error. > > Any ideas as to what I have wrong? > > Thanks for any help! > > - Billy - > > > _______________________________________________ > jswat-user mailing list > [email protected] > http://www.bluemarsh.com/mailman/listinfo/jswat-user >