<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mobile and gis dev notes &#187; java</title>
	<atom:link href="http:///wordpress/category/java/feed/" rel="self" type="application/rss+xml" />
	<link>/wordpress</link>
	<description>by rupert</description>
	<lastBuildDate>Wed, 08 Feb 2012 22:26:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Java Thread MySQL Error</title>
		<link>/wordpress/2007/05/java-thread-mysql-error/</link>
		<comments>/wordpress/2007/05/java-thread-mysql-error/#comments</comments>
		<pubDate>Mon, 14 May 2007 04:32:20 +0000</pubDate>
		<dc:creator>rupert</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">/wordpress/?p=51</guid>
		<description><![CDATA[My java thread bails on me after a few hours. I get the ff errors from my log4j. Anyway, I tried upgrading the mysql-java-connector to mysql-connector-java-5.0.5-bin.jar. And added &#8220;autoreconnect=true&#8221; in the url string&#8230; url=jdbc:mysql://127.0.0.1:3306/cncphs?autoreconnect=true. 1086 java.io.EOFException 1087 1088 STACKTRACE: 1089 1090 java.io.EOFException 1091 at com.mysql.jdbc.MysqlIO.readFully&#40;MysqlIO.java:1895&#41; 1092 at com.mysql.jdbc.MysqlIO.reuseAndReadPacket&#40;MysqlIO.java:2342&#41; 1093 at com.mysql.jdbc.MysqlIO.checkErrorPacket&#40;MysqlIO.java:2838&#41; 1094 at com.mysql.jdbc.MysqlIO.sendCommand&#40;MysqlIO.java:1584&#41; 1095 [...]]]></description>
			<content:encoded><![CDATA[<p>My java thread bails on me after a few hours. I get the ff errors from my log4j. Anyway, I tried upgrading the mysql-java-connector to mysql-connector-java-5.0.5-bin.jar. And added &#8220;autoreconnect=true&#8221; in the url string&#8230; <em>url=jdbc:mysql://127.0.0.1:3306/cncphs?autoreconnect=true</em>.</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;">   <span style="color: #cc66cc;">1086</span> java.<span style="color: #006633;">io</span>.<span style="color: #003399;">EOFException</span>
   <span style="color: #cc66cc;">1087</span>
   <span style="color: #cc66cc;">1088</span> STACKTRACE<span style="color: #339933;">:</span>
   <span style="color: #cc66cc;">1089</span>
   <span style="color: #cc66cc;">1090</span> java.<span style="color: #006633;">io</span>.<span style="color: #003399;">EOFException</span>
   <span style="color: #cc66cc;">1091</span>     at com.<span style="color: #006633;">mysql</span>.<span style="color: #006633;">jdbc</span>.<span style="color: #006633;">MysqlIO</span>.<span style="color: #006633;">readFully</span><span style="color: #009900;">&#40;</span>MysqlIO.<span style="color: #006633;">java</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">1895</span><span style="color: #009900;">&#41;</span>
   <span style="color: #cc66cc;">1092</span>     at com.<span style="color: #006633;">mysql</span>.<span style="color: #006633;">jdbc</span>.<span style="color: #006633;">MysqlIO</span>.<span style="color: #006633;">reuseAndReadPacket</span><span style="color: #009900;">&#40;</span>MysqlIO.<span style="color: #006633;">java</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">2342</span><span style="color: #009900;">&#41;</span>
   <span style="color: #cc66cc;">1093</span>     at com.<span style="color: #006633;">mysql</span>.<span style="color: #006633;">jdbc</span>.<span style="color: #006633;">MysqlIO</span>.<span style="color: #006633;">checkErrorPacket</span><span style="color: #009900;">&#40;</span>MysqlIO.<span style="color: #006633;">java</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">2838</span><span style="color: #009900;">&#41;</span>
   <span style="color: #cc66cc;">1094</span>     at com.<span style="color: #006633;">mysql</span>.<span style="color: #006633;">jdbc</span>.<span style="color: #006633;">MysqlIO</span>.<span style="color: #006633;">sendCommand</span><span style="color: #009900;">&#40;</span>MysqlIO.<span style="color: #006633;">java</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">1584</span><span style="color: #009900;">&#41;</span>
   <span style="color: #cc66cc;">1095</span>     at com.<span style="color: #006633;">mysql</span>.<span style="color: #006633;">jdbc</span>.<span style="color: #006633;">MysqlIO</span>.<span style="color: #006633;">sqlQueryDirect</span><span style="color: #009900;">&#40;</span>MysqlIO.<span style="color: #006633;">java</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">1675</span><span style="color: #009900;">&#41;</span>
   <span style="color: #cc66cc;">1096</span>     at com.<span style="color: #006633;">mysql</span>.<span style="color: #006633;">jdbc</span>.<span style="color: #003399;">Connection</span>.<span style="color: #006633;">execSQL</span><span style="color: #009900;">&#40;</span><span style="color: #003399;">Connection</span>.<span style="color: #006633;">java</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">2295</span><span style="color: #009900;">&#41;</span>
   <span style="color: #cc66cc;">1097</span>     at com.<span style="color: #006633;">mysql</span>.<span style="color: #006633;">jdbc</span>.<span style="color: #003399;">Connection</span>.<span style="color: #006633;">execSQL</span><span style="color: #009900;">&#40;</span><span style="color: #003399;">Connection</span>.<span style="color: #006633;">java</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">2228</span><span style="color: #009900;">&#41;</span>
   <span style="color: #cc66cc;">1098</span>     at com.<span style="color: #006633;">mysql</span>.<span style="color: #006633;">jdbc</span>.<span style="color: #003399;">Statement</span>.<span style="color: #006633;">executeQuery</span><span style="color: #009900;">&#40;</span><span style="color: #003399;">Statement</span>.<span style="color: #006633;">java</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">1159</span><span style="color: #009900;">&#41;</span>
   <span style="color: #cc66cc;">1099</span>     at DBThread.<span style="color: #006633;">run</span><span style="color: #009900;">&#40;</span>DBThread.<span style="color: #006633;">java</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">45</span><span style="color: #009900;">&#41;</span>
   <span style="color: #cc66cc;">1100</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>/wordpress/2007/05/java-thread-mysql-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

