As your stack trace is showing the line numbers, why not post the
few lines of code around the area that it is going wrong (ie. the
bottom of the stacktrace) so we can take a look at what you are trying to do?
Otherwise I fear your idea below is not relevant.

Rob

> -----Original Message-----
> From: Nancy F. Maniquis
> Sent: 08 December 2000 15:08
> To: [EMAIL PROTECTED]; KIRKBRIDE Rob
> ([EMAIL PROTECTED])
> Subject: follow-up Re: UnknownHostException
>
>
>
> it seems that in Windows, the URL returned by one of our app's
> methods starts with "file:\C:\blahblah", which seems to work fine.
> In Linux, the returned URL starts with
> "file://home/username/blahblah".
>
> we'll try to remove the first "/" at the start.  i hope that works.
>
> -- nancy
>
>
> ----- Original Message -----
> From: Nancy F. Maniquis <[EMAIL PROTECTED]>
> Sent: Friday, December 08, 2000 1:19 PM
> >
> > I have a java application (jdk 1.3) that works fine in Windows 98
> > but spews out this exception in my Linux pc (Red Hat 6.1):
> >
> > java.net.UnknownHostException: home
> >  at java.net.InetAddress.getAllByName0(InetAddress.java:571)
> >  at java.net.InetAddress.getAllByName0(InetAddress.java:540)
> >  at java.net.InetAddress.getByName(InetAddress.java:449)
> >  at java.net.Socket.<init>(Socket.java:100)
> >  at sun.net.NetworkClient.doConnect(NetworkClient.java:50)
> >  at sun.net.NetworkClient.openServer(NetworkClient.java:38)
> >  at sun.net.ftp.FtpClient.openServer(FtpClient.java:267)
> >  at sun.net.ftp.FtpClient.<init>(FtpClient.java:381)
> >  at
> sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnec
> tion.java:77)
> >  at
> sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpUR
> LConnection.java:96)
> > ...<the rest of the stacktrace>
> >
> > And I have no idea why.  Help?  Maybe I need to edit a
> config file somewhere?
>
>





----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to