Hi all,
I'm trying to config James to work with MySQL but it's failed.
In the phoenix log file:
1023882535403 [ERROR ] (Phoenix.kernel.james.lifecycle): Block named
"database-connections" failed to pass through the Initialization stage. (Reason:
java.lang.ClassNotFoundException: com.inet.tds.TdsDriver).
I use James 2.03a with jdk 1.3.
What can I do?
My config.xml:
<database-connections>
<!-- Confugure database connections here.
These connections are referred to by name elsewhere in the config file -->
<!-- CHECKME! To allow James to use a database, configure the database connection here
-->
<data-sources>
<!-- Example, connecting to a MySQL database called "mail" on localhost
-->
<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>
<user>root</user>
<password>pass</password>
<max>2</max>
</data-source>
<data-source name="maildb"
class="org.apache.james.util.mordred.JdbcDataSource">
<driver>com.inet.tds.TdsDriver</driver>
<dburl>jdbc:inetdae7:127.0.0.1?database=James</dburl>
<user>sa_james</user>
<password>pass</password>
<max>2</max>
</data-source>
</data-sources>
</database-connections>
Thank you very much.
Regards,
C.E.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>