KB0010617 Log ERROR: Database Failover Not Running in this Server

Applies to: Ephesoft Transact 4.0.4.0 or below

Issue

The following error appears in the logs:

4.0.4.0 Windows Server 2008 R2 2015-11-24 06:30:00,031 ERROR org.springframework.scheduling.quartz.SchedulerFactoryBean#5_Worker-5 com.ephesoft.dcma.workflows.service.alwayson.impl.AlwaysOnServiceImpl - Database Failover is not running under this server.

Root Cause

By default, the cron check for MSSQL AlwaysON db failover is set to ON. It should be OFF by default as most installations are not installed with MSSQL AlwaysOn driver.

Solution

In the dcma-workflow.properties file ([Ephesoft_Directory]\Application\WEB-INF\classes\META-INF\dcma-workflows), locate and set the following property:

dcma.alwayson.cronjob.expression=0 0/1 * ? * * 2099