Using James 3.8.0 with Microsoft SQL Server

Matt Pryor <[email protected]>
Newsgroups gmane.comp.jakarta.james.user
Message-ID <CABpRBaZLtdqn6KmDn_sUriFnVFQ2ySkKH+EZSV2oH-Fd4oBomQ@mail.gmail.com>
Hello

I have the following in james-database.properties:

database.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
database.url=jdbc:sqlserver://sqlserver_host_name;DatabaseName=apache_james
database.username=james
database.password=xxxxxxxxx

vendorAdapter.database=SQL_SERVER

I'm getting ClassNotFoundException for SQLServerDriver.

The driver jar is in /extension-jars

I have also tried putting it in james-server-jpa-app.lib but still getting
the same error.

Is there somewhere else I have to specify the jar location so it gets
included in the classpath?

Regards
Matt



-- 
Kind regards
Matt Pryor
Software Developer

The International Presence Group of Companies
EMAIL: [email protected]
URL: www.International-presence.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.