Advertisement
k-joseph

Untitled

Jun 12th, 2014
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.39 KB | None | 0 0
  1. INFO 6/12/14 11:47 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
  2. INFO 6/12/14 11:47 PM:liquibase: Reading from `liquibasechangelog`
  3. INFO 6/12/14 11:47 PM:liquibase: Successfully acquired change log lock
  4. INFO 6/12/14 11:47 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
  5. INFO 6/12/14 11:47 PM:liquibase: Reading from `liquibasechangelog`
  6. INFO 6/12/14 11:47 PM:liquibase: ChangeSet liquibase.xml::CSM-58-01062014::k-joseph ran successfully in 209ms
  7. INFO 6/12/14 11:47 PM:liquibase: ChangeSet liquibase.xml::CSM-58-020620141120::k-joseph ran successfully in 51ms
  8. SEVERE 6/12/14 11:47 PM:liquibase: Change Set liquibase.xml::CSM-58-120620141637::k-joseph failed. Error: Error executing SQL ALTER TABLE `chartsearch_categories` ADD CONSTRAINT `category_sub_category_fk` FOREIGN KEY (`category_id`) REFERENCES `chartsearch_sub_categories` (`category_id`): Can't create table 'openmrs.#sql-d4f_63b' (errno: 150)
  9. liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE `chartsearch_categories` ADD CONSTRAINT `category_sub_category_fk` FOREIGN KEY (`category_id`) REFERENCES `chartsearch_sub_categories` (`category_id`): Can't create table 'openmrs.#sql-d4f_63b' (errno: 150)
  10. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62)
  11. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:104)
  12. at liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1091)
  13. at liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:1075)
  14. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:317)
  15. at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
  16. at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:202)
  17. at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
  18. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:231)
  19. at org.openmrs.module.ModuleFactory.runLiquibase(ModuleFactory.java:798)
  20. at org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:581)
  21. at org.openmrs.api.context.Daemon$1.run(Daemon.java:58)
  22. Caused by: java.sql.SQLException: Can't create table 'openmrs.#sql-d4f_63b' (errno: 150)
  23. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1086)
  24. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)
  25. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
  26. at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2617)
  27. at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2778)
  28. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2819)
  29. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2768)
  30. at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:949)
  31. at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:795)
  32. at liquibase.executor.jvm.JdbcExecutor$1ExecuteStatementCallback.doInStatement(JdbcExecutor.java:92)
  33. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
  34. ... 11 more
  35. INFO 6/12/14 11:47 PM:liquibase: Successfully released change log lock
  36. WARN - ModuleFactory.startModuleInternal(637) |2014-06-12 23:47:37,562| Error while trying to start module: chartsearch
  37. org.openmrs.module.ModuleException: Unable to update data model using liquibase.xml. Module: Chart Search Module
  38. at org.openmrs.module.ModuleFactory.runLiquibase(ModuleFactory.java:808)
  39. at org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:581)
  40. at org.openmrs.api.context.Daemon$1.run(Daemon.java:58)
  41. Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase.xml::CSM-58-120620141637::k-joseph:
  42. Reason: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE `chartsearch_categories` ADD CONSTRAINT `category_sub_category_fk` FOREIGN KEY (`category_id`) REFERENCES `chartsearch_sub_categories` (`category_id`): Can't create table 'openmrs.#sql-d4f_63b' (errno: 150):
  43. Caused By: Error executing SQL ALTER TABLE `chartsearch_categories` ADD CONSTRAINT `category_sub_category_fk` FOREIGN KEY (`category_id`) REFERENCES `chartsearch_sub_categories` (`category_id`): Can't create table 'openmrs.#sql-d4f_63b' (errno: 150):
  44. Caused By: Can't create table 'openmrs.#sql-d4f_63b' (errno: 150)
  45. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:347)
  46. at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
  47. at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:202)
  48. at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
  49. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:231)
  50. at org.openmrs.module.ModuleFactory.runLiquibase(ModuleFactory.java:798)
  51. ... 2 more
  52. Caused by: liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE `chartsearch_categories` ADD CONSTRAINT `category_sub_category_fk` FOREIGN KEY (`category_id`) REFERENCES `chartsearch_sub_categories` (`category_id`): Can't create table 'openmrs.#sql-d4f_63b' (errno: 150)
  53. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62)
  54. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:104)
  55. at liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1091)
  56. at liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:1075)
  57. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:317)
  58. ... 7 more
  59. Caused by: java.sql.SQLException: Can't create table 'openmrs.#sql-d4f_63b' (errno: 150)
  60. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1086)
  61. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)
  62. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
  63. at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2617)
  64. at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2778)
  65. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2819)
  66. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2768)
  67. at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:949)
  68. at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:795)
  69. at liquibase.executor.jvm.JdbcExecutor$1ExecuteStatementCallback.doInStatement(JdbcExecutor.java:92)
  70. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
  71. ... 11 more
  72. INFO - LoggingAdvice.invoke(117) |2014-06-12 23:47:37,707| In method AlertService.saveAlert. Arguments: Alert=Alert: #null,
  73. INFO - LoggingAdvice.invoke(154) |2014-06-12 23:47:37,721| Exiting method saveAlert
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement