Is there anyway to manually kill Application Server Threads that are old besides stopping and restarting the listener? Occasionally there are "ghost" threads that hang out there and we are looking for a way to manually clear these. In addition is there a tool or way to automate cleaning out threads that are "x" number of days old?
Regarding this problem of ghost threads, there is no direct way apart from restarting the dispatcher.
Basically, when client gets disconnected the associated server thread will be terminated/closed. But in some cases when there is abnormal client shutdown, there might be possibility for having ghost threads left over.
Killing such threads manually (e.g. with Process explorer) may lead your application in inconsistent state. So we recommend to restart the dispatcher in these situations.