Hello.
I have a very perplexing problem, which has left me tearing my hair
out...
I've written a small java app, which is basically a data consumer
which connects (using JacORB) to a data provider (which uses Tao). The
provider pushes an update to the consumer every 0.5 seconds.
If I run the consumer on a Solaris 8 box, it all works as expected,
recieving an update every 0.5 seconds.
Conversely, if I run the same Jars, with the same JDK* and same
JacORB** on a Windows 2000 pro box (which is on the same switch as the
Solaris box) it shows updates around every 4.5 seconds! The
connections behave in a very fragile manner, with sockets being closed
and reconnect attempts occurring frequently. Meanwhile on the server
side there are very many timeoutexceptions being thrown. Ping shows
times <10ms in each direction and traceroute doesn't show any routing
problems - it's just one hop.
NB. I read about the 200ms ACK delay which may occur on Windows and
have used socket.setTcpNoDelay(true) in the socket factory which I
resgister with JacORB, but this has made no difference whatsoever.
Anybody got any hints or ideas? I can post some verbose trace logs if
that would help...
advTHANKSance.
*JDK version is 1.4.2_03
**JacORB version is 1.4.1


|