JustPaste.it
Attempting to load properties file in current directory: openmrs-standalone-runtime.properties
Using runtime properties file: openmrs-standalone-runtime.properties
Apr 12, 2018 11:07:59 AM org.apache.catalina.startup.Embedded start
INFO: Starting tomcat server
Apr 12, 2018 11:07:59 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.26
Apr 12, 2018 11:08:01 AM org.apache.tomcat.util.modeler.Registry registerComponent
SEVERE: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/openmrs-standalone,J2EEApplication=none,J2EEServer=none
Exception in thread "Thread-3" java.lang.UnsupportedClassVersionError: org/openmrs/web/Listener : Unsupported major.minor version 52.0 (unable to load class org.openmrs.web.Listener)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2531)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1010)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1483)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1361)
at org.apache.catalina.startup.WebAnnotationSet.loadClassAnnotation(WebAnnotationSet.java:145)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:73)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:56)
at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:297)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1074)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4377)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
at org.openmrs.standalone.TomcatManager.run(TomcatManager.java:73)
at org.openmrs.standalone.ApplicationController.startServer(ApplicationController.java:378)
at org.openmrs.standalone.ApplicationController.access$000(ApplicationController.java:29)
at org.openmrs.standalone.ApplicationController$1.construct(ApplicationController.java:126)
at org.openmrs.standalone.SwingWorker$2.run(SwingWorker.java:125)
at java.lang.Thread.run(Thread.java:701)
Apr 12, 2018 11:09:48 AM org.apache.catalina.connector.Connector stop
SEVERE: Coyote connector has not been started
Cannot Stop TomcatPipeline has not been started
Cannot Stop TomcatEmbedded service has not yet been started
Cannot Stop TomcatEmbedded service has not yet been started
Attempting to load properties file in current directory: openmrs-standalone-runtime.properties
Using runtime properties file: openmrs-standalone-runtime.properties
Apr 12, 2018 11:14:46 AM org.apache.catalina.startup.Embedded start
INFO: Starting tomcat server
Apr 12, 2018 11:14:47 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.26
Apr 12, 2018 11:14:48 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing log4j from [classpath:log4j.xml]
INFO - Listener.contextInitialized(174) |2018-04-12 11:14:48,540| Using runtime properties file: openmrs-standalone-runtime.properties
[/home/heisenberg/OpenMRS_Test_Environment/openmrs/database/bin/mysqld][--no-defaults][--basedir=/home/heisenberg/OpenMRS_Test_Environment/openmrs/database][--port=3316][--datadir=/home/heisenberg/OpenMRS_Test_Environment/openmrs/database/data][--character-set-server=utf8][--socket=mysql.sock][--collation-server=utf8_general_ci][--pid-file=/home/heisenberg/OpenMRS_Test_Environment/openmrs/database/data/MysqldResource.pid]
[MysqldResource] launching mysqld (driver_launched_mysqld_1)
[MysqldResource] mysqld running as process: 5998
INFO 4/12/18 11:14 AM:liquibase: Reading from `liquibasechangelog`
WARNING 4/12/18 11:14 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql.  Use <sql> and re-specify all configuration if this is the case
WARNING 4/12/18 11:14 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql.  Use <sql> and re-specify all configuration if this is the case
WARNING 4/12/18 11:14 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql.  Use <sql> and re-specify all configuration if this is the case
INFO 4/12/18 11:14 AM:liquibase: Reading from `liquibasechangelog`
WARNING 4/12/18 11:14 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql.  Use <sql> and re-specify all configuration if this is the case
WARNING 4/12/18 11:14 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql.  Use <sql> and re-specify all configuration if this is the case
WARNING 4/12/18 11:14 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql.  Use <sql> and re-specify all configuration if this is the case
Apr 12, 2018 11:14:59 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8081
Apr 12, 2018 11:14:59 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8081
INFO 4/12/18 11:15 AM:liquibase: Reading from `liquibasechangelog`
WARNING 4/12/18 11:15 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql.  Use <sql> and re-specify all configuration if this is the case
WARNING 4/12/18 11:15 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql.  Use <sql> and re-specify all configuration if this is the case
WARNING 4/12/18 11:15 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql.  Use <sql> and re-specify all configuration if this is the case
INFO 4/12/18 11:15 AM:liquibase: Successfully acquired change log lock
WARNING 4/12/18 11:15 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql.  Use <sql> and re-specify all configuration if this is the case
WARNING 4/12/18 11:15 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql.  Use <sql> and re-specify all configuration if this is the case
WARNING 4/12/18 11:15 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql.  Use <sql> and re-specify all configuration if this is the case
INFO 4/12/18 11:15 AM:liquibase: Reading from `liquibasechangelog`
INFO 4/12/18 11:15 AM:liquibase: Marking ChangeSet: liquibase-update-to-latest.xml::20150122-1414::rkorytkowski::(Checksum: 3:b662cac19085b837d902916f20a27da9) ran despite precondition failure due to onFail='MARK_RAN': 
          liquibase-update-to-latest.xml : Not precondition failed

 

INFO 4/12/18 11:15 AM:liquibase: Marking ChangeSet: liquibase-update-to-latest.xml::20150122-1420::rkorytkowski::(Checksum: 3:c75793ade72db0648a912f22f79cf461) ran despite precondition failure due to onFail='MARK_RAN': 
          liquibase-update-to-latest.xml : Not precondition failed

 

SEVERE 4/12/18 11:15 AM:liquibase: Change Set liquibase-update-to-latest.xml::201011051300::bwolfe failed.  Error: Migration failed for change set liquibase-update-to-latest.xml::201011051300::bwolfe:
     Reason: 
          liquibase-update-to-latest.xml : View 'openmrs.pharmacy_forms' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
:
          Caused By: Precondition Error
liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201011051300::bwolfe:
     Reason: 
          liquibase-update-to-latest.xml : View 'openmrs.pharmacy_forms' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
:
          Caused By: Precondition Error
at liquibase.changelog.ChangeSet.execute(ChangeSet.java:285)
at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:189)
at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:218)
at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:148)
at org.openmrs.web.filter.update.UpdateFilter$UpdateFilterCompletion$1.run(UpdateFilter.java:737)
at java.lang.Thread.run(Thread.java:748)
Caused by: liquibase.exception.PreconditionErrorException: Precondition Error
at liquibase.precondition.core.IndexExistsPrecondition.check(IndexExistsPrecondition.java:80)
at liquibase.precondition.core.NotPrecondition.check(NotPrecondition.java:30)
at liquibase.precondition.core.AndPrecondition.check(AndPrecondition.java:34)
at liquibase.precondition.core.PreconditionContainer.check(PreconditionContainer.java:199)
at liquibase.changelog.ChangeSet.execute(ChangeSet.java:249)
... 7 more
INFO 4/12/18 11:15 AM:liquibase: Successfully released change log lock
ERROR - UpdateFilter$UpdateFilterCompletion$1.run(754) |2018-04-12 11:15:34,752| Unable to update the database
org.openmrs.util.DatabaseUpdateException: There was an error while updating the database to the latest. file: liquibase-update-to-latest.xml. Error: Migration failed for change set liquibase-update-to-latest.xml::201011051300::bwolfe:
     Reason: 
          liquibase-update-to-latest.xml : View 'openmrs.pharmacy_forms' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
:
          Caused By: Precondition Error
at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:152)
at org.openmrs.web.filter.update.UpdateFilter$UpdateFilterCompletion$1.run(UpdateFilter.java:737)
at java.lang.Thread.run(Thread.java:748)
Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201011051300::bwolfe:
     Reason: 
          liquibase-update-to-latest.xml : View 'openmrs.pharmacy_forms' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
:
          Caused By: Precondition Error
at liquibase.changelog.ChangeSet.execute(ChangeSet.java:285)
at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:189)
at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:218)
at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:148)
... 2 more
Caused by: liquibase.exception.PreconditionErrorException: Precondition Error
at liquibase.precondition.core.IndexExistsPrecondition.check(IndexExistsPrecondition.java:80)
at liquibase.precondition.core.NotPrecondition.check(NotPrecondition.java:30)
at liquibase.precondition.core.AndPrecondition.check(AndPrecondition.java:34)
at liquibase.precondition.core.PreconditionContainer.check(PreconditionContainer.java:199)
at liquibase.changelog.ChangeSet.execute(ChangeSet.java:249)
... 7 more
INFO 4/12/18 11:15 AM:liquibase: Reading from `liquibasechangelog`
WARNING 4/12/18 11:15 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql.  Use <sql> and re-specify all configuration if this is the case
WARNING 4/12/18 11:15 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql.  Use <sql> and re-specify all configuration if this is the case
WARNING 4/12/18 11:15 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql.  Use <sql> and re-specify all configuration if this is the case