fix standalone installation documentation

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1390463 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-09-26 13:19:23 +00:00
parent 5f9755b5ae
commit 3e257226ee
1 changed files with 17 additions and 18 deletions

View File

@ -3,7 +3,7 @@
------ ------
Olivier Lamy Olivier Lamy
------ ------
2011-09-29 2012-09-26
------ ------
~~ Licensed to the Apache Software Foundation (ASF) under one ~~ Licensed to the Apache Software Foundation (ASF) under one
@ -127,25 +127,24 @@ Installing Standalone Distribution of Apache Archiva
<!-- Users / Security Database --> <!-- 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>jdbc/users</Arg>
<Arg> <Arg>
<New class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"> <New class="org.apache.tomcat.jdbc.pool.DataSource">
<Set name="serverName">localhost</Set> <Set name="driverClassName">com.mysql.jdbc.Driver</Set>
<Set name="databaseName">redback</Set> <Set name="url">jdbc:mysql://localhost/archiva</Set>
<Set name="user">archiva</Set> <Set name="username"></Set>
<Set name="password">sa</Set> <Set name="password"></Set>
</New> <Set name="initialSize">15</Set>
</Arg> <!-- depends on your concurrent users numbers -->
</New> <Set name="maxActive">30</Set>
<Set name="maxWait">10000</Set>
<New id="usersShutdown" class="org.mortbay.jetty.plus.naming.Resource"> <Set name="removeAbandoned">true</Set>
<Arg>jdbc/usersShutdown</Arg> <Set name="logAbandoned">true</Set>
<Arg> <Set name="removeAbandonedTimeout">10000</Set>
<New class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"> <Set name="testOnBorrow">true</Set>
<Set name="url">jdbc:mysql://localhost/redback</Set> <!-- very rigourous sql query validation -->
<Set name="user">archiva</Set> <Set name="validationQuery">select 1</Set>
<Set name="password">sa</Set>
</New> </New>
</Arg> </Arg>
</New> </New>