Symptoms
com.vmware.o11n.plugin.database.DatabaseException: java.sql.SQLException: No suitable driver found for jdbc:sqlserver://<connection_string>jdbc:jtds:sqlserver://db.example.com:1433/<other_options>;multiSubnetFailover=true
Microsoft's own closed-source JDBC driver for MSSQL has generally not been supported in vRO 8.x
The following drivers are supported by all versions Orchestrator SQL plugin provided in 8.x releases:
net.sourceforge.jtds.jdbc.Driver - expected connection string : jdbc:jtds:sqlserver:...oracle.jdbc.OracleDriver - expected connection string: jdbc:oracle:thin:...org.postgresql.Drivercom.mysql.jdbc.Driverorg.hsqldb.jdbcDriver - expected connection string: jdbc:hsqldb:...
Support for this driver is provided by the attached plugin file in this KB (or fix versions referenced below)
com.microsoft.sqlserver - expected connection string : jdbc:sqlserver:...Support for Microsoft's own MSSQL driver jdbc:sqlserver is included in the Aria Orchestrator SQL plugin versions provided in the following releases:
To provide support in Orchestrator 8.18.x without installing the patch, please follow these steps:
Before installing the plugin, run this command on the appliance to update the search path:
kubectl -n prelude get deployment vco-app -o yaml | sed "s/.\/create_server_symlinks \&\& rm/.\/create_server_symlinks \&\& echo \'CLASSPATH=\$CLASSPATH:\$(echo \"\/var\/run\/vco\/plugins\/SQL\/lib\/\"* | tr \" \" \":\" ) \' >> \/usr\/lib\/vco\/app-server\/bin\/setenv.sh \&\& rm/g" | kubectl -n prelude replace -f -
jdbc:sqlserver:// connection string
The open-source jTDS driver for MS SQL is supported out-of-the-box by Aria Orchestrator.
It can be downloaded from https://jtds.sourceforge.net/ and used with connection string jdbc:jtds:sqlserver://... as in the documentation Adding a JDBC connector for the Automation Orchestrator SQL plug-in