Ran into an issue today where despite setting cache tags on a swf file, the chrome browser was downloading it everytime I moved from one page to other and come back to same page. This was working fine in Internet Explorer and FireFox. After spending an hour with firebug, pagespeed and fiddler I figured out that cache tags were set correctly but still chrome won't cache it. At last I found this issue reported to chrome developers http://code.google.com/p/chromium/issues/detail?id=103875 . It appears that because I was using a self signed certificate on local install, chrome wont cache any content until I use a valid certificate. So the solution is to generate a free certificate using https://www.startssl.com/ and use it locally to avoid this issue.
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
Just spent several hours diagnosing the same thing. Thanks for confirming this.
ReplyDelete