From efefd95854efb51333dc36abe7bb33fca4d04e90 Mon Sep 17 00:00:00 2001 From: Ittay Stern Date: Mon, 23 Mar 2020 06:47:25 +0200 Subject: [PATCH] Add c3p0 connection pooling to ext-svc-simulator Should avoid login errors like java.io.IOException: Server returned HTTP response code: 500 for URL: http://ci-cd-simulator-service:8080/vidSimulator/.../auxapi//v3/user/us16807000 when those are due to tenured connections. Issue-ID: VID-647 Change-Id: I17ce716114535487e2e4a90c558c0334af5494fd Signed-off-by: Ittay Stern --- vid-ext-services-simulator/pom.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vid-ext-services-simulator/pom.xml b/vid-ext-services-simulator/pom.xml index c08bcd4ec..73da5f041 100644 --- a/vid-ext-services-simulator/pom.xml +++ b/vid-ext-services-simulator/pom.xml @@ -170,6 +170,11 @@ hibernate-core ${hibernate.version} + + org.hibernate + hibernate-c3p0 + ${hibernate.version} + org.mariadb.jdbc -- 2.16.6