Database
Configure Tomcat data sources
Edit the file $TOMCAT_HOME/remote-signature.properties:
MySQL:
Section titled “MySQL:”spring.datasource.driver-class-name=com.mysql.jdbc.Driverspring.datasource.url=jdbc:mysql://localhost:3306/remote-signature?useUnicode=true&characterEncoding=UTF8&serverTimezone=CET&nullNamePatternMatchesAll=truespring.datasource.username=openkmspring.datasource.password=*secret*MariaDB:
Section titled “MariaDB:”spring.datasource.driver-class-name=org.mariadb.jdbc.Driverspring.datasource.url=jdbc:mariadb://localhost:3306/remote-signature?autoReconnect=true&useUnicode=true&characterEncoding=UTF8&nullNamePatternMatchesAll=true&serverTimezone=Europe/Madridspring.datasource.username=openkmspring.datasource.password=*secret*PostgreSQL:
Section titled “PostgreSQL:”spring.datasource.driver-class-name=org.postgresql.Driverspring.datasource.url=jdbc:postgresql://localhost:5432/remote-signaturespring.datasource.username=openkmspring.datasource.password=*secret*spring.datasource.validationQuery=SELECT 1SQL Server:
Section titled “SQL Server:”spring.datasource.driver-class-name=com.microsoft.sqlserver.jdbc.SQLServerDriverspring.datasource.url=jdbc:sqlserver://localhost:1433;databaseName=remote-signaturespring.datasource.username=openkmspring.datasource.password=*secret*spring.datasource.validationQuery=SELECT 1H2:
spring.datasource.driver-class-name=org.h2.Driverspring.datasource.url=jdbc:h2:./remote-signaturespring.datasource.username=openkmspring.datasource.password=*secret*