From 506c3c7ae0ea0dbdd50c470e7ad3ac8c9ff43766 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 22 May 2012 13:01:41 +0000 Subject: [PATCH] use a database connection pooling from commons-dbcp for users database connection for archiva-jetty too. git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1341457 13f79535-47bb-0310-9956-ffa450edef68 --- archiva-jetty/src/main/conf/jetty.xml | 29 ++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/archiva-jetty/src/main/conf/jetty.xml b/archiva-jetty/src/main/conf/jetty.xml index 91d2c091e..37989c422 100644 --- a/archiva-jetty/src/main/conf/jetty.xml +++ b/archiva-jetty/src/main/conf/jetty.xml @@ -289,7 +289,7 @@ - + + + + jdbc/users + + + org.apache.derby.jdbc.EmbeddedDriver + jdbc:derby:/data/databases/users;create=true + sa + 20 + true + true + 5 + + + + + jdbc/usersShutdown + + + org.apache.derby.jdbc.EmbeddedDriver + jdbc:derby:/data/databases/users + sa + + + + -- 2.39.5