Guest User

Untitled

a guest
Jun 29th, 2020
19
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. C:\Users\SHARIF\Tickets\openmrs-core\webapp>mvn jetty:run
  3. [INFO] Scanning for projects...
  4. [INFO]
  5. [INFO] ------------------------------------------------------------------------
  6. [INFO] Building openmrs-webapp 2.4.0-SNAPSHOT
  7. [INFO] ------------------------------------------------------------------------
  8. [INFO]
  9. [INFO] >>> jetty-maven-plugin:9.4.25.v20191220:run (default-cli) > test-compile @ openmrs-webapp >>>
  10. [INFO]
  11. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs-webapp ---
  12. [INFO] Checking for local modifications: skipped.
  13. [INFO] Updating project files from SCM: skipped.
  14. [INFO] ShortRevision tag detected. The value is '6'.
  15. [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
  16. [INFO] Working directory: C:\Users\SHARIF\Tickets\openmrs-core\webapp
  17. [INFO] Storing buildNumber: 885d77 at timestamp: 1593418090412
  18. [INFO] ShortRevision tag detected. The value is '6'.
  19. [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
  20. [INFO] Working directory: C:\Users\SHARIF\Tickets\openmrs-core\webapp
  21. [INFO] Storing buildScmBranch: UNKNOWN
  22. [INFO]
  23. [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-webapp ---
  24. [INFO]
  25. [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ openmrs-webapp ---
  26. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  27. [INFO] Copying 2 resources
  28. [INFO] Copying 1 resource to ../jetty
  29. [INFO]
  30. [INFO] --- maven-antrun-plugin:1.4:run (default) @ openmrs-webapp ---
  31. project.artifactId
  32. [INFO] Executing tasks
  33. [unzip] Expanding: C:\Users\SHARIF\Tickets\openmrs-core\webapp\src\main\resources\liquibase-demo-data.zip into C:\Users\SHARIF\Tickets\openmrs-core\webapp\target\classes
  34. [INFO] Executed tasks
  35. [INFO]
  36. [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ openmrs-webapp ---
  37. [INFO] No sources to compile
  38. [INFO]
  39. [INFO] --- maven-resources-plugin:2.4:testResources (default-testResources) @ openmrs-webapp ---
  40. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  41. [INFO] Copying 1 resource
  42. [INFO]
  43. [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ openmrs-webapp ---
  44. [INFO] Nothing to compile - all classes are up to date
  45. [INFO]
  46. [INFO] <<< jetty-maven-plugin:9.4.25.v20191220:run (default-cli) < test-compile @ openmrs-webapp <<<
  47. [INFO]
  48. [INFO]
  49. [INFO] --- jetty-maven-plugin:9.4.25.v20191220:run (default-cli) @ openmrs-webapp ---
  50. [INFO] Logging initialized @32837ms to org.eclipse.jetty.util.log.Slf4jLog
  51. [INFO] webAppSourceDirectory not set. Trying src\main\webapp
  52. [INFO] Reload Mechanic: automatic
  53. [INFO] nonBlocking:false
  54. [INFO] Classes = C:\Users\SHARIF\Tickets\openmrs-core\webapp\target\classes
  55. [INFO] Configuring Jetty for project: openmrs-webapp
  56. [INFO] Context path = /openmrs
  57. [INFO] Tmp directory = C:\Users\SHARIF\Tickets\openmrs-core\webapp\target\tmp
  58. [INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
  59. [INFO] Web overrides = src/test/resources/override-web.xml
  60. [INFO] web.xml file = C:\Users\SHARIF\Tickets\openmrs-core\webapp\target/jetty/WEB-INF/web.xml
  61. [INFO] Webapp directory = C:\Users\SHARIF\Tickets\openmrs-core\webapp\src\main\webapp
  62. [INFO] jetty-9.4.25.v20191220; built: 2019-12-20T17:00:00.294Z; git: a9729c7e7f33a459d2616a8f9e9ba8a90f432e95; jvm 1.8.0_151-b12
  63. [INFO] Scanning elapsed time=21707ms
  64. [INFO] No Spring WebApplicationInitializer types detected on classpath
  65. [INFO] DefaultSessionIdManager workerName=node0
  66. [INFO] No SessionScavenger set, using defaults
  67. [INFO] node0 Scavenging every 600000ms
  68. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2122) |2020-06-29T11:08:57,942| Unable to find a runtime properties file at C:\Users\SHARIF\Tickets\openmrs-core\webapp\openmrs-runtime.properties
  69. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2150) |2020-06-29T11:08:58,012| Unable to find properties file: C:\Users\SHARIF\Application Data\OpenMRS\openmrs-runtime.properties
  70. WARN - OpenmrsUtil.getRuntimeProperties(2083) |2020-06-29T11:08:58,013| Unable to find a runtime properties file. Initial setup is needed. View the webapp to run the setup wizard.
  71. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2122) |2020-06-29T11:08:58,441| Unable to find a runtime properties file at C:\Users\SHARIF\Tickets\openmrs-core\webapp\openmrs-runtime.properties
  72. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2150) |2020-06-29T11:08:58,444| Unable to find properties file: C:\Users\SHARIF\Application Data\OpenMRS\openmrs-runtime.properties
  73. WARN - OpenmrsUtil.getRuntimeProperties(2083) |2020-06-29T11:08:58,445| Unable to find a runtime properties file. Initial setup is needed. View the webapp to run the setup wizard.
  74. [INFO] Started o.e.j.m.p.JettyWebAppContext@2149594a{OpenMRS,/openmrs,file:///C:/Users/SHARIF/Tickets/openmrs-core/webapp/src/main/webapp/,AVAILABLE}{file:///C:/Users/SHARIF/Tickets/openmrs-core/webapp/src/main/webapp/}
  75. [INFO] Started ServerConnector@13f40d71{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
  76. [INFO] Started @65622ms
  77. [INFO] Started Jetty Server
  78. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2122) |2020-06-29T11:10:31,260| Unable to find a runtime properties file at C:\Users\SHARIF\Tickets\openmrs-core\webapp\openmrs-runtime.properties
  79. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2150) |2020-06-29T11:10:31,262| Unable to find properties file: C:\Users\SHARIF\Application Data\OpenMRS\openmrs-runtime.properties
  80. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:09,199| Executing with the 'jdbc' executor
  81. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:09,243| SELECT MD5SUM FROM openmrs.liquibasechangelog WHERE MD5SUM IS NOT NULL LIMIT 1
  82. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:09,243| Can not use class liquibase.parser.core.json.JsonChangeLogParser as a Liquibase service because org.yaml.snakeyaml.constructor.BaseConstructor is not in the classpath
  83. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:09,243| Can not use class liquibase.parser.core.yaml.YamlChangeLogParser as a Liquibase service because org.yaml.snakeyaml.constructor.BaseConstructor is not in the classpath
  84. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:12,140| Executing with the 'jdbc' executor
  85. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:12,156| SELECT COUNT(*) FROM openmrs.liquibasechangelog
  86. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:12,156| Reading from openmrs.liquibasechangelog
  87. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:12,156| Executing with the 'jdbc' executor
  88. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:12,156| SELECT * FROM openmrs.liquibasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
  89. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:12,295| Executing with the 'jdbc' executor
  90. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:12,299| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
  91. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:12,304| Executing with the 'jdbc' executor
  92. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:12,306| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
  93. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:13,870| Executing with the 'jdbc' executor
  94. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:13,870| SELECT `LOCKED` FROM openmrs.liquibasechangeloglock WHERE ID=1
  95. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:14,011| Executing with the 'jdbc' executor
  96. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:14,270| Successfully acquired change log lock
  97. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:15,133| Executing with the 'jdbc' executor
  98. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:15,138| CREATE TABLE openmrs.allergy (allergy_id INT AUTO_INCREMENT NOT NULL, patient_id INT NOT NULL, severity_concept_id INT NULL, coded_allergen INT NOT NULL, non_coded_allergen VARCHAR(255) NULL, allergen_type VARCHAR(50) NOT NULL, comments VARCHAR(1024) NULL, creator INT NOT NULL, date_created datetime NOT NULL, changed_by INT NULL, date_changed datetime NULL, voided TINYINT(1) DEFAULT 1 NOT NULL, voided_by INT NULL, date_voided datetime NULL, void_reason VARCHAR(255) NULL, uuid CHAR(38) NULL, CONSTRAINT PK_ALLERGY PRIMARY KEY (allergy_id), UNIQUE (allergy_id))
  99. ERROR - Slf4jLogger.severe(22) |2020-06-29T11:11:15,310| Change Set liquibase-schema-only.xml::1582473628795-1::wolf (generated) failed. Error: Table 'allergy' already exists [Failed SQL: (1050) CREATE TABLE openmrs.allergy (allergy_id INT AUTO_INCREMENT NOT NULL, patient_id INT NOT NULL, severity_concept_id INT NULL, coded_allergen INT NOT NULL, non_coded_allergen VARCHAR(255) NULL, allergen_type VARCHAR(50) NOT NULL, comments VARCHAR(1024) NULL, creator INT NOT NULL, date_created datetime NOT NULL, changed_by INT NULL, date_changed datetime NULL, voided TINYINT(1) DEFAULT 1 NOT NULL, voided_by INT NULL, date_voided datetime NULL, void_reason VARCHAR(255) NULL, uuid CHAR(38) NULL, CONSTRAINT PK_ALLERGY PRIMARY KEY (allergy_id), UNIQUE (allergy_id))]
  100. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:15,313| Executing with the 'jdbc' executor
  101. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:15,367| Successfully released change log lock
  102. WARN - InitializationFilter$InitializationCompletion$1.run(1616) |2020-06-29T11:11:15,367| Error while trying to create tables and demo data
  103. org.openmrs.util.DatabaseUpdateException: There was an error while updating the database to the latest. file: org\openmrs\liquibase\snapshots\schema-only\liquibase-schema-only-2.3.x.xml. Error: Migration failed for change set liquibase-schema-only.xml::1582473628795-1::wolf (generated):
  104. Reason: liquibase.exception.DatabaseException: Table 'allergy' already exists [Failed SQL: (1050) CREATE TABLE openmrs.allergy (allergy_id INT AUTO_INCREMENT NOT NULL, patient_id INT NOT NULL, severity_concept_id INT NULL, coded_allergen INT NOT NULL, non_coded_allergen VARCHAR(255) NULL, allergen_type VARCHAR(50) NOT NULL, comments VARCHAR(1024) NULL, creator INT NOT NULL, date_created datetime NOT NULL, changed_by INT NULL, date_changed datetime NULL, voided TINYINT(1) DEFAULT 1 NOT NULL, voided_by INT NULL, date_voided datetime NULL, void_reason VARCHAR(255) NULL, uuid CHAR(38) NULL, CONSTRAINT PK_ALLERGY PRIMARY KEY (allergy_id), UNIQUE (allergy_id))]
  105. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:188) ~[classes/:?]
  106. at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run(InitializationFilter.java:1597) [classes/:?]
  107. at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
  108. Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-schema-only.xml::1582473628795-1::wolf (generated):
  109. Reason: liquibase.exception.DatabaseException: Table 'allergy' already exists [Failed SQL: (1050) CREATE TABLE openmrs.allergy (allergy_id INT AUTO_INCREMENT NOT NULL, patient_id INT NOT NULL, severity_concept_id INT NULL, coded_allergen INT NOT NULL, non_coded_allergen VARCHAR(255) NULL, allergen_type VARCHAR(50) NOT NULL, comments VARCHAR(1024) NULL, creator INT NOT NULL, date_created datetime NOT NULL, changed_by INT NULL, date_changed datetime NULL, voided TINYINT(1) DEFAULT 1 NOT NULL, voided_by INT NULL, date_voided datetime NULL, void_reason VARCHAR(255) NULL, uuid CHAR(38) NULL, CONSTRAINT PK_ALLERGY PRIMARY KEY (allergy_id), UNIQUE (allergy_id))]
  110. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:659) ~[liquibase-core-3.10.0.jar:?]
  111. at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:53) ~[liquibase-core-3.10.0.jar:?]
  112. at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:221) ~[classes/:?]
  113. at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:97) ~[liquibase-core-3.10.0.jar:?]
  114. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:256) ~[classes/:?]
  115. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:183) ~[classes/:?]
  116. ... 2 more
  117. Caused by: liquibase.exception.DatabaseException: Table 'allergy' already exists [Failed SQL: (1050) CREATE TABLE openmrs.allergy (allergy_id INT AUTO_INCREMENT NOT NULL, patient_id INT NOT NULL, severity_concept_id INT NULL, coded_allergen INT NOT NULL, non_coded_allergen VARCHAR(255) NULL, allergen_type VARCHAR(50) NOT NULL, comments VARCHAR(1024) NULL, creator INT NOT NULL, date_created datetime NOT NULL, changed_by INT NULL, date_changed datetime NULL, voided TINYINT(1) DEFAULT 1 NOT NULL, voided_by INT NULL, date_voided datetime NULL, void_reason VARCHAR(255) NULL, uuid CHAR(38) NULL, CONSTRAINT PK_ALLERGY PRIMARY KEY (allergy_id), UNIQUE (allergy_id))]
  118. at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:430) ~[liquibase-core-3.10.0.jar:?]
  119. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:87) ~[liquibase-core-3.10.0.jar:?]
  120. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:159) ~[liquibase-core-3.10.0.jar:?]
  121. at liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1276) ~[liquibase-core-3.10.0.jar:?]
  122. at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1258) ~[liquibase-core-3.10.0.jar:?]
  123. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:622) ~[liquibase-core-3.10.0.jar:?]
  124. at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:53) ~[liquibase-core-3.10.0.jar:?]
  125. at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:221) ~[classes/:?]
  126. at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:97) ~[liquibase-core-3.10.0.jar:?]
  127. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:256) ~[classes/:?]
  128. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:183) ~[classes/:?]
  129. ... 2 more
  130. Caused by: java.sql.SQLSyntaxErrorException: Table 'allergy' already exists
  131. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) ~[mysql-connector-java-8.0.20.jar:8.0.20]
  132. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) ~[mysql-connector-java-8.0.20.jar:8.0.20]
  133. at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[mysql-connector-java-8.0.20.jar:8.0.20]
  134. at com.mysql.cj.jdbc.StatementImpl.executeInternal(StatementImpl.java:764) ~[mysql-connector-java-8.0.20.jar:8.0.20]
  135. at com.mysql.cj.jdbc.StatementImpl.execute(StatementImpl.java:648) ~[mysql-connector-java-8.0.20.jar:8.0.20]
  136. at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:426) ~[liquibase-core-3.10.0.jar:?]
  137. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:87) ~[liquibase-core-3.10.0.jar:?]
  138. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:159) ~[liquibase-core-3.10.0.jar:?]
  139. at liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1276) ~[liquibase-core-3.10.0.jar:?]
  140. at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1258) ~[liquibase-core-3.10.0.jar:?]
  141. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:622) ~[liquibase-core-3.10.0.jar:?]
  142. at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:53) ~[liquibase-core-3.10.0.jar:?]
  143. at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:221) ~[classes/:?]
  144. at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:97) ~[liquibase-core-3.10.0.jar:?]
  145. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:256) ~[classes/:?]
  146. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:183) ~[classes/:?]
  147. ... 2 more
  148. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,037| Executing with the 'jdbc' executor
  149. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,040| SELECT MD5SUM FROM openmrs.liquibasechangelog WHERE MD5SUM IS NOT NULL LIMIT 1
  150. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,158| Executing with the 'jdbc' executor
  151. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,176| SELECT COUNT(*) FROM openmrs.liquibasechangelog
  152. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,188| Reading from openmrs.liquibasechangelog
  153. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,196| Executing with the 'jdbc' executor
  154. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,197| SELECT * FROM openmrs.liquibasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
  155. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,333| Executing with the 'jdbc' executor
  156. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,363| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
  157. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,373| Executing with the 'jdbc' executor
  158. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,380| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
  159. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,415| Executing with the 'jdbc' executor
  160. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,432| SELECT `LOCKED` FROM openmrs.liquibasechangeloglock WHERE ID=1
  161. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,452| Executing with the 'jdbc' executor
  162. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,511| Successfully acquired change log lock
  163. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,574| Executing with the 'jdbc' executor
  164. INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,621| Successfully released change log lock
  165. [INFO] Initializing Spring root WebApplicationContext
  166. INFO - EhCacheManagerFactoryBean.afterPropertiesSet(134) |2020-06-29T11:11:33,060| Initializing EhCache CacheManager
  167. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2122) |2020-06-29T11:12:39,094| Unable to find a runtime properties file at C:\Users\SHARIF\Tickets\openmrs-core\webapp\openmrs-runtime.properties
  168. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2150) |2020-06-29T11:12:39,169| Unable to find properties file: C:\Users\SHARIF\Application Data\OpenMRS\openmrs-runtime.properties
  169. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2122) |2020-06-29T11:12:39,247| Unable to find a runtime properties file at C:\Users\SHARIF\Tickets\openmrs-core\webapp\openmrs-runtime.properties
  170. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2122) |2020-06-29T11:12:39,249| Unable to find a runtime properties file at C:\Users\SHARIF\Tickets\openmrs-core\webapp\openmrs-runtime.properties
  171. WARN - Listener.loadBundledModules(500) |2020-06-29T11:12:39,297| Bundled module folder doesn't exist: C:\Users\SHARIF\Tickets\openmrs-core\webapp\src\main\webapp\WEB-INF\bundledModules
  172. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2122) |2020-06-29T11:12:39,300| Unable to find a runtime properties file at C:\Users\SHARIF\Tickets\openmrs-core\webapp\openmrs-runtime.properties
  173. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(67) |2020-06-29T11:12:41,308| identifying the Liquibase snapshot version that had been used to initialize the OpenMRS database...
  174. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(80) |2020-06-29T11:12:41,375| looking for un-run change sets in snapshot version '2.3.x'
  175. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:42,180| Executing with the 'jdbc' executor
  176. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:42,180| SELECT MD5SUM FROM openmrs.liquibasechangelog WHERE MD5SUM IS NOT NULL LIMIT 1
  177. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:43,028| Executing with the 'jdbc' executor
  178. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:43,044| SELECT COUNT(*) FROM openmrs.liquibasechangelog
  179. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:43,050| Reading from openmrs.liquibasechangelog
  180. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:43,050| Executing with the 'jdbc' executor
  181. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:43,054| SELECT * FROM openmrs.liquibasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
  182. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:43,121| Executing with the 'jdbc' executor
  183. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:43,123| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
  184. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:43,129| Executing with the 'jdbc' executor
  185. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:43,130| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
  186. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(93) |2020-06-29T11:12:44,188| file 'org\openmrs\liquibase\snapshots\schema-only\liquibase-schema-only-2.3.x.xml' contains 875 un-run change sets
  187. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:44,324| Executing with the 'jdbc' executor
  188. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:44,327| SELECT MD5SUM FROM openmrs.liquibasechangelog WHERE MD5SUM IS NOT NULL LIMIT 1
  189. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:44,548| Executing with the 'jdbc' executor
  190. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:44,555| SELECT COUNT(*) FROM openmrs.liquibasechangelog
  191. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:44,557| Reading from openmrs.liquibasechangelog
  192. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:44,558| Executing with the 'jdbc' executor
  193. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:44,559| SELECT * FROM openmrs.liquibasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
  194. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:44,611| Executing with the 'jdbc' executor
  195. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:44,622| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
  196. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:44,625| Executing with the 'jdbc' executor
  197. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:44,627| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
  198. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(93) |2020-06-29T11:12:45,001| file 'org\openmrs\liquibase\snapshots\core-data\liquibase-core-data-2.3.x.xml' contains 24 un-run change sets
  199. WARN - Slf4jLogger.warning(32) |2020-06-29T11:12:45,004| Failed to restore the auto commit to true
  200. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(80) |2020-06-29T11:12:45,005| looking for un-run change sets in snapshot version '2.2.x'
  201. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:45,179| Executing with the 'jdbc' executor
  202. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:45,184| SELECT MD5SUM FROM openmrs.liquibasechangelog WHERE MD5SUM IS NOT NULL LIMIT 1
  203. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:45,614| Executing with the 'jdbc' executor
  204. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:45,619| SELECT COUNT(*) FROM openmrs.liquibasechangelog
  205. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:45,624| Reading from openmrs.liquibasechangelog
  206. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:45,625| Executing with the 'jdbc' executor
  207. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:45,626| SELECT * FROM openmrs.liquibasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
  208. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:45,675| Executing with the 'jdbc' executor
  209. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:45,676| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
  210. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:45,682| Executing with the 'jdbc' executor
  211. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:45,685| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
  212. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(93) |2020-06-29T11:12:46,470| file 'org\openmrs\liquibase\snapshots\schema-only\liquibase-schema-only-2.2.x.xml' contains 871 un-run change sets
  213. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:46,623| Executing with the 'jdbc' executor
  214. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:46,627| SELECT MD5SUM FROM openmrs.liquibasechangelog WHERE MD5SUM IS NOT NULL LIMIT 1
  215. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:46,834| Executing with the 'jdbc' executor
  216. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:46,839| SELECT COUNT(*) FROM openmrs.liquibasechangelog
  217. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:46,844| Reading from openmrs.liquibasechangelog
  218. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:46,845| Executing with the 'jdbc' executor
  219. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:46,846| SELECT * FROM openmrs.liquibasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
  220. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:46,904| Executing with the 'jdbc' executor
  221. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:46,907| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
  222. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:46,912| Executing with the 'jdbc' executor
  223. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:46,913| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
  224. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(93) |2020-06-29T11:12:47,058| file 'org\openmrs\liquibase\snapshots\core-data\liquibase-core-data-2.2.x.xml' contains 24 un-run change sets
  225. WARN - Slf4jLogger.warning(32) |2020-06-29T11:12:47,059| Failed to restore the auto commit to true
  226. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(80) |2020-06-29T11:12:47,060| looking for un-run change sets in snapshot version '2.1.x'
  227. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:47,446| Executing with the 'jdbc' executor
  228. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:47,447| SELECT MD5SUM FROM openmrs.liquibasechangelog WHERE MD5SUM IS NOT NULL LIMIT 1
  229. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:47,779| Executing with the 'jdbc' executor
  230. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:47,780| SELECT COUNT(*) FROM openmrs.liquibasechangelog
  231. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:47,786| Reading from openmrs.liquibasechangelog
  232. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:47,787| Executing with the 'jdbc' executor
  233. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:47,788| SELECT * FROM openmrs.liquibasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
  234. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:47,840| Executing with the 'jdbc' executor
  235. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:47,841| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
  236. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:47,847| Executing with the 'jdbc' executor
  237. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:47,849| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
  238. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(93) |2020-06-29T11:12:48,623| file 'org\openmrs\liquibase\snapshots\schema-only\liquibase-schema-only-2.1.x.xml' contains 815 un-run change sets
  239. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:48,763| Executing with the 'jdbc' executor
  240. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:48,763| SELECT MD5SUM FROM openmrs.liquibasechangelog WHERE MD5SUM IS NOT NULL LIMIT 1
  241. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:48,909| Executing with the 'jdbc' executor
  242. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:48,915| SELECT COUNT(*) FROM openmrs.liquibasechangelog
  243. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:48,917| Reading from openmrs.liquibasechangelog
  244. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:48,918| Executing with the 'jdbc' executor
  245. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:48,920| SELECT * FROM openmrs.liquibasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
  246. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:48,967| Executing with the 'jdbc' executor
  247. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:48,969| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
  248. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:48,976| Executing with the 'jdbc' executor
  249. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:48,978| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
  250. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(93) |2020-06-29T11:12:49,137| file 'org\openmrs\liquibase\snapshots\core-data\liquibase-core-data-2.1.x.xml' contains 24 un-run change sets
  251. WARN - Slf4jLogger.warning(32) |2020-06-29T11:12:49,137| Failed to restore the auto commit to true
  252. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(80) |2020-06-29T11:12:49,138| looking for un-run change sets in snapshot version '1.9.x'
  253. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:49,300| Executing with the 'jdbc' executor
  254. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:49,301| SELECT MD5SUM FROM openmrs.liquibasechangelog WHERE MD5SUM IS NOT NULL LIMIT 1
  255. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:49,676| Executing with the 'jdbc' executor
  256. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:49,681| SELECT COUNT(*) FROM openmrs.liquibasechangelog
  257. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:49,684| Reading from openmrs.liquibasechangelog
  258. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:49,684| Executing with the 'jdbc' executor
  259. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:49,685| SELECT * FROM openmrs.liquibasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
  260. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:49,732| Executing with the 'jdbc' executor
  261. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:49,735| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
  262. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:49,739| Executing with the 'jdbc' executor
  263. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:49,740| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
  264. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(93) |2020-06-29T11:12:49,949| file 'org\openmrs\liquibase\snapshots\schema-only\liquibase-schema-only-1.9.x.xml' contains 2 un-run change sets
  265. INFO - ChangeLogDetective.logUnRunChangeSetDetails(203) |2020-06-29T11:12:49,950| file 'org\openmrs\liquibase\snapshots\schema-only\liquibase-schema-only-1.9.x.xml' contains un-run change set with id '20120529-2230' by author 'mvorobey'
  266. INFO - ChangeLogDetective.logUnRunChangeSetDetails(203) |2020-06-29T11:12:49,951| file 'org\openmrs\liquibase\snapshots\schema-only\liquibase-schema-only-1.9.x.xml' contains un-run change set with id '20120529-2231' by author 'mvorobey'
  267. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:50,126| Executing with the 'jdbc' executor
  268. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:50,127| SELECT MD5SUM FROM openmrs.liquibasechangelog WHERE MD5SUM IS NOT NULL LIMIT 1
  269. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:50,304| Executing with the 'jdbc' executor
  270. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:50,305| SELECT COUNT(*) FROM openmrs.liquibasechangelog
  271. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:50,313| Reading from openmrs.liquibasechangelog
  272. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:50,314| Executing with the 'jdbc' executor
  273. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:50,318| SELECT * FROM openmrs.liquibasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
  274. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:50,361| Executing with the 'jdbc' executor
  275. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:50,362| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
  276. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:50,369| Executing with the 'jdbc' executor
  277. INFO - Slf4jLogger.info(42) |2020-06-29T11:12:50,369| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
  278. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(93) |2020-06-29T11:12:50,455| file 'org\openmrs\liquibase\snapshots\core-data\liquibase-core-data-1.9.x.xml' contains 0 un-run change sets
  279. WARN - Slf4jLogger.warning(32) |2020-06-29T11:12:50,458| Failed to restore the auto commit to true
  280. Exception in thread "Thread-19" org.openmrs.module.ModuleException: Unable to start OpenMRS. Error thrown was: Should not be here because updates were run previously
  281. at org.openmrs.web.WebDaemon.startOpenmrs(WebDaemon.java:65)
  282. at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run(InitializationFilter.java:1772)
  283. at java.lang.Thread.run(Thread.java:748)
  284. Caused by: javax.servlet.ServletException: Should not be here because updates were run previously
  285. at org.openmrs.web.Listener.startOpenmrs(Listener.java:235)
  286. at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
  287. Caused by: org.openmrs.util.DatabaseUpdateException: Unable to check if database updates are required
  288. at org.openmrs.api.context.Context.checkForDatabaseUpdates(Context.java:1170)
  289. at org.openmrs.api.context.Context.startup(Context.java:879)
  290. at org.openmrs.web.Listener.startOpenmrs(Listener.java:232)
  291. ... 1 more
  292. Caused by: java.lang.IllegalStateException: identifying the snapshot version that had been used to initialize the OpenMRS database failed as no candidate change set resulted in zero un-run changes
  293. at org.openmrs.liquibase.ChangeLogDetective.getInitialLiquibaseSnapshotVersion(ChangeLogDetective.java:116)
  294. at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:660)
  295. at org.openmrs.util.DatabaseUpdater.updatesRequired(DatabaseUpdater.java:288)
  296. at org.openmrs.api.context.Context.checkForDatabaseUpdates(Context.java:1167)
  297. ... 3 more
RAW Paste Data