<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic MySQL timeout in Archive</title>
    <link>https://business.forums.bt.com/t5/Archive/MySQL-timeout/m-p/49744#M14829</link>
    <description>&lt;P&gt;I am working on a simple application using JSP/Servlet and MySQL and I am using the Gefion connection pooling class available from&amp;nbsp;&lt;A target="_blank" href="http://webdevelopersjournal.com/columns/DBConnectionManager.java"&gt;http://webdevelopersjournal.com/columns/DBConnectionManager.java&lt;/A&gt;.&amp;nbsp; I keep getting timeouts with messages similar to this:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure&lt;BR /&gt;Last packet sent to the server was 0 ms ago.&lt;BR /&gt;&amp;nbsp; at sun.reflect.GeneratedConstructorAccessor103.newInstance(Unknown Source)&lt;BR /&gt;&amp;nbsp; at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)&lt;BR /&gt;&amp;nbsp; at java.lang.reflect.Constructor.newInstance&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The same code works fine on my development system.&amp;nbsp; I have read posts about increasing the timeout for connections held in a pool, to avoid this issue.&lt;BR /&gt;&lt;BR /&gt;Since this is a low volume application, connection pooling is probably overkill but I like to do a job properly.&amp;nbsp; Surely I'll consume more LP resources by opening and closing connections each time they are needed, rather than opening and sharing through a pool.&lt;BR /&gt;&lt;BR /&gt;Either way, it doesn't matter to me but would appreciate an 'official' verdict from LunarPages.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;IMG border="0" src="http://imagicon.info/cat/12-1/text-smiley.png" /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Jan 2013 18:18:51 GMT</pubDate>
    <dc:creator>abirhasan</dc:creator>
    <dc:date>2013-01-10T18:18:51Z</dc:date>
    <item>
      <title>MySQL timeout</title>
      <link>https://business.forums.bt.com/t5/Archive/MySQL-timeout/m-p/49744#M14829</link>
      <description>&lt;P&gt;I am working on a simple application using JSP/Servlet and MySQL and I am using the Gefion connection pooling class available from&amp;nbsp;&lt;A target="_blank" href="http://webdevelopersjournal.com/columns/DBConnectionManager.java"&gt;http://webdevelopersjournal.com/columns/DBConnectionManager.java&lt;/A&gt;.&amp;nbsp; I keep getting timeouts with messages similar to this:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure&lt;BR /&gt;Last packet sent to the server was 0 ms ago.&lt;BR /&gt;&amp;nbsp; at sun.reflect.GeneratedConstructorAccessor103.newInstance(Unknown Source)&lt;BR /&gt;&amp;nbsp; at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)&lt;BR /&gt;&amp;nbsp; at java.lang.reflect.Constructor.newInstance&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The same code works fine on my development system.&amp;nbsp; I have read posts about increasing the timeout for connections held in a pool, to avoid this issue.&lt;BR /&gt;&lt;BR /&gt;Since this is a low volume application, connection pooling is probably overkill but I like to do a job properly.&amp;nbsp; Surely I'll consume more LP resources by opening and closing connections each time they are needed, rather than opening and sharing through a pool.&lt;BR /&gt;&lt;BR /&gt;Either way, it doesn't matter to me but would appreciate an 'official' verdict from LunarPages.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;IMG border="0" src="http://imagicon.info/cat/12-1/text-smiley.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2013 18:18:51 GMT</pubDate>
      <guid>https://business.forums.bt.com/t5/Archive/MySQL-timeout/m-p/49744#M14829</guid>
      <dc:creator>abirhasan</dc:creator>
      <dc:date>2013-01-10T18:18:51Z</dc:date>
    </item>
  </channel>
</rss>

