Skip to content
VibecatDocumentation

Driver location

JDBC drivers are jars. Vibecat looks for them in the following places:

Location Purpose
lib folder of the Vibecat home The drivers every data source can use. Delivered: Microsoft SQL Server (mssql-jdbc), PostgreSQL (postgresql), Oracle (ojdbc11), MariaDB (mariadb-java-client 4.0.0) and Firebird (Jaybird, jaybird 6.0.7), plus the libraries of the plug-ins (Apache POI, BouncyCastle, zip4j, Tomcat DBCP).
libraries in vibecat.json Extra folders or jars on the class path of every web application (for example a driver the product ships itself). A profile such as the ELO IndexServer profile keeps its JDBC driver here.
plugins folder Jars of plug-ins; they see the classes of Vibecat and of lib.

Adding a driver

  1. Copy the driver jar into the lib folder of Vibecat (for the Windows service: the lib folder below the installation folder).
  2. Restart Vibecat - jars are read when the JVM starts.
  3. Open Configuration > Data sources > New data source. The dialog JDBC drivers on the lib path lists every driver found in lib with its driver class and URL template; pick one and the JDBC connection string assistant builds the URL from host, port and database name.

Which driver class and URL

Database Driver class URL template
SQL Server com.microsoft.sqlserver.jdbc.SQLServerDriver jdbc:sqlserver://host:1433;databaseName=db;encrypt=true;trustServerCertificate=true
PostgreSQL org.postgresql.Driver jdbc:postgresql://host:5432/db
Oracle oracle.jdbc.OracleDriver jdbc:oracle:thin:@//host:1521/service
MariaDB / MySQL org.mariadb.jdbc.Driver jdbc:mariadb://host:3306/db
Firebird org.firebirdsql.jdbc.FBDriver jdbc:firebird://host:3050/db (validation query SELECT 1 FROM RDB$DATABASE)

The Docker image keeps drivers in the lib volume (see the docker folder). Never put a password in the URL: use the user name and password fields of the definition - the global documentation masks credentials, but your backups and logs would still contain them.

WIKI · PRIVACY

Your cookie preferences

DokuWiki uses necessary cookies for sessions, sign-in and your preferences. Your choice is stored for one year in a site cookie. Optional external content is loaded only when you allow it. No analytics service is added by this plugin.

Only applies to content explicitly deferred by this plugin. Third-party providers may receive your IP address and set cookies when that content loads.

vibecat/datasources_drivers.txt · Last modified: by *.*.*.*