I tried to code in the
java code listed at
this site...
http://www.sys-con.com/java/source/3-2/34.htm I wrote my own ClientHandler... Basically,
it's just a knockknockjoke server. Anyway,
I'm having problems getting it to work correctly
and am unsure of why or how to debug it.
One client can connect okay, but when I try a second
one it hangs waiting to enter the synchronized ThreadPoolManager.start method.
As far as I know it would seem that I could only be
locked out like this if some other
thread had a
lock on this code. But who has a lock on it? It
should be free at this point. I'm confused and
would appreciate any help.