<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-8425265434515353560.comments</id><updated>2010-03-12T13:30:52.797-05:00</updated><title type='text'>The Software Grove</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.grovehillsoftware.com/feeds/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/comments/default'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/comments/default?start-index=26&amp;max-results=25'/><author><name>Matt Passell</name><uri>http://www.blogger.com/profile/11172160863136806601</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>27</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8425265434515353560.post-2509509089541204568</id><published>2010-03-12T13:30:21.009-05:00</published><updated>2010-03-12T13:30:21.009-05:00</updated><title type='text'>Same machine same message. Looking for an solution...</title><content type='html'>Same machine same message. Looking for an solution to. Anyone?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/1005344450678203941/comments/default/2509509089541204568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/1005344450678203941/comments/default/2509509089541204568'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/2010/01/problems-with-nvidia-gt220-and-windows.html?showComment=1268418621009#c2509509089541204568' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.grovehillsoftware.com/2010/01/problems-with-nvidia-gt220-and-windows.html' ref='tag:blogger.com,1999:blog-8425265434515353560.post-1005344450678203941' source='http://www.blogger.com/feeds/8425265434515353560/posts/default/1005344450678203941' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8425265434515353560.post-2203698412194181461</id><published>2010-03-03T08:06:16.108-05:00</published><updated>2010-03-03T08:06:16.108-05:00</updated><title type='text'>I have a Packard Bell (Iextreme 6630)as well. When...</title><content type='html'>I have a Packard Bell (Iextreme 6630)as well. When i start the media player, the screen blinks a few time, then a pop up message comes up, with a message that de video driver stopped working and has been restarted. Does anyone now how to fix this?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/1005344450678203941/comments/default/2203698412194181461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/1005344450678203941/comments/default/2203698412194181461'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/2010/01/problems-with-nvidia-gt220-and-windows.html?showComment=1267621576108#c2203698412194181461' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.grovehillsoftware.com/2010/01/problems-with-nvidia-gt220-and-windows.html' ref='tag:blogger.com,1999:blog-8425265434515353560.post-1005344450678203941' source='http://www.blogger.com/feeds/8425265434515353560/posts/default/1005344450678203941' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8425265434515353560.post-8293944708896877549</id><published>2010-02-28T18:57:03.564-05:00</published><updated>2010-02-28T18:57:03.564-05:00</updated><title type='text'>I was having the exact same issue as you except my...</title><content type='html'>I was having the exact same issue as you except my monitor was connected to the VGA port. The only solution I found was to run the driver issued by my manufacturer Packard Bell. Unfortunately, not all the components such as the nvidia control centre had been installed.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/1005344450678203941/comments/default/8293944708896877549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/1005344450678203941/comments/default/8293944708896877549'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/2010/01/problems-with-nvidia-gt220-and-windows.html?showComment=1267401423564#c8293944708896877549' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.grovehillsoftware.com/2010/01/problems-with-nvidia-gt220-and-windows.html' ref='tag:blogger.com,1999:blog-8425265434515353560.post-1005344450678203941' source='http://www.blogger.com/feeds/8425265434515353560/posts/default/1005344450678203941' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8425265434515353560.post-2430061453096397560</id><published>2010-02-25T18:23:13.814-05:00</published><updated>2010-02-25T18:23:13.814-05:00</updated><title type='text'>Yeah, that could be caused by overheating.  One wa...</title><content type='html'>Yeah, that could be caused by overheating.  One way to check the GPU temp is to download and run &lt;a href="http://www.techpowerup.com/realtemp/" rel="nofollow"&gt;RealTemp&lt;/a&gt;.  Its primary focus is CPU temperature, but it reports GPU numbers as well.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/1005344450678203941/comments/default/2430061453096397560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/1005344450678203941/comments/default/2430061453096397560'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/2010/01/problems-with-nvidia-gt220-and-windows.html?showComment=1267140193814#c2430061453096397560' title=''/><author><name>Matt Passell</name><uri>http://www.blogger.com/profile/11172160863136806601</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10526810521439875500'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.grovehillsoftware.com/2010/01/problems-with-nvidia-gt220-and-windows.html' ref='tag:blogger.com,1999:blog-8425265434515353560.post-1005344450678203941' source='http://www.blogger.com/feeds/8425265434515353560/posts/default/1005344450678203941' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8425265434515353560.post-881492732370614131</id><published>2010-02-25T18:15:05.685-05:00</published><updated>2010-02-25T18:15:05.685-05:00</updated><title type='text'>I currently have an issue with this card too, but ...</title><content type='html'>I currently have an issue with this card too, but mine is really annoying. Boots every time and works great, then all of a sudden the screen freezes, restart works great for a while then the same. I feel this is a hardware problem with the chip overheating, as this plagues many nvidia cards. Would appreciate feedback if anyone has come across this on Win &amp;amp; 64bit...?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/1005344450678203941/comments/default/881492732370614131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/1005344450678203941/comments/default/881492732370614131'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/2010/01/problems-with-nvidia-gt220-and-windows.html?showComment=1267139705685#c881492732370614131' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.grovehillsoftware.com/2010/01/problems-with-nvidia-gt220-and-windows.html' ref='tag:blogger.com,1999:blog-8425265434515353560.post-1005344450678203941' source='http://www.blogger.com/feeds/8425265434515353560/posts/default/1005344450678203941' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8425265434515353560.post-2396460252356180413</id><published>2010-02-22T13:15:18.633-05:00</published><updated>2010-02-22T13:15:18.633-05:00</updated><title type='text'>Ooh, that looks very bad!  Good luck!  Given how e...</title><content type='html'>Ooh, that looks very bad!  Good luck!  Given how early in the boot process you&amp;#39;re seeing problems, that may very well be a hardware problem with your card.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/1005344450678203941/comments/default/2396460252356180413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/1005344450678203941/comments/default/2396460252356180413'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/2010/01/problems-with-nvidia-gt220-and-windows.html?showComment=1266862518633#c2396460252356180413' title=''/><author><name>Matt Passell</name><uri>http://www.blogger.com/profile/11172160863136806601</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10526810521439875500'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.grovehillsoftware.com/2010/01/problems-with-nvidia-gt220-and-windows.html' ref='tag:blogger.com,1999:blog-8425265434515353560.post-1005344450678203941' source='http://www.blogger.com/feeds/8425265434515353560/posts/default/1005344450678203941' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8425265434515353560.post-8126584603190780632</id><published>2010-02-22T13:02:16.151-05:00</published><updated>2010-02-22T13:02:16.151-05:00</updated><title type='text'>i just bought an nvidia GT220 and put it in. turne...</title><content type='html'>i just bought an nvidia GT220 and put it in. turned on the computer and everything worked fine. installed drivers and restarted and when i got to the login screen the colors were messed up.&lt;br /&gt;(http://i275.photobucket.com/albums/jj317/Neoethilan/0222000014.jpg)&lt;br /&gt;&lt;br /&gt;running windows XP&lt;br /&gt;installed driver 196.21&lt;br /&gt;currently using VGA</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/1005344450678203941/comments/default/8126584603190780632'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/1005344450678203941/comments/default/8126584603190780632'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/2010/01/problems-with-nvidia-gt220-and-windows.html?showComment=1266861736151#c8126584603190780632' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.grovehillsoftware.com/2010/01/problems-with-nvidia-gt220-and-windows.html' ref='tag:blogger.com,1999:blog-8425265434515353560.post-1005344450678203941' source='http://www.blogger.com/feeds/8425265434515353560/posts/default/1005344450678203941' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8425265434515353560.post-1850267754019069755</id><published>2010-02-08T21:56:52.575-05:00</published><updated>2010-02-08T21:56:52.575-05:00</updated><title type='text'>Justin, glad to hear I could be of help.  Thanks f...</title><content type='html'>Justin, glad to hear I could be of help.  Thanks for the offer to post about any solutions you find - I look forward to hearing about them.  Good luck!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/1005344450678203941/comments/default/1850267754019069755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/1005344450678203941/comments/default/1850267754019069755'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/2010/01/problems-with-nvidia-gt220-and-windows.html?showComment=1265684212575#c1850267754019069755' title=''/><author><name>Matt Passell</name><uri>http://www.blogger.com/profile/11172160863136806601</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10526810521439875500'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.grovehillsoftware.com/2010/01/problems-with-nvidia-gt220-and-windows.html' ref='tag:blogger.com,1999:blog-8425265434515353560.post-1005344450678203941' source='http://www.blogger.com/feeds/8425265434515353560/posts/default/1005344450678203941' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8425265434515353560.post-2878042512174413679</id><published>2010-02-08T21:53:20.643-05:00</published><updated>2010-02-08T21:53:20.643-05:00</updated><title type='text'>This is quite frustrating. At least (in part, than...</title><content type='html'>This is quite frustrating. At least (in part, thanks to your article) I can be relatively sure that the screen-freezing is tied to the graphics driver.  There seems to be no rhyme/reason as to when my pc decides to freeze.&lt;br /&gt;&lt;br /&gt;Good to know I&amp;#39;m not alone in this... I&amp;#39;d rather not be relegated to VGA - gonna put some Google time in and try to find a solution. I&amp;#39;ll be sure to report any good news here</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/1005344450678203941/comments/default/2878042512174413679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/1005344450678203941/comments/default/2878042512174413679'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/2010/01/problems-with-nvidia-gt220-and-windows.html?showComment=1265684000643#c2878042512174413679' title=''/><author><name>Justin Moses</name><uri>http://www.vividsounds.com</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.grovehillsoftware.com/2010/01/problems-with-nvidia-gt220-and-windows.html' ref='tag:blogger.com,1999:blog-8425265434515353560.post-1005344450678203941' source='http://www.blogger.com/feeds/8425265434515353560/posts/default/1005344450678203941' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8425265434515353560.post-6777507978100770887</id><published>2010-01-20T16:08:51.366-05:00</published><updated>2010-01-20T16:08:51.366-05:00</updated><title type='text'>Interesting...  Thanks for mentioning your experie...</title><content type='html'>Interesting...  Thanks for mentioning your experiences with the HDMI support.  I haven&amp;#39;t tried that port on my card yet.  As far as driver versions go, I&amp;#39;m currently on 195.81 beta.  I hope they come out with something soon that fixes the problem.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/1005344450678203941/comments/default/6777507978100770887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/1005344450678203941/comments/default/6777507978100770887'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/2010/01/problems-with-nvidia-gt220-and-windows.html?showComment=1264021731366#c6777507978100770887' title=''/><author><name>Matt Passell</name><uri>http://www.blogger.com/profile/11172160863136806601</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10526810521439875500'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.grovehillsoftware.com/2010/01/problems-with-nvidia-gt220-and-windows.html' ref='tag:blogger.com,1999:blog-8425265434515353560.post-1005344450678203941' source='http://www.blogger.com/feeds/8425265434515353560/posts/default/1005344450678203941' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8425265434515353560.post-4509565165471575292</id><published>2010-01-19T20:41:01.165-05:00</published><updated>2010-01-19T20:41:01.165-05:00</updated><title type='text'>I have a GT220 with the only output to the HDMI bi...</title><content type='html'>I have a GT220 with the only output to the HDMI big screen TV. Took a while to get that working and I do not recall what I did specifically, but it works.&lt;br /&gt;Now I switched from D-SUB/VGA connector on another new card GTS240 and bingo, DVI output does not work. Still working on the problem with the latest 196.21 driver...</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/1005344450678203941/comments/default/4509565165471575292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/1005344450678203941/comments/default/4509565165471575292'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/2010/01/problems-with-nvidia-gt220-and-windows.html?showComment=1263951661165#c4509565165471575292' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.grovehillsoftware.com/2010/01/problems-with-nvidia-gt220-and-windows.html' ref='tag:blogger.com,1999:blog-8425265434515353560.post-1005344450678203941' source='http://www.blogger.com/feeds/8425265434515353560/posts/default/1005344450678203941' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8425265434515353560.post-9117347152014872474</id><published>2009-09-17T22:13:55.548-04:00</published><updated>2009-09-17T22:13:55.548-04:00</updated><title type='text'>I have had annoying cases happen like that as well...</title><content type='html'>I have had annoying cases happen like that as well. What I do is export all of my changes to a temporary directory, blow away the working copy directory, re-import it and apply the changes I had set aside. It sucks, but it works.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/732827131407772869/comments/default/9117347152014872474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/732827131407772869/comments/default/9117347152014872474'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/2009/09/subversion-odd-problems-and-funny.html?showComment=1253240035548#c9117347152014872474' title=''/><author><name>Karnal</name><uri>http://www.blogger.com/profile/08002847790182260939</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.grovehillsoftware.com/2009/09/subversion-odd-problems-and-funny.html' ref='tag:blogger.com,1999:blog-8425265434515353560.post-732827131407772869' source='http://www.blogger.com/feeds/8425265434515353560/posts/default/732827131407772869' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8425265434515353560.post-360328135782162385</id><published>2009-08-31T12:39:36.564-04:00</published><updated>2009-08-31T12:39:36.564-04:00</updated><title type='text'>Hi, not as pretty, but this one allows you to expa...</title><content type='html'>Hi, not as pretty, but this one allows you to expand or collapse any element:&lt;br /&gt;http://www.bodurov.com/JsonFormatter/</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/498009025130036107/comments/default/360328135782162385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/498009025130036107/comments/default/360328135782162385'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/2009/08/curious-concept-excellent-json-pretty.html?showComment=1251736776564#c360328135782162385' title=''/><author><name>Horse Admin</name><uri>http://www.blogger.com/profile/08575207879136726271</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.grovehillsoftware.com/2009/08/curious-concept-excellent-json-pretty.html' ref='tag:blogger.com,1999:blog-8425265434515353560.post-498009025130036107' source='http://www.blogger.com/feeds/8425265434515353560/posts/default/498009025130036107' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8425265434515353560.post-6772825788607431310</id><published>2009-08-29T20:15:09.104-04:00</published><updated>2009-08-29T20:15:09.104-04:00</updated><title type='text'>@Matt - I agree, you've hit the mark with your ana...</title><content type='html'>@Matt - I agree, you&amp;#39;ve hit the mark with your analysis.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/7836478469350744835/comments/default/6772825788607431310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/7836478469350744835/comments/default/6772825788607431310'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/2009/08/interruptible-jdbc-statements.html?showComment=1251591309104#c6772825788607431310' title=''/><author><name>Stefan Zobel</name><uri>http://www.blogger.com/profile/12639995058240242348</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.grovehillsoftware.com/2009/08/interruptible-jdbc-statements.html' ref='tag:blogger.com,1999:blog-8425265434515353560.post-7836478469350744835' source='http://www.blogger.com/feeds/8425265434515353560/posts/default/7836478469350744835' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8425265434515353560.post-3092681249609462800</id><published>2009-08-29T00:04:47.556-04:00</published><updated>2009-08-29T00:04:47.556-04:00</updated><title type='text'>@Stefan - Alright.  Since getting more sleep and l...</title><content type='html'>@Stefan - Alright.  Since getting more sleep and looking over all of your comments, I now understand how and where I got led astray.&lt;br /&gt;&lt;br /&gt;My approach in the post relies on Statement.cancel() doing its job.  The whole reason that we&amp;#39;re pushing the JDBC operations to a worker thread is so that we can interrupt the main thread, since JDBC operations are not interruptible.  Once the main thread has been interrupted, the hope is that the executing Statements are &lt;i&gt;cancellable&lt;/i&gt;.  In your situation, I gather that the Statement effectively isn&amp;#39;t because it&amp;#39;s blocked on I/O and doesn&amp;#39;t respond to cancellation.  That certainly &lt;i&gt;would&lt;/i&gt; be a difficult problem to solve directly without altering the driver itself.&lt;br /&gt;&lt;br /&gt;Although your poison pill approach may not be ideal, it may be the best available solution.  At least since you involve the DB in the process, it has the chance to clean things up before severing the connection.  That obviously wouldn&amp;#39;t be the case with my hacky socket/InputStream idea (aside from whether it&amp;#39;s even possible to access the socket).  I hope updating the code for the C processes is a possibility.  If they don&amp;#39;t know how to speak your new poison pill protocol, that could be a real problem...&lt;br /&gt;&lt;br /&gt;By the way, when I first put up the post, a colleague of mine let me know he was dealing with some issues similar to yours.  I&amp;#39;ll let him know about this comment thread and ask him to chime in with any ideas he&amp;#39;s had.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/7836478469350744835/comments/default/3092681249609462800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/7836478469350744835/comments/default/3092681249609462800'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/2009/08/interruptible-jdbc-statements.html?showComment=1251518687556#c3092681249609462800' title=''/><author><name>Matt Passell</name><uri>http://www.blogger.com/profile/11172160863136806601</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10526810521439875500'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.grovehillsoftware.com/2009/08/interruptible-jdbc-statements.html' ref='tag:blogger.com,1999:blog-8425265434515353560.post-7836478469350744835' source='http://www.blogger.com/feeds/8425265434515353560/posts/default/7836478469350744835' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8425265434515353560.post-7896103021787247885</id><published>2009-08-27T17:00:29.254-04:00</published><updated>2009-08-27T17:00:29.254-04:00</updated><title type='text'>@Matt - he, he, closing the socket from another th...</title><content type='html'>@Matt - he, he, closing the socket from another thread, I actually considered that. Apart from being really ugly it wouldn&amp;#39;t be that easy. As I said, it&amp;#39;s the JDBC driver that does all these things, I do nothing more than calling an Oracle stored procdure (from the dbms_alert package) through a CallableStatement. How would I get access to the specific socket that is opened by the JDBC driver? I&amp;#39;m not aware of any way to do that.&lt;br /&gt;&lt;br /&gt;However, it&amp;#39;s not all bad. As the thread is blocking for a database event to occur, I simply take the &amp;quot;poison pill&amp;quot; approach and signal such an event (embedding a special &amp;quot;stop-message&amp;quot;) from another thread. This way the listening thread unblocks, looks at the event message and shutdowns itself if it is the &amp;quot;stop-message&amp;quot;. This seems to work cleanly so far.&lt;br /&gt;&lt;br /&gt;What I don&amp;#39;t like about this approach:&lt;br /&gt;a) I need the help of (depend on) the DB to shutdown the thread&lt;br /&gt;b) Other listeners (outside my WebApp) that may also listen on the same event must know my special &amp;quot;stop-message&amp;quot;, so that they can ignore it (and we have lots of C processes in our app that may choose to listen on any event any day)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/7836478469350744835/comments/default/7896103021787247885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/7836478469350744835/comments/default/7896103021787247885'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/2009/08/interruptible-jdbc-statements.html?showComment=1251406829254#c7896103021787247885' title=''/><author><name>Stefan Zobel</name><uri>http://www.blogger.com/profile/12639995058240242348</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.grovehillsoftware.com/2009/08/interruptible-jdbc-statements.html' ref='tag:blogger.com,1999:blog-8425265434515353560.post-7836478469350744835' source='http://www.blogger.com/feeds/8425265434515353560/posts/default/7836478469350744835' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8425265434515353560.post-2665483323889691400</id><published>2009-08-27T12:40:41.097-04:00</published><updated>2009-08-27T12:40:41.097-04:00</updated><title type='text'>@Stefan - yeah, sorry. I guess I was responding to...</title><content type='html'>@Stefan - yeah, sorry. I guess I was responding to a different scenario from the one you were describing. Out of curiosity, I experimented with closing a Socket and/or its InputStream from another thread while the main thread was blocked on a read. I had mixed success with causing an IOException to occur (unblocking the thread). It seemed to work if I was reading directly from Socket.getInputStream(), but if I wrapped that in a BufferedInputStream or BufferedReader, calling close() didn&amp;#39;t seem to have any effect. Have you tried any approaches along those lines?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/7836478469350744835/comments/default/2665483323889691400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/7836478469350744835/comments/default/2665483323889691400'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/2009/08/interruptible-jdbc-statements.html?showComment=1251391241097#c2665483323889691400' title=''/><author><name>Matt Passell</name><uri>http://www.blogger.com/profile/11172160863136806601</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10526810521439875500'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.grovehillsoftware.com/2009/08/interruptible-jdbc-statements.html' ref='tag:blogger.com,1999:blog-8425265434515353560.post-7836478469350744835' source='http://www.blogger.com/feeds/8425265434515353560/posts/default/7836478469350744835' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8425265434515353560.post-8621106356270394835</id><published>2009-08-26T15:04:20.364-04:00</published><updated>2009-08-26T15:04:20.364-04:00</updated><title type='text'>@Matt - hhm, maybe I'm dumb but I can't see how th...</title><content type='html'>@Matt - hhm, maybe I&amp;#39;m dumb but I can&amp;#39;t see how that would solve my problem. It&amp;#39;s the JDBC driver who blocks on the socket waiting for either a database event to occur or to timeout after some specified timespan, 5 minutes say. It doesn&amp;#39;t matter how cleverly the thread that runs this JDBC call is created because it won&amp;#39;t respond to Thread.interrupt() calls. I want to take this thread down when I&amp;#39;m stopping my web app, that&amp;#39;s the problem I attempted to solve cleanly with your technique. I see no way this could be done by layering Callables over Callables?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/7836478469350744835/comments/default/8621106356270394835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/7836478469350744835/comments/default/8621106356270394835'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/2009/08/interruptible-jdbc-statements.html?showComment=1251313460364#c8621106356270394835' title=''/><author><name>Stefan Zobel</name><uri>http://www.blogger.com/profile/12639995058240242348</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.grovehillsoftware.com/2009/08/interruptible-jdbc-statements.html' ref='tag:blogger.com,1999:blog-8425265434515353560.post-7836478469350744835' source='http://www.blogger.com/feeds/8425265434515353560/posts/default/7836478469350744835' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8425265434515353560.post-2624503226331925272</id><published>2009-08-26T12:04:14.447-04:00</published><updated>2009-08-26T12:04:14.447-04:00</updated><title type='text'>@Stefan - that's a shame. By the way, I didn't try...</title><content type='html'>@Stefan - that&amp;#39;s a shame. By the way, I didn&amp;#39;t try to describe it in the post, but I&amp;#39;m also using a variant of this technique in an asynchronous setting. My main UI thread shouldn&amp;#39;t block, so it creates/submits a Callable which in turn creates/submits the Callable that actually executes the query. It sounds complicated, but really isn&amp;#39;t too bad.&lt;br /&gt;&lt;br /&gt;I&amp;#39;d be happy to provide me more details. If you&amp;#39;re interested, please contact me at mpassell (at) grovehillsoftware [dot] com.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/7836478469350744835/comments/default/2624503226331925272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/7836478469350744835/comments/default/2624503226331925272'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/2009/08/interruptible-jdbc-statements.html?showComment=1251302654447#c2624503226331925272' title=''/><author><name>Matt Passell</name><uri>http://www.blogger.com/profile/11172160863136806601</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10526810521439875500'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.grovehillsoftware.com/2009/08/interruptible-jdbc-statements.html' ref='tag:blogger.com,1999:blog-8425265434515353560.post-7836478469350744835' source='http://www.blogger.com/feeds/8425265434515353560/posts/default/7836478469350744835' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8425265434515353560.post-3859205699231394421</id><published>2009-08-26T08:38:32.922-04:00</published><updated>2009-08-26T08:38:32.922-04:00</updated><title type='text'>@Matt - unfortunately it doesn't work in my case. ...</title><content type='html'>@Matt - unfortunately it doesn&amp;#39;t work in my case. The thread is blocked on a SocketInputStream, thus it is not interruptible :(</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/7836478469350744835/comments/default/3859205699231394421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/7836478469350744835/comments/default/3859205699231394421'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/2009/08/interruptible-jdbc-statements.html?showComment=1251290312922#c3859205699231394421' title=''/><author><name>Stefan Zobel</name><uri>http://www.blogger.com/profile/12639995058240242348</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.grovehillsoftware.com/2009/08/interruptible-jdbc-statements.html' ref='tag:blogger.com,1999:blog-8425265434515353560.post-7836478469350744835' source='http://www.blogger.com/feeds/8425265434515353560/posts/default/7836478469350744835' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8425265434515353560.post-5320958022568557460</id><published>2009-08-22T20:05:10.049-04:00</published><updated>2009-08-22T20:05:10.049-04:00</updated><title type='text'>Thanks Stefan.  I hope my approach turns out to be...</title><content type='html'>Thanks Stefan.  I hope my approach turns out to be as useful in your scenario as it was in mine. :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/7836478469350744835/comments/default/5320958022568557460'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/7836478469350744835/comments/default/5320958022568557460'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/2009/08/interruptible-jdbc-statements.html?showComment=1250985910049#c5320958022568557460' title=''/><author><name>Matt Passell</name><uri>http://www.blogger.com/profile/11172160863136806601</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10526810521439875500'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.grovehillsoftware.com/2009/08/interruptible-jdbc-statements.html' ref='tag:blogger.com,1999:blog-8425265434515353560.post-7836478469350744835' source='http://www.blogger.com/feeds/8425265434515353560/posts/default/7836478469350744835' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8425265434515353560.post-6332333459846414771</id><published>2009-08-22T11:49:53.988-04:00</published><updated>2009-08-22T11:49:53.988-04:00</updated><title type='text'>That's really neat. I actually had almost the same...</title><content type='html'>That&amp;#39;s really neat. I actually had almost the same problem yesterday (JDBC statements blocking on a socket while waiting for a database event to occur). While I already have a solution, I&amp;#39;ll try yours too - it looks much better than mine.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Stefan</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/7836478469350744835/comments/default/6332333459846414771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/7836478469350744835/comments/default/6332333459846414771'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/2009/08/interruptible-jdbc-statements.html?showComment=1250956193988#c6332333459846414771' title=''/><author><name>Stefan Zobel</name><uri>http://www.blogger.com/profile/12639995058240242348</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.grovehillsoftware.com/2009/08/interruptible-jdbc-statements.html' ref='tag:blogger.com,1999:blog-8425265434515353560.post-7836478469350744835' source='http://www.blogger.com/feeds/8425265434515353560/posts/default/7836478469350744835' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8425265434515353560.post-717180066562874884</id><published>2009-08-21T10:02:05.919-04:00</published><updated>2009-08-21T10:02:05.919-04:00</updated><title type='text'>@Luke - glad you liked it!

@Claus - now that iBAT...</title><content type='html'>@Luke - glad you liked it!&lt;br /&gt;&lt;br /&gt;@Claus - now that &lt;a href="http://ibatis.apache.org/" rel="nofollow"&gt;iBATIS&lt;/a&gt; requires Java 5, that&amp;#39;s an option without including the Doug Lea util.concurrent libraries.  I haven&amp;#39;t used iBATIS in years!  How&amp;#39;s it doing? (The product I refer to in the post might benefit from using it)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/7836478469350744835/comments/default/717180066562874884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/7836478469350744835/comments/default/717180066562874884'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/2009/08/interruptible-jdbc-statements.html?showComment=1250863325919#c717180066562874884' title=''/><author><name>Matt Passell</name><uri>http://www.blogger.com/profile/11172160863136806601</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10526810521439875500'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.grovehillsoftware.com/2009/08/interruptible-jdbc-statements.html' ref='tag:blogger.com,1999:blog-8425265434515353560.post-7836478469350744835' source='http://www.blogger.com/feeds/8425265434515353560/posts/default/7836478469350744835' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8425265434515353560.post-5399479118781465617</id><published>2009-08-21T01:04:08.579-04:00</published><updated>2009-08-21T01:04:08.579-04:00</updated><title type='text'>Cool, now get that into Apache iBatis 3 :)</title><content type='html'>Cool, now get that into Apache iBatis 3 :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/7836478469350744835/comments/default/5399479118781465617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/7836478469350744835/comments/default/5399479118781465617'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/2009/08/interruptible-jdbc-statements.html?showComment=1250831048579#c5399479118781465617' title=''/><author><name>Claus Ibsen</name><uri>http://www.blogger.com/profile/17434564836989249540</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.grovehillsoftware.com/2009/08/interruptible-jdbc-statements.html' ref='tag:blogger.com,1999:blog-8425265434515353560.post-7836478469350744835' source='http://www.blogger.com/feeds/8425265434515353560/posts/default/7836478469350744835' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8425265434515353560.post-520465110904324144</id><published>2009-08-20T22:13:55.090-04:00</published><updated>2009-08-20T22:13:55.090-04:00</updated><title type='text'>Cute. I've wondered about how to do this nicely in...</title><content type='html'>Cute. I&amp;#39;ve wondered about how to do this nicely in the past.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/7836478469350744835/comments/default/520465110904324144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8425265434515353560/7836478469350744835/comments/default/520465110904324144'/><link rel='alternate' type='text/html' href='http://blog.grovehillsoftware.com/2009/08/interruptible-jdbc-statements.html?showComment=1250820835090#c520465110904324144' title=''/><author><name>Luke Matthews</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.grovehillsoftware.com/2009/08/interruptible-jdbc-statements.html' ref='tag:blogger.com,1999:blog-8425265434515353560.post-7836478469350744835' source='http://www.blogger.com/feeds/8425265434515353560/posts/default/7836478469350744835' type='text/html'/></entry></feed>