If your system inexplicably hangs …..
one reason might be you are trying to initialize a java.awt
class on a server that does not run X.
Fun fact: I just read about this the other day on the forum for the library I am using and for which I need these awt-classes for!
*Added* and another problem I was having: it the programm is producing load the reason is probably not deadlocked threads. Think infinite loop!