noel 2003/02/22 12:17:43 Modified: src/conf james-config.xml Log: Corrected and added some comments, dbfile examples, and autoreconnect for mysql Revision Changes Path 1.48 +20 -3 jakarta-james/src/conf/james-config.xml Index: james-config.xml =================================================================== RCS file: /home/cvs/jakarta-james/src/conf/james-config.xml,v retrieving revision 1.47 retrieving revision 1.48 diff -u -r1.47 -r1.48 --- james-config.xml 21 Feb 2003 01:35:45 -0000 1.47 +++ james-config.xml 22 Feb 2003 20:17:43 -0000 1.48 @@ -13,7 +13,7 @@ <!-- are preceded by a CHECKME! or CONFIRM? comment in the left margin. --> <!-- For production use you will probably need to make more extensive changes, see --> -<!-- http://jakarta.apache.org/james/documentation_2_1.htm --> +<!-- http://james.apache.org/documentation_2_1.html --> <!-- $Revision$ Committed on $Date$ by: $Author$ --> @@ -70,6 +70,15 @@ <repository destinationURL="db://maildb/inbox/" type="MAIL"/> </inboxRepository> --> + + <!-- Alternative inbox repository definition for DB use. --> + <!-- Stores message body in file system, rest in database --> + <!-- + <inboxRepository> + <repository destinationURL="dbfile://maildb/inbox/" type="MAIL"/> + </inboxRepository> + --> + </James> <!-- Fetch pop block, fetches mail from POP3 servers and inserts it into the incoming spool --> @@ -619,6 +628,14 @@ <repository destinationURL="db://maildb/spool/spool" type="SPOOL"/> </spoolRepository> --> + + <!-- Alternative spool repository definition for JDBC use --> + <!-- Stores message body in file system, rest in database --> + <!-- + <spoolRepository> + <repository destinationURL="dbfile://maildb/spool/spool" type="SPOOL"/> + </spoolRepository> + --> </mailstore> @@ -685,7 +702,7 @@ <!-- <data-source name="maildb" class="org.apache.james.util.mordred.JdbcDataSource"> <driver>org.gjt.mm.mysql.Driver</driver> - <dburl>jdbc:mysql://127.0.0.1/mail</dburl> + <dburl>jdbc:mysql://127.0.0.1/mail?autoReconnect=true</dburl> <user>username</user> <password>password</password> <max>20</max>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
