I have a Java application that is hosted on by a web hosting company. Every few days my app goes down with:
[2011-03-09 15:52:14,501] ERROR http-12021-9 ja
Looks like thread leaking. Threads are created but then stuck somewhere. Dump the threads periodically to see if the number of allocated threads is growing. Look for any sleeping/hanging threads in the dump.
kill -QUIT jvm_pid