<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Firewall dropping Oracle database connections in WebSphere connection pool?</title>
	<atom:link href="http://vivekagarwal.wordpress.com/2009/07/04/firewall-dropping-oracle-database-connections-in-websphere-connection-pool/feed/" rel="self" type="application/rss+xml" />
	<link>http://vivekagarwal.wordpress.com/2009/07/04/firewall-dropping-oracle-database-connections-in-websphere-connection-pool/</link>
	<description>An IBM Gold Consultant's weblog about IBM, Lotus, WebSphere, J2EE, IT Processes, and other IT technologies</description>
	<lastBuildDate>Thu, 17 Dec 2009 03:13:15 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: abt12</title>
		<link>http://vivekagarwal.wordpress.com/2009/07/04/firewall-dropping-oracle-database-connections-in-websphere-connection-pool/#comment-2392</link>
		<dc:creator>abt12</dc:creator>
		<pubDate>Thu, 03 Dec 2009 22:17:26 +0000</pubDate>
		<guid isPermaLink="false">http://vivekagarwal.wordpress.com/?p=152#comment-2392</guid>
		<description>Great information here. Thanks for taking the time to post guys.  I first tried the validationQuery and testOnBorrow parameters from the post above but I still had issues after the change.  The web application experiencing the problems is compiled and we don&#039;t have the source.  It could be a coding issue.  I&#039;m now going to try setting SQLNET.EXPIRE_TIME to 10 minutes in an attempt to prevent any &quot;stale&quot; connections.</description>
		<content:encoded><![CDATA[<p>Great information here. Thanks for taking the time to post guys.  I first tried the validationQuery and testOnBorrow parameters from the post above but I still had issues after the change.  The web application experiencing the problems is compiled and we don&#8217;t have the source.  It could be a coding issue.  I&#8217;m now going to try setting SQLNET.EXPIRE_TIME to 10 minutes in an attempt to prevent any &#8220;stale&#8221; connections.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://vivekagarwal.wordpress.com/2009/07/04/firewall-dropping-oracle-database-connections-in-websphere-connection-pool/#comment-2352</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Fri, 18 Sep 2009 15:29:33 +0000</pubDate>
		<guid isPermaLink="false">http://vivekagarwal.wordpress.com/?p=152#comment-2352</guid>
		<description>We had the exact same issue on a setup that uses Tomcat in conjunction with the Apache DBCP component.  The solution was to use the validationQuery configuration parameter in pair with testOnBorrow=true.  So when a connection is interrupted by the Firewall.  The next time the application needs to use a connection from the pool, the pool validate the connection before releasing it.  If the connection is dead it simply remove it from the pool and use another existing one or create a new one if need be.

The validationQuery parameter value on Oracle that we are using &quot;Select 1 from dual&quot;</description>
		<content:encoded><![CDATA[<p>We had the exact same issue on a setup that uses Tomcat in conjunction with the Apache DBCP component.  The solution was to use the validationQuery configuration parameter in pair with testOnBorrow=true.  So when a connection is interrupted by the Firewall.  The next time the application needs to use a connection from the pool, the pool validate the connection before releasing it.  If the connection is dead it simply remove it from the pool and use another existing one or create a new one if need be.</p>
<p>The validationQuery parameter value on Oracle that we are using &#8220;Select 1 from dual&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vivek Agarwal</title>
		<link>http://vivekagarwal.wordpress.com/2009/07/04/firewall-dropping-oracle-database-connections-in-websphere-connection-pool/#comment-2326</link>
		<dc:creator>Vivek Agarwal</dc:creator>
		<pubDate>Tue, 07 Jul 2009 00:23:49 +0000</pubDate>
		<guid isPermaLink="false">http://vivekagarwal.wordpress.com/?p=152#comment-2326</guid>
		<description>Doug,

You are absolutely right that one of the options that we could have gone with is to change the connection pool configuration settings of &lt;strong&gt;unusedTimeout&lt;/strong&gt; and &lt;strong&gt;reapTime&lt;/strong&gt; such that the combo was lower than the firewall idle timeout setting, while ensuring that the &lt;strong&gt;minConnections&lt;/strong&gt; was set to zero. The downside to this is that depending on usage patterns and firewall idle timeout setting, you may end up incurring the cost of creating new database connections too often impacting performance and defeating the purpose of the connection pool. The upside is that this solution works with any database (and is not dependent on an Oracle-specific setting), and in fact can be used on any kind of &quot;object pool&quot; that must maintain remote connections through a firewall.

Thanks for raising this point!

-Vivek.</description>
		<content:encoded><![CDATA[<p>Doug,</p>
<p>You are absolutely right that one of the options that we could have gone with is to change the connection pool configuration settings of <strong>unusedTimeout</strong> and <strong>reapTime</strong> such that the combo was lower than the firewall idle timeout setting, while ensuring that the <strong>minConnections</strong> was set to zero. The downside to this is that depending on usage patterns and firewall idle timeout setting, you may end up incurring the cost of creating new database connections too often impacting performance and defeating the purpose of the connection pool. The upside is that this solution works with any database (and is not dependent on an Oracle-specific setting), and in fact can be used on any kind of &#8220;object pool&#8221; that must maintain remote connections through a firewall.</p>
<p>Thanks for raising this point!</p>
<p>-Vivek.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shared Experiences &#187; links for 2009-07-06</title>
		<link>http://vivekagarwal.wordpress.com/2009/07/04/firewall-dropping-oracle-database-connections-in-websphere-connection-pool/#comment-2325</link>
		<dc:creator>Shared Experiences &#187; links for 2009-07-06</dc:creator>
		<pubDate>Mon, 06 Jul 2009 23:08:28 +0000</pubDate>
		<guid isPermaLink="false">http://vivekagarwal.wordpress.com/?p=152#comment-2325</guid>
		<description>[...] Firewall dropping Oracle database connections in WebSphere connection pool? « Vivek Agarwal’s Por... (tags: portal websphere database) [...]</description>
		<content:encoded><![CDATA[<p>[...] Firewall dropping Oracle database connections in WebSphere connection pool? « Vivek Agarwal’s Por&#8230; (tags: portal websphere database) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guido</title>
		<link>http://vivekagarwal.wordpress.com/2009/07/04/firewall-dropping-oracle-database-connections-in-websphere-connection-pool/#comment-2324</link>
		<dc:creator>Guido</dc:creator>
		<pubDate>Mon, 06 Jul 2009 20:18:06 +0000</pubDate>
		<guid isPermaLink="false">http://vivekagarwal.wordpress.com/?p=152#comment-2324</guid>
		<description>We faced exactly the same problem and solve it like Doug mentioned.</description>
		<content:encoded><![CDATA[<p>We faced exactly the same problem and solve it like Doug mentioned.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://vivekagarwal.wordpress.com/2009/07/04/firewall-dropping-oracle-database-connections-in-websphere-connection-pool/#comment-2323</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Mon, 06 Jul 2009 18:04:04 +0000</pubDate>
		<guid isPermaLink="false">http://vivekagarwal.wordpress.com/?p=152#comment-2323</guid>
		<description>Was one of the other options you tried just to allow the DataSource Connection Pool to drop down to zero held connections?  That&#039;s what we&#039;ve always done to prevent these kinds of problems, but I have no idea which approach has better performance implications.</description>
		<content:encoded><![CDATA[<p>Was one of the other options you tried just to allow the DataSource Connection Pool to drop down to zero held connections?  That&#8217;s what we&#8217;ve always done to prevent these kinds of problems, but I have no idea which approach has better performance implications.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Отучаем фаервол &#8220;срать&#8221; в буфер сообщений ядра :) &#124; CetLot</title>
		<link>http://vivekagarwal.wordpress.com/2009/07/04/firewall-dropping-oracle-database-connections-in-websphere-connection-pool/#comment-2321</link>
		<dc:creator>Отучаем фаервол &#8220;срать&#8221; в буфер сообщений ядра :) &#124; CetLot</dc:creator>
		<pubDate>Sun, 05 Jul 2009 12:57:15 +0000</pubDate>
		<guid isPermaLink="false">http://vivekagarwal.wordpress.com/?p=152#comment-2321</guid>
		<description>[...] Firewall dropping Oracle database connections in WebSphere &#8230; [...]</description>
		<content:encoded><![CDATA[<p>[...] Firewall dropping Oracle database connections in WebSphere &#8230; [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
