I have also tried editing my startup command as follows but still getting the same result:
java -javaagent:james-server-jpa-app.lib\openjpa-3.2.0.jar -Dworking.directory=. -Djdk.tls.ephemeralDHKeySize=2048 -Dlogback.configurationFile=conf\logback.xml -cp "james-server-jpa-app.jar:james-server-jpa-app.lib/*: extension-jars/mssql-jdbc-7.4.1.jre8.jar" -jar james-server-jpa-app.jar Thanks Matt On Fri, 20 Oct 2023 at 14:59, Matt Pryor <pr...@international-presence.com> wrote: > 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: pr...@presencebpm.com > URL: www.International-presence.com > > > -- Kind regards Matt Pryor Software Developer The International Presence Group of Companies EMAIL: pr...@presencebpm.com URL: www.International-presence.com