Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2001 18:34:06 +0000
From:      Michael Burns <michael@fasturl.net>
To:        freebsd-java@freebsd.org
Subject:   socket problems with linux-jdk1.3.1
Message-ID:  <20010726183406.A99945@fasturl.net>

next in thread | raw e-mail | index | archive | help
I recently installed the linux-jdk1.3.1 port onto a 3.5-STABLE system.

I'm getting the following error when I connect to a simple server
(I'm using the "KnockKnockServer" example from the tutorial but have
had the same problem with other previously-working servers).

$ java -classic KnockKnockServer &
[1] 16734
$ telnet localhost 4444
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Knock! Knock!
Exception in thread "main" java.net.SocketException: Resource temporarily
unavailable: Resource temporarily unavailable
        at java.net.SocketInputStream.socketRead(Native Method)
		        at java.net.SocketInputStream.read(SocketInputStream.java:86)
		        at java.net.SocketInputStream.read(SocketInputStream.java:67)
		        at java.io.InputStreamReader.fill(InputStreamReader.java:173)
		        at java.io.InputStreamReader.read(InputStreamReader.java:249)
		        at java.io.BufferedReader.fill(BufferedReader.java:139)
		        at java.io.BufferedReader.readLine(BufferedReader.java:299)
		        at java.io.BufferedReader.readLine(BufferedReader.java:362)
		        at KnockKnockServer.main(KnockKnockServer.java:33)
Connection closed by foreign host.
[1]+  Exit 1                  java KnockKnockServer
$

Any ideas?

-- 
Michael Burns
Systems Administrator
Vener Net Inc.
michael@fasturl.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010726183406.A99945>