I know this is the typical new guy question, but I have done this once
successfully (on WINXP) and have recently installed RH9 (text mode only)
and I can't get it to work again, and it is frustrating me.  Please
help!

James works fine when I am using file repositories.  As soon as I try to
switch over to a MySQL database though, James will not start properly.
I get like 50 errors, but the one that seems to tell the most is the one
that says it "giving up, no connections available".  I have tried
increasing the max number of connections in config.xml (to 100), and
that did nothing.  Unless I am just missing something, I think my
database permissions are set correctly, and the db is running (I can
check all of this with phpMyAdmin on my WINXP machine).  I have tried
uncommenting all db repository lines, and commenting all file ones, and
it doesn't work.  I have reverted to using only file repos now.

I am thinking I might have some small stupid user error, so I will
include what I think is important below from my config.xml.

If you need any other info, please contact me.  Thanks!


File repository works fine...
<inboxRepository>
         <repository destinationURL="file://var/mail/inboxes/"
type="MAIL"/>
</inboxRepository>

DB doesn’t...
<inboxRepository>
         <repository destinationURL="db://maildb/inbox/" type="MAIL"/>
</inboxRepository>

DB connection configuration...
<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/James</dburl>
            <user>myrootusername</user>
            <password>myrootpass</password>
            <max>20</max>
         </data-source>

Any help is greatly appreciated!  Thank you in advance, Jim.

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to