sockets problem

1999-07-14 Thread Greg Walker

I am having a problem with a server written in java that uses sockets.
The server runs fine; the problem arises when I try to access it. The
client is simply telnet and after making a connection, and receiving a
handful of bytes, the client hangs as if the server is not responding.
Yet the server seems to be fine because I can establish another
connection to it. 

This problem goes away if I use the java -debug option (which
incidentally throws an exception) or run the server with jdb. 

I am using jdk1.1.7b and RedHat 6.0 (kernel 2.2.5-15). There was a rumor
that java 1.1.6 had a bug with sockets which was fixed in 1.1.7, but I
can't locate the docs and I still seem to have a problem.

On additional note, ... the server ran fine while I was using a dynamic
DHCP address. Once my provider switched me to a static IP address, this
problem appeared. Any ideas ?

Thanks,
-- 
Greg Walker
[EMAIL PROTECTED]


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



native/green

1999-08-11 Thread Greg Walker


I know I have seen this here before. What does it typically mean if my
java app runs with native threads, but not in green threads (117_v3)? 

-- 
Greg Walker
[EMAIL PROTECTED]


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



do different jvm perform calcs differently?

1999-08-18 Thread Greg Walker

A mere curiosity ...

I have a class that performs many calcs. The values are *slightly*
(after about 14 significant figures) different depending on the jvm I
use (either ibm's 1.1.6 or blackdown's 1.1.7). Is there a difference
between algorithms to solve for trig functions or logarithms between
jvm's? If so, which is more accurate?  Isn't there a standard for math
operations (IEEE) that both jvm's use? I am not sure I see why this
happens. jit or nojit does not make a difference (ibm) and native or
green does not make a difference (blackdown).

Note: I have NOT been able to reproduce this with single math
operations.

-- 
Greg Walker
[EMAIL PROTECTED]


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