Juan Hernandez has uploaded a new change for review.

Change subject: core: Add validate-on-match to data source
......................................................................

core: Add validate-on-match to data source

Since JBoss EAP 6.1 connection level validation isn't performed unless
the "validate-on-match" parameter is explicitly set to true. This causes
several issues like connections not being removed from the connection
pool when the database is restarted. This patch adds that parameter to
the data source configuration.

Change-Id: I8f43be1cd95597dbc75ffb6a873a1b1e312c3897
Signed-off-by: Juan Hernandez <[email protected]>
---
M packaging/services/ovirt-engine/ovirt-engine.xml.in
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/34/21634/1

diff --git a/packaging/services/ovirt-engine/ovirt-engine.xml.in 
b/packaging/services/ovirt-engine/ovirt-engine.xml.in
index acfa985..0b335dc 100644
--- a/packaging/services/ovirt-engine/ovirt-engine.xml.in
+++ b/packaging/services/ovirt-engine/ovirt-engine.xml.in
@@ -151,6 +151,7 @@
             <share-prepared-statements/>
           </statement>
           <validation>
+            <validate-on-match>true</validate-on-match>
             <check-valid-connection-sql>select 1</check-valid-connection-sql>
           </validation>
         </datasource>


-- 
To view, visit http://gerrit.ovirt.org/21634
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8f43be1cd95597dbc75ffb6a873a1b1e312c3897
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to