Hi, I have installed Appian 7.9 and JBoss. During Jboss server start up I am get

Hi, I have installed Appian 7.9 and JBoss. During Jboss server start up I am getting below errors. Could anyone tell me what action need to be taken to resolve this issue?

Caused by: java.lang.IllegalStateException: liquibase.exception.MigrationFailedException: Migration failed for change set db-changelog-000005.xml::000005.1.0::appian:
Reason: liquibase.exception.DatabaseException: Error executing SQL UPDATE `DATABASECHANGELOG` SET `TAG` = '6.6.1.0' WHERE DATEEXECUTED = (SELECT MAX(DATEEXECUTED) FROM (SELECT DATEEXECUTED FROM `DATABASECHANGELOG`) AS X): You can't specify target table 'DATABASECHANGELOG' for update in FROM clause:
Caused By: Error executing SQL UPDATE `DATABASECHANGELOG` SET `TAG` = '6.6.1.0' WHERE DATEEXECUTED = (SELECT MAX(DATEEXECUTED) FROM (SELECT DATEEXECUTED FROM `DATABASECHANGELOG`) AS X): You can't specify target table 'DATABASECHANGELOG' for update in FROM clause:
Caused By: You can't...

OriginalPostID-152223

OriginalPostID-152223

  Discussion posts and replies are publicly visible

Parents
  • Hi, As you suggested i cross checked my MySql version and connector version. They are as below
    MySQL Server - Server version: 5.6.25 MySQL Community Server (GPL)


    But still when i try to start JBOss i am getting the below error. Please find the log file attached

    ERROR liquibase - Error executing SQL ALTER TABLE `client_cert_chains` ADD CONSTRAINT `ccc_ccid_fk` FOREIGN KEY (`client_cert_id`) REFERENCES `client_cert` (`id`) ON DELETE CASCADE
    09:01:19,358 INFO [stdout] (ServerService Thread Pool -- 67) java.sql.SQLException: Cannot add foreign key constraint

    server.log

Reply
  • Hi, As you suggested i cross checked my MySql version and connector version. They are as below
    MySQL Server - Server version: 5.6.25 MySQL Community Server (GPL)


    But still when i try to start JBOss i am getting the below error. Please find the log file attached

    ERROR liquibase - Error executing SQL ALTER TABLE `client_cert_chains` ADD CONSTRAINT `ccc_ccid_fk` FOREIGN KEY (`client_cert_id`) REFERENCES `client_cert` (`id`) ON DELETE CASCADE
    09:01:19,358 INFO [stdout] (ServerService Thread Pool -- 67) java.sql.SQLException: Cannot add foreign key constraint

    server.log

Children
No Data