From 831a518f977aed367f2a35ba2c526b4c1e6b5969 Mon Sep 17 00:00:00 2001 From: "Maria Odea B. Ching" Date: Fri, 20 Jun 2008 03:49:16 +0000 Subject: [PATCH] [MRM-751] -configure jetty to use commons-dbcp for db connection pool git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@669774 13f79535-47bb-0310-9956-ffa450edef68 --- archiva-jetty/pom.xml | 11 +++++++++ archiva-jetty/src/main/conf/jetty.xml | 35 ++++++++++++++++----------- 2 files changed, 32 insertions(+), 14 deletions(-) diff --git a/archiva-jetty/pom.xml b/archiva-jetty/pom.xml index deb0d0aff..a655722d2 100644 --- a/archiva-jetty/pom.xml +++ b/archiva-jetty/pom.xml @@ -132,6 +132,17 @@ + + commons-dbcp + commons-dbcp + 1.2.1 + + + xerces + xercesImpl + + + diff --git a/archiva-jetty/src/main/conf/jetty.xml b/archiva-jetty/src/main/conf/jetty.xml index 439d808c3..5a106f08e 100644 --- a/archiva-jetty/src/main/conf/jetty.xml +++ b/archiva-jetty/src/main/conf/jetty.xml @@ -296,26 +296,33 @@ - - jdbc/archiva - - - /data/databases/archiva - sa - create - - + jdbc/archiva + + + org.apache.derby.jdbc.EmbeddedDataSource + jdbc:derby:/data/databases/archiva + sa + + create + true + + + jdbc/archivaShutdown - - /data/databases/archiva - sa - shutdown - + + org.apache.derby.jdbc.EmbeddedDataSource + jdbc:derby:/data/databases/archiva + sa + + shutdown + true + + -- 2.39.5