I don't know if JDK 1.5 is ready or not. Could be it.
You can get a stack trace with CTRL-\ on Linux and it might indicate if you have a dead lock or not.
It wasn't the app that was locking, but the os....
I think it was an unstable kernel supplied with fedora core2 (2.5something).
I upgraded it to 2.6something and I have been running without a problem.
Odd numbered kernels are labeled as such to notify their instability, so why did redhat choose to use it....strange...?