<?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 Re: Passing additional JDBC connection pool parameters via repo configuration. in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/passing-additional-jdbc-connection-pool-parameters-via-repo/m-p/315940#M2941</link>
    <description>&lt;P&gt;The &lt;CODE&gt;pool&lt;/CODE&gt; definition for a repository does not define a JDBC pool that returns connections, but a JCA pool that returns XA resources. Therefore, the configuration option are different and more limited. They are listed in &lt;A href="http://doc.nuxeo.com/x/hwQz"&gt;VCS Configuration&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jan 2014 21:27:41 GMT</pubDate>
    <dc:creator>Florent_Guillau</dc:creator>
    <dc:date>2014-01-24T21:27:41Z</dc:date>
    <item>
      <title>Passing additional JDBC connection pool parameters via repo configuration.</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/passing-additional-jdbc-connection-pool-parameters-via-repo/m-p/315939#M2940</link>
      <description>&lt;P&gt;I've successfully setup a second repository (my Nuxeo instance has two repos using two different databases) using the following configuration.  However, I'm trying to pass additional data source connection pool parameters (like 'validationQuery' and 'timeBetweenEvictionRunsMillis') to the JDBC data source.  For some some reason, the params seem to have no effect.  That is, I'm not seeing the expected 'validationQuery' being used by the connection pool.  Am I using the correct mechanism?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;component name="config:lifesci_domain-repository"&amp;gt;
&amp;lt;extension target="org.nuxeo.ecm.core.repository.RepositoryService"
	point="repository"&amp;gt;
	&amp;lt;repository name="lifesci_domain"
		factory="org.nuxeo.ecm.core.storage.sql.ra.PoolingRepositoryFactory"&amp;gt;
		&amp;lt;repository name="lifesci_domain"&amp;gt;
			&amp;lt;pool	minPoolSize="0"
					maxPoolSize="20"
					blockingTimeoutMillis="100"
					idleTimeoutMinutes="10"
					testOnBorrow="true"
					testWhileIdle="true"
					validationQuery="SELECT 6"
					timeBetweenEvictionRunsMillis="5000"						
					/&amp;gt;
    ,,,
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 10 Jan 2014 04:15:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/passing-additional-jdbc-connection-pool-parameters-via-repo/m-p/315939#M2940</guid>
      <dc:creator>remillet_</dc:creator>
      <dc:date>2014-01-10T04:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Passing additional JDBC connection pool parameters via repo configuration.</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/passing-additional-jdbc-connection-pool-parameters-via-repo/m-p/315940#M2941</link>
      <description>&lt;P&gt;The &lt;CODE&gt;pool&lt;/CODE&gt; definition for a repository does not define a JDBC pool that returns connections, but a JCA pool that returns XA resources. Therefore, the configuration option are different and more limited. They are listed in &lt;A href="http://doc.nuxeo.com/x/hwQz"&gt;VCS Configuration&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2014 21:27:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/passing-additional-jdbc-connection-pool-parameters-via-repo/m-p/315940#M2941</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2014-01-24T21:27:41Z</dc:date>
    </item>
  </channel>
</rss>

