archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1389467 - in /archiva/trunk/archiva-jetty-js: pom.xml src/main/conf/jetty.xml
Date Mon, 24 Sep 2012 16:12:15 GMT
Author: olamy
Date: Mon Sep 24 16:12:14 2012
New Revision: 1389467

URL: http://svn.apache.org/viewvc?rev=1389467&view=rev
Log:
no more need of commons-* in embeded dist and add testOnBorrow validation

Modified:
    archiva/trunk/archiva-jetty-js/pom.xml
    archiva/trunk/archiva-jetty-js/src/main/conf/jetty.xml

Modified: archiva/trunk/archiva-jetty-js/pom.xml
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-jetty-js/pom.xml?rev=1389467&r1=1389466&r2=1389467&view=diff
==============================================================================
--- archiva/trunk/archiva-jetty-js/pom.xml (original)
+++ archiva/trunk/archiva-jetty-js/pom.xml Mon Sep 24 16:12:14 2012
@@ -85,16 +85,6 @@
       <artifactId>tomcat-jdbc</artifactId>
       <scope>runtime</scope>
     </dependency>
-    <dependency>
-      <groupId>commons-dbcp</groupId>
-      <artifactId>commons-dbcp</artifactId>
-      <scope>runtime</scope>
-    </dependency>
-    <dependency>
-      <groupId>commons-pool</groupId>
-      <artifactId>commons-pool</artifactId>
-      <scope>runtime</scope>
-    </dependency>
   </dependencies>
   <build>
     <plugins>

Modified: archiva/trunk/archiva-jetty-js/src/main/conf/jetty.xml
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-jetty-js/src/main/conf/jetty.xml?rev=1389467&r1=1389466&r2=1389467&view=diff
==============================================================================
--- archiva/trunk/archiva-jetty-js/src/main/conf/jetty.xml (original)
+++ archiva/trunk/archiva-jetty-js/src/main/conf/jetty.xml Mon Sep 24 16:12:14 2012
@@ -322,6 +322,9 @@
         <Set name="removeAbandoned">true</Set>
         <Set name="logAbandoned">true</Set>
         <Set name="initialSize">5</Set>
+        <Set name="testOnBorrow">true</Set>
+        <!-- very rigourous sql query validation -->
+        <Set name="validationQuery">select 1</Set>
       </New>
     </Arg>
   </New>



Mime
View raw message