Update: This JSP does not work on a thread that is inside some native code. On many occasions I had a thread stuck in JNI code and it wont work. Also in some cases thread.stop can cause jvm to hang. According to javadocs " This method is inherently unsafe. Stopping a thread with Thread.stop causes it to unlock all of the monitors that it has locked". I have used it only in some rare occasions where I wanted to avoid a system shutdown and in some cases we ended up doing system shutdown as jvm was hung so I had a 70-80% success with it. -------------------------------------------------------------------------------------------------------------------------- We had an interesting requirement. A tomcat thread that was spawned from an ExecutorService ThreadPool had gone Rogue and was causing lots of disk churning issues. We cant bring down the production server as that would involve downtime. Killing this thread was harmless but how to kill it, t
You can change the 'searchable' setting of your blog to hide it from being included in google search results. :-)
ReplyDeleteThe intent is to have Google search/index it but was surprise to see it doing near real time. I was a leecher (http://www.urbandictionary.com/define.php?term=leecher) for past 5-6 years, therfore its time to give back to community for what ever I can give back.
ReplyDeleteGood honest blog.
ReplyDeleteGood honest blog
ReplyDelete