Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\SHARIF\Tickets\openmrs-core\webapp>mvn jetty:run
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building openmrs-webapp 2.4.0-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] >>> jetty-maven-plugin:9.4.25.v20191220:run (default-cli) > test-compile @ openmrs-webapp >>>
- [INFO]
- [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs-webapp ---
- [INFO] Checking for local modifications: skipped.
- [INFO] Updating project files from SCM: skipped.
- [INFO] ShortRevision tag detected. The value is '6'.
- [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
- [INFO] Working directory: C:\Users\SHARIF\Tickets\openmrs-core\webapp
- [INFO] Storing buildNumber: 885d77 at timestamp: 1593418090412
- [INFO] ShortRevision tag detected. The value is '6'.
- [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
- [INFO] Working directory: C:\Users\SHARIF\Tickets\openmrs-core\webapp
- [INFO] Storing buildScmBranch: UNKNOWN
- [INFO]
- [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-webapp ---
- [INFO]
- [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ openmrs-webapp ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 2 resources
- [INFO] Copying 1 resource to ../jetty
- [INFO]
- [INFO] --- maven-antrun-plugin:1.4:run (default) @ openmrs-webapp ---
- project.artifactId
- [INFO] Executing tasks
- [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
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ openmrs-webapp ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-resources-plugin:2.4:testResources (default-testResources) @ openmrs-webapp ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 1 resource
- [INFO]
- [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ openmrs-webapp ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] <<< jetty-maven-plugin:9.4.25.v20191220:run (default-cli) < test-compile @ openmrs-webapp <<<
- [INFO]
- [INFO]
- [INFO] --- jetty-maven-plugin:9.4.25.v20191220:run (default-cli) @ openmrs-webapp ---
- [INFO] Logging initialized @32837ms to org.eclipse.jetty.util.log.Slf4jLog
- [INFO] webAppSourceDirectory not set. Trying src\main\webapp
- [INFO] Reload Mechanic: automatic
- [INFO] nonBlocking:false
- [INFO] Classes = C:\Users\SHARIF\Tickets\openmrs-core\webapp\target\classes
- [INFO] Configuring Jetty for project: openmrs-webapp
- [INFO] Context path = /openmrs
- [INFO] Tmp directory = C:\Users\SHARIF\Tickets\openmrs-core\webapp\target\tmp
- [INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
- [INFO] Web overrides = src/test/resources/override-web.xml
- [INFO] web.xml file = C:\Users\SHARIF\Tickets\openmrs-core\webapp\target/jetty/WEB-INF/web.xml
- [INFO] Webapp directory = C:\Users\SHARIF\Tickets\openmrs-core\webapp\src\main\webapp
- [INFO] jetty-9.4.25.v20191220; built: 2019-12-20T17:00:00.294Z; git: a9729c7e7f33a459d2616a8f9e9ba8a90f432e95; jvm 1.8.0_151-b12
- [INFO] Scanning elapsed time=21707ms
- [INFO] No Spring WebApplicationInitializer types detected on classpath
- [INFO] DefaultSessionIdManager workerName=node0
- [INFO] No SessionScavenger set, using defaults
- [INFO] node0 Scavenging every 600000ms
- 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
- WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2150) |2020-06-29T11:08:58,012| Unable to find properties file: C:\Users\SHARIF\Application Data\OpenMRS\openmrs-runtime.properties
- 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.
- 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
- WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2150) |2020-06-29T11:08:58,444| Unable to find properties file: C:\Users\SHARIF\Application Data\OpenMRS\openmrs-runtime.properties
- 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.
- [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/}
- [INFO] Started ServerConnector@13f40d71{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
- [INFO] Started @65622ms
- [INFO] Started Jetty Server
- 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
- WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2150) |2020-06-29T11:10:31,262| Unable to find properties file: C:\Users\SHARIF\Application Data\OpenMRS\openmrs-runtime.properties
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:09,199| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:09,243| SELECT MD5SUM FROM openmrs.liquibasechangelog WHERE MD5SUM IS NOT NULL LIMIT 1
- 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
- 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
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:12,140| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:12,156| SELECT COUNT(*) FROM openmrs.liquibasechangelog
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:12,156| Reading from openmrs.liquibasechangelog
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:12,156| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:12,156| SELECT * FROM openmrs.liquibasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:12,295| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:12,299| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:12,304| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:12,306| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:13,870| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:13,870| SELECT `LOCKED` FROM openmrs.liquibasechangeloglock WHERE ID=1
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:14,011| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:14,270| Successfully acquired change log lock
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:15,133| Executing with the 'jdbc' executor
- 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))
- 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))]
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:15,313| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:15,367| Successfully released change log lock
- WARN - InitializationFilter$InitializationCompletion$1.run(1616) |2020-06-29T11:11:15,367| Error while trying to create tables and demo data
- 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):
- 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))]
- at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:188) ~[classes/:?]
- at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run(InitializationFilter.java:1597) [classes/:?]
- at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
- Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-schema-only.xml::1582473628795-1::wolf (generated):
- 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))]
- at liquibase.changelog.ChangeSet.execute(ChangeSet.java:659) ~[liquibase-core-3.10.0.jar:?]
- at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:53) ~[liquibase-core-3.10.0.jar:?]
- at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:221) ~[classes/:?]
- at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:97) ~[liquibase-core-3.10.0.jar:?]
- at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:256) ~[classes/:?]
- at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:183) ~[classes/:?]
- ... 2 more
- 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))]
- at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:430) ~[liquibase-core-3.10.0.jar:?]
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:87) ~[liquibase-core-3.10.0.jar:?]
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:159) ~[liquibase-core-3.10.0.jar:?]
- at liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1276) ~[liquibase-core-3.10.0.jar:?]
- at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1258) ~[liquibase-core-3.10.0.jar:?]
- at liquibase.changelog.ChangeSet.execute(ChangeSet.java:622) ~[liquibase-core-3.10.0.jar:?]
- at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:53) ~[liquibase-core-3.10.0.jar:?]
- at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:221) ~[classes/:?]
- at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:97) ~[liquibase-core-3.10.0.jar:?]
- at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:256) ~[classes/:?]
- at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:183) ~[classes/:?]
- ... 2 more
- Caused by: java.sql.SQLSyntaxErrorException: Table 'allergy' already exists
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) ~[mysql-connector-java-8.0.20.jar:8.0.20]
- at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) ~[mysql-connector-java-8.0.20.jar:8.0.20]
- at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[mysql-connector-java-8.0.20.jar:8.0.20]
- at com.mysql.cj.jdbc.StatementImpl.executeInternal(StatementImpl.java:764) ~[mysql-connector-java-8.0.20.jar:8.0.20]
- at com.mysql.cj.jdbc.StatementImpl.execute(StatementImpl.java:648) ~[mysql-connector-java-8.0.20.jar:8.0.20]
- at liquibase.executor.jvm.JdbcExecutor$ExecuteStatementCallback.doInStatement(JdbcExecutor.java:426) ~[liquibase-core-3.10.0.jar:?]
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:87) ~[liquibase-core-3.10.0.jar:?]
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:159) ~[liquibase-core-3.10.0.jar:?]
- at liquibase.database.AbstractJdbcDatabase.execute(AbstractJdbcDatabase.java:1276) ~[liquibase-core-3.10.0.jar:?]
- at liquibase.database.AbstractJdbcDatabase.executeStatements(AbstractJdbcDatabase.java:1258) ~[liquibase-core-3.10.0.jar:?]
- at liquibase.changelog.ChangeSet.execute(ChangeSet.java:622) ~[liquibase-core-3.10.0.jar:?]
- at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:53) ~[liquibase-core-3.10.0.jar:?]
- at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:221) ~[classes/:?]
- at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:97) ~[liquibase-core-3.10.0.jar:?]
- at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:256) ~[classes/:?]
- at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:183) ~[classes/:?]
- ... 2 more
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,037| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,040| SELECT MD5SUM FROM openmrs.liquibasechangelog WHERE MD5SUM IS NOT NULL LIMIT 1
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,158| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,176| SELECT COUNT(*) FROM openmrs.liquibasechangelog
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,188| Reading from openmrs.liquibasechangelog
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,196| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,197| SELECT * FROM openmrs.liquibasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,333| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,363| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,373| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,380| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,415| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,432| SELECT `LOCKED` FROM openmrs.liquibasechangeloglock WHERE ID=1
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,452| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,511| Successfully acquired change log lock
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,574| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:11:16,621| Successfully released change log lock
- [INFO] Initializing Spring root WebApplicationContext
- INFO - EhCacheManagerFactoryBean.afterPropertiesSet(134) |2020-06-29T11:11:33,060| Initializing EhCache CacheManager
- 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
- WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2150) |2020-06-29T11:12:39,169| Unable to find properties file: C:\Users\SHARIF\Application Data\OpenMRS\openmrs-runtime.properties
- 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
- 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
- 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
- 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
- INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(67) |2020-06-29T11:12:41,308| identifying the Liquibase snapshot version that had been used to initialize the OpenMRS database...
- INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(80) |2020-06-29T11:12:41,375| looking for un-run change sets in snapshot version '2.3.x'
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:42,180| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:42,180| SELECT MD5SUM FROM openmrs.liquibasechangelog WHERE MD5SUM IS NOT NULL LIMIT 1
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:43,028| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:43,044| SELECT COUNT(*) FROM openmrs.liquibasechangelog
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:43,050| Reading from openmrs.liquibasechangelog
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:43,050| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:43,054| SELECT * FROM openmrs.liquibasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:43,121| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:43,123| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:43,129| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:43,130| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
- 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
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:44,324| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:44,327| SELECT MD5SUM FROM openmrs.liquibasechangelog WHERE MD5SUM IS NOT NULL LIMIT 1
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:44,548| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:44,555| SELECT COUNT(*) FROM openmrs.liquibasechangelog
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:44,557| Reading from openmrs.liquibasechangelog
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:44,558| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:44,559| SELECT * FROM openmrs.liquibasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:44,611| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:44,622| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:44,625| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:44,627| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
- 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
- WARN - Slf4jLogger.warning(32) |2020-06-29T11:12:45,004| Failed to restore the auto commit to true
- INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(80) |2020-06-29T11:12:45,005| looking for un-run change sets in snapshot version '2.2.x'
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:45,179| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:45,184| SELECT MD5SUM FROM openmrs.liquibasechangelog WHERE MD5SUM IS NOT NULL LIMIT 1
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:45,614| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:45,619| SELECT COUNT(*) FROM openmrs.liquibasechangelog
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:45,624| Reading from openmrs.liquibasechangelog
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:45,625| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:45,626| SELECT * FROM openmrs.liquibasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:45,675| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:45,676| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:45,682| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:45,685| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
- 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
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:46,623| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:46,627| SELECT MD5SUM FROM openmrs.liquibasechangelog WHERE MD5SUM IS NOT NULL LIMIT 1
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:46,834| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:46,839| SELECT COUNT(*) FROM openmrs.liquibasechangelog
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:46,844| Reading from openmrs.liquibasechangelog
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:46,845| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:46,846| SELECT * FROM openmrs.liquibasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:46,904| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:46,907| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:46,912| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:46,913| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
- 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
- WARN - Slf4jLogger.warning(32) |2020-06-29T11:12:47,059| Failed to restore the auto commit to true
- INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(80) |2020-06-29T11:12:47,060| looking for un-run change sets in snapshot version '2.1.x'
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:47,446| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:47,447| SELECT MD5SUM FROM openmrs.liquibasechangelog WHERE MD5SUM IS NOT NULL LIMIT 1
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:47,779| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:47,780| SELECT COUNT(*) FROM openmrs.liquibasechangelog
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:47,786| Reading from openmrs.liquibasechangelog
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:47,787| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:47,788| SELECT * FROM openmrs.liquibasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:47,840| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:47,841| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:47,847| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:47,849| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
- 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
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:48,763| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:48,763| SELECT MD5SUM FROM openmrs.liquibasechangelog WHERE MD5SUM IS NOT NULL LIMIT 1
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:48,909| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:48,915| SELECT COUNT(*) FROM openmrs.liquibasechangelog
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:48,917| Reading from openmrs.liquibasechangelog
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:48,918| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:48,920| SELECT * FROM openmrs.liquibasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:48,967| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:48,969| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:48,976| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:48,978| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
- 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
- WARN - Slf4jLogger.warning(32) |2020-06-29T11:12:49,137| Failed to restore the auto commit to true
- INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(80) |2020-06-29T11:12:49,138| looking for un-run change sets in snapshot version '1.9.x'
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:49,300| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:49,301| SELECT MD5SUM FROM openmrs.liquibasechangelog WHERE MD5SUM IS NOT NULL LIMIT 1
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:49,676| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:49,681| SELECT COUNT(*) FROM openmrs.liquibasechangelog
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:49,684| Reading from openmrs.liquibasechangelog
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:49,684| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:49,685| SELECT * FROM openmrs.liquibasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:49,732| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:49,735| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:49,739| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:49,740| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
- 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
- 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'
- 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'
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:50,126| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:50,127| SELECT MD5SUM FROM openmrs.liquibasechangelog WHERE MD5SUM IS NOT NULL LIMIT 1
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:50,304| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:50,305| SELECT COUNT(*) FROM openmrs.liquibasechangelog
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:50,313| Reading from openmrs.liquibasechangelog
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:50,314| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:50,318| SELECT * FROM openmrs.liquibasechangelog ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:50,361| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:50,362| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:50,369| Executing with the 'jdbc' executor
- INFO - Slf4jLogger.info(42) |2020-06-29T11:12:50,369| SELECT COUNT(*) FROM openmrs.liquibasechangeloglock
- 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
- WARN - Slf4jLogger.warning(32) |2020-06-29T11:12:50,458| Failed to restore the auto commit to true
- 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
- at org.openmrs.web.WebDaemon.startOpenmrs(WebDaemon.java:65)
- at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run(InitializationFilter.java:1772)
- at java.lang.Thread.run(Thread.java:748)
- Caused by: javax.servlet.ServletException: Should not be here because updates were run previously
- at org.openmrs.web.Listener.startOpenmrs(Listener.java:235)
- at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
- Caused by: org.openmrs.util.DatabaseUpdateException: Unable to check if database updates are required
- at org.openmrs.api.context.Context.checkForDatabaseUpdates(Context.java:1170)
- at org.openmrs.api.context.Context.startup(Context.java:879)
- at org.openmrs.web.Listener.startOpenmrs(Listener.java:232)
- ... 1 more
- 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
- at org.openmrs.liquibase.ChangeLogDetective.getInitialLiquibaseSnapshotVersion(ChangeLogDetective.java:116)
- at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:660)
- at org.openmrs.util.DatabaseUpdater.updatesRequired(DatabaseUpdater.java:288)
- at org.openmrs.api.context.Context.checkForDatabaseUpdates(Context.java:1167)
- ... 3 more
Add Comment
Please, Sign In to add comment