To change the driver for Backend & Log Database:
- Go to etc folder in Adeptia installation directory: …AdeptiaServer/ServerKernel/etc
- Take back-up of server-configure.properties file.
- Open server-configure.properties:
- To change driver for Backend Database, go to Database Configuration group.
- Change JDBC Database driver in the abpm.jdo.driver, paste the following value: com.microsoft.sqlserver.jdbc.SQLServerDriver.
- Change the JDO Database Connection URL by setting the JDBC connection URL in the abpm.jdo.url in the following format:
jdbc:sqlserver://<databaseServerName>:<port>; DatabaseName=<name of the database>
For the Named Instance, abpm.jdo.url will be in the following this format:
jdbc:sqlserver://<databaseServerName>:<port>; databaseName=<name of the database>;instanceName=<name of the instance>where,
<databaseServerName> is the host name where database server is running.
<port> port number on which database server is running.
<name of the database> is the name of the database.
<instanceName> is the name of named database instance.
For example,
jdbc:sqlserver://127.0.0.1:1433;databaseName=backend;instanceName=production
- To change driver for Log Database, go to Database Appender group.
- Change JDBC Database driver in the log4j.appender.jdbc.dbclass. Paste the following value: com.microsoft.sqlserver.jdbc.SQLServerDriver.
- Change the JDBC connection URL and set the JDBC connection URL in the log4j.appender.jdbc.url in the following format:
jdbc:sqlserver://<databaseServerName>:<port>; DatabaseName=<name of the database>
For the Named Instance, log4j.appender.jdbc.url will be in the following format:jdbc:sqlserver://<databaseServerName>:<port>; databaseName=<name of the database>;instanceName=<name of the instance>
where,
<databaseServerName> is the host name where database server is running.
<port> port number on which database server is running.
<name of the database> is the name of the database.
<instanceName> is the name of named database instance.
For example,
jdbc:sqlserver://127.0.0.1:1433;databaseName=log;instanceName=production
- Save and exit the file.
To change the driver for Quartz Database:
- Go to etc folder in Adeptia installation directory: …AdeptiaServer/ServerKernel/etc
- Take back-up of quartz.properties file.
- Open quartz.properties file.
- Go to Configure Datasources group, set the value of org.quartz.dataSource.aBPM.driver as com.microsoft.sqlserver.jdbc.SQLServerDriver.
- Set the JDBC connection URL in the org.quartz.dataSource.aBPM.URL in this format:
jdbc:sqlserver://<<Database Server>>:<<port>>; databaseName=<<name of the database>>
For Named Instance, set the JDBC connection URL in the org.quartz.dataSource.aBPM.URL in the following format:
jdbc:sqlserver://<databaseServerName>:<port>; databaseName=<name of the database>;instanceName=<name of the instance>where,
<databaseServerName> is the host name where database server is running.
<port> port number on which database server is running.
<name of the database> is the name of the database.
<instanceName> is the name of named database instance.
For example,
jdbc:sqlserver://127.0.0.1:1433;databaseName=backend;instanceName=production
- Save and exit the file.