Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot load drivers for SQL Server on WSO2 Data Services Server

I am attempting to create a new Data Service in WSO2 Data Services Server to connect with SQL Server 2005. However, every time I test the connection I receive the error message "Driver class com.microsoft.jdbc.sqlserver.SQLServerDriver can not be loaded".

Data Source Type: RDBMS, Non-XA-DataSource
Database Engine: Microsoft SQL Server
Driver: com.microsoft.jdbc.sqlserver.SQLServerDriver 
...

I don't believe my connection string or credentials are a problem as it fails on loading the driver.

What is the step that I'm missing in this process?

like image 372
Scott Avatar asked Jan 19 '26 07:01

Scott


1 Answers

You have to put the Microsoft SQL driver jar inside repository/components/lib of DSS distribution in order to load the driver class.

like image 89
Lakmali Erandi Baminiwatta Avatar answered Jan 23 '26 07:01

Lakmali Erandi Baminiwatta



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!