archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1390463 - /archiva/trunk/archiva-docs/src/site/apt/adminguide/standalone.apt
Date Wed, 26 Sep 2012 13:19:23 GMT
Author: olamy
Date: Wed Sep 26 13:19:23 2012
New Revision: 1390463

URL: http://svn.apache.org/viewvc?rev=1390463&view=rev
Log:
fix standalone installation documentation

Modified:
    archiva/trunk/archiva-docs/src/site/apt/adminguide/standalone.apt

Modified: archiva/trunk/archiva-docs/src/site/apt/adminguide/standalone.apt
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-docs/src/site/apt/adminguide/standalone.apt?rev=1390463&r1=1390462&r2=1390463&view=diff
==============================================================================
--- archiva/trunk/archiva-docs/src/site/apt/adminguide/standalone.apt (original)
+++ archiva/trunk/archiva-docs/src/site/apt/adminguide/standalone.apt Wed Sep 26 13:19:23
2012
@@ -3,7 +3,7 @@
  ------
  Olivier Lamy
  ------
- 2011-09-29
+ 2012-09-26
  ------
 
 ~~ Licensed to the Apache Software Foundation (ASF) under one                      
@@ -127,25 +127,24 @@ Installing Standalone Distribution of Ap
 
   <!-- Users / Security Database -->
 
-  <New id="users" class="org.mortbay.jetty.plus.naming.Resource">
+  <New id="users" class="org.eclipse.jetty.plus.jndi.Resource">
     <Arg>jdbc/users</Arg>
     <Arg>
-      <New class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource">
-        <Set name="serverName">localhost</Set>
-        <Set name="databaseName">redback</Set>
-        <Set name="user">archiva</Set>
-        <Set name="password">sa</Set>
-      </New>
-    </Arg>
-  </New>
-
-  <New id="usersShutdown" class="org.mortbay.jetty.plus.naming.Resource">
-    <Arg>jdbc/usersShutdown</Arg>
-    <Arg>
-      <New class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource">
-        <Set name="url">jdbc:mysql://localhost/redback</Set>
-        <Set name="user">archiva</Set>
-        <Set name="password">sa</Set>
+      <New class="org.apache.tomcat.jdbc.pool.DataSource">
+        <Set name="driverClassName">com.mysql.jdbc.Driver</Set>
+        <Set name="url">jdbc:mysql://localhost/archiva</Set>
+        <Set name="username"></Set>
+        <Set name="password"></Set>
+        <Set name="initialSize">15</Set>
+        <!-- depends on your concurrent users numbers -->
+        <Set name="maxActive">30</Set>
+        <Set name="maxWait">10000</Set>
+        <Set name="removeAbandoned">true</Set>
+        <Set name="logAbandoned">true</Set>
+        <Set name="removeAbandonedTimeout">10000</Set>
+        <Set name="testOnBorrow">true</Set>
+        <!-- very rigourous sql query validation -->
+        <Set name="validationQuery">select 1</Set>
       </New>
     </Arg>
   </New>



Mime
View raw message