Syncope (TIdM) with MySQL - Login to Syncope console is not possible


When logging on to the Syncope console, the following error appears: Alert: Session expired: please login again.



Check to see if the Syncope module is deployed. In the catalina.out logs, you will see that it isn't:

28-Jun-2017 10:14:55.179 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Error listenerStart 
28-Jun-2017 10:14:55.181 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [/syncope] startup failed due to previous errors



In the localhost log for Tomcat you will see an error. It is pointing to a file that is not being found.

Note: It is important to look in the localhost*.log as well as the catalina.out log. class path resource [audit/audit_sqlServer.sql] cannot be opened because it does not exist


If you check the configuration, is pointing to this file. Since you are using MySQL, make the following changes to the config file:

## for mysql 
## for mssql 

After restarting Tomcat, everything should work properly with no errors.


Additional Information

All the steps of setting up Syncope with a database are provided here:

Version history
Revision #:
8 of 8
Last update:
‎07-05-2019 04:05 AM
Updated by: