DEVTEST 10.6- IAM Service is not starting with MySQL 5.7 : Exception invoking method [listUnrunChangeSets] on object [liquibase.Liquibase
search cancel

DEVTEST 10.6- IAM Service is not starting with MySQL 5.7 : Exception invoking method [listUnrunChangeSets] on object [liquibase.Liquibase


Article ID: 220534


Updated On:


Service Virtualization


Hello ! 


My IAM service is not starting anymore . The problem is only seen after restarting the service. Upon the initial start of the IAM Service, the service is able to start and build out the tables. However, if the service is stopped and restarted, we see the error:

I have configured IAM with  MySQL 5.7.33 on a GCP environment. 

mysql-connector-java-8.0.25.jar  was used. 

Here is the content of my log file 


[root@srv-cadevtestduq01 log]# cat server.log
2021-07-22 15:53:48,680 INFO  [org.jboss.modules] (main) JBoss Modules version 1.6.1.Final
2021-07-22 15:53:48,738 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1
2021-07-22 15:53:48,854 INFO  [] (MSC service thread 1-8) WFLYSRV0049: Keycloak 3.4.3.Final (WildFly Core 3.0.8.Final) starting
2021-07-22 15:53:48,855 DEBUG [] (MSC service thread 1-8) Configured system properties:
        awt.toolkit = sun.awt.X11.XToolkit = true
        file.encoding = UTF-8
        file.encoding.pkg =
        file.separator = /
        iam.db.jdbc.driver.path = /opt/mysql-connector/mysql-connector-java-8.0.25.jar
        iam.db.vendor = mysql
        iam.keystore = /opt/CA/DevTest/IdentityAccessManager/certs/webreckeys.ks
        iam.keystore.password = <redacted>
        iam.truststore = /opt/CA/DevTest/IdentityAccessManager/certs/iam-truststore.ks
        java.runtime.version = 1.8.0_232-b09 = Java Platform API Specification
        java.specification.vendor = Oracle Corporation
        java.specification.version = 1.8
        java.util.logging.manager = org.jboss.logmanager.LogManager
        java.vendor = AdoptOpenJDK
        java.vendor.url =
        java.vendor.url.bug =
        java.version = 1.8.0_232 = mixed mode = OpenJDK 64-Bit Server VM = Java Virtual Machine Specification
        java.vm.specification.vendor = Oracle Corporation
        java.vm.specification.version = 1.8
        java.vm.vendor = AdoptOpenJDK
      , completed tasks = 93]

ERROR [] (ServerService Thread Pool -- 51) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./auth: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: java.lang.RuntimeException: RESTEASY003325: Failed to construct public,org.jboss.resteasy.core.Dispatcher)
        at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$
        at java.util.concurrent.Executors$

Caused by: java.lang.RuntimeException: Exception invoking method [listUnrunChangeSets] on object [liquibase.Liquibase@6e022594], using arguments [null,(),false]
        at org.keycloak.common.util.reflections.Reflections.invokeMethod(
        at org.keycloak.connections.jpa.updater.liquibase.LiquibaseJpaUpdaterProvider.getLiquibaseUnrunChangeSets(
        at org.keycloak.connections.jpa.updater.liquibase.LiquibaseJpaUpdaterProvider.validateChangeSet(
        at org.keycloak.connections.jpa.updater.liquibase.LiquibaseJpaUpdaterProvider.validate(


Release : 10.6

Component : CA Service Virtualization


MysQL version 5.7.33 and higher expects 8.0.26 connector jar but our 10.6 Keycloak doesn't support it.  Limitation with Keycloak.  


Please downgrade to MySQL server to 5.7.20 and then use mysql-connector-java-5.1.47.jar