Hi, I am new to James.  I read the instructions on
configuring the database-connections tag in the
config.xml file.  The instruction says that the child
element, data-source, of the database-connections tag
defines the database connections.  And each
data-source tag has a required attribute, name. This
value must be unique to each data-source element. 

I am a little confused and need clarification.  Take
the code below for example:

      <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?autoReconnect=true</dburl>
            <user>username</user>
            <password>password</password>
            <max>20</max>
      </data-source>

First, is "maildb" in the <data-source> tag the JNDI
name?

Second, is "mail" in the <dburl> tage the database
name?

Third, are we supposed to create a table in the "mail"
database for storing messages, usernames, etc.?

Thank you very much in advance.






__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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

Reply via email to