Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ➜ ~ mvn org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:setup-sdk
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
- [INFO] Building Maven Stub Project (No POM) 1
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- openmrs-sdk-maven-plugin:3.13.6:setup-sdk (default-cli) @ standalone-pom ---
- [INFO] SDK installed successfully, settings file: /Users/jecihjoy/.m2/settings.xml
- [INFO] Now you can use sdk: mvn openmrs-sdk:<task_name>
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD SUCCESS
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 1.093 s
- [INFO] Finished at: 2020-11-18T00:07:27+03:00
- [INFO] ------------------------------------------------------------------------
- ➜ ~ mvn openmrs-sdk:run -DserverId=serverc
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
- [INFO] Building Maven Stub Project (No POM) 1
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- openmrs-sdk-maven-plugin:3.13.6:run (default-cli) @ standalone-pom ---
- Checking if port 8080 is in use... [in use]
- Checking if port 8081 is in use... [free]
- Port 8080 is already in use. What port would you like to use? (default: '8081'):
- Forking a new process... (use -Dfork=false to prevent forking)
- OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
- Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
- Maven home: /usr/local/Cellar/maven/3.6.3/libexec
- Java version: 1.8.0_232, vendor: AdoptOpenJDK, runtime: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre
- Default locale: en_KE, platform encoding: UTF-8
- OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac"
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
- [INFO] Building Maven Stub Project (No POM) 1
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- openmrs-sdk-maven-plugin:3.13.6:run-tomcat (default-cli) @ standalone-pom ---
- Using JAVA_HOME: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre
- Using MAVEN_OPTS: -Xmx768m -XX:MaxPermSize=512m
- Starting Tomcat...
- Nov 18, 2020 12:07:44 AM org.apache.coyote.AbstractProtocol init
- INFO: Initializing ProtocolHandler ["http-bio-8081"]
- Nov 18, 2020 12:07:44 AM org.apache.catalina.core.StandardService startInternal
- INFO: Starting service [Tomcat]
- Nov 18, 2020 12:07:44 AM org.apache.catalina.core.StandardEngine startInternal
- INFO: Starting Servlet Engine: Apache Tomcat/7.0.100
- Nov 18, 2020 12:07:44 AM org.apache.catalina.startup.TldConfig execute
- INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
- Nov 18, 2020 12:07:44 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
- INFO: No global web.xml found
- Nov 18, 2020 12:07:44 AM org.apache.catalina.deploy.WebXml setVersion
- WARNING: Unknown version string [4.0]. Default version will be used.
- Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
- Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
- Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
- Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
- Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
- Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
- Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
- Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
- Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
- Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
- Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
- Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
- Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
- Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
- Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
- Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TldConfig execute
- INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
- SLF4J: Class path contains multiple SLF4J bindings.
- SLF4J: Found binding in [jar:file:/Users/jecihjoy/openmrs/serverc/tmp/openmrs/WEB-INF/lib/slf4j-log4j12-1.7.26.jar!/org/slf4j/impl/StaticLoggerBinder.class]
- SLF4J: Found binding in [jar:file:/Users/jecihjoy/.m2/repository/org/slf4j/slf4j-simple/1.6.2/slf4j-simple-1.6.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
- SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
- SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
- Nov 18, 2020 12:07:47 AM org.apache.catalina.core.ApplicationContext log
- INFO: Initializing log4j from [classpath:log4j.xml]
- INFO - Listener.contextInitialized(173) |2020-11-18 00:07:47,904| Using runtime properties file: openmrs-runtime.properties
- INFO 11/18/20 12:07 AM:liquibase: Reading from `liquibasechangelog`
- WARNING 11/18/20 12:07 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 11/18/20 12:07 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 11/18/20 12:07 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 11/18/20 12:07 AM:liquibase: Reading from `liquibasechangelog`
- WARNING 11/18/20 12:07 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 11/18/20 12:07 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 11/18/20 12:07 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
- OpenMRS is ready for you at http://localhost:8081/openmrs/
- Nov 18, 2020 12:07:50 AM org.apache.coyote.AbstractProtocol start
- INFO: Starting ProtocolHandler ["http-bio-8081"]
- ERROR - CommonsLogLogChute.log(96) |2020-11-18 00:07:58,547| #parse() null argument
- ERROR - CommonsLogLogChute.log(96) |2020-11-18 00:07:58,561| #parse() null argument
- ERROR - CommonsLogLogChute.log(96) |2020-11-18 00:07:58,799| #parse() null argument
- ERROR - CommonsLogLogChute.log(96) |2020-11-18 00:07:58,799| #parse() null argument
- ERROR - CommonsLogLogChute.log(96) |2020-11-18 00:08:00,186| #parse() null argument
- ERROR - CommonsLogLogChute.log(96) |2020-11-18 00:08:00,190| #parse() null argument
- ERROR - CommonsLogLogChute.log(96) |2020-11-18 00:08:00,336| #parse() null argument
- ERROR - CommonsLogLogChute.log(96) |2020-11-18 00:08:00,336| #parse() null argument
- ERROR - CommonsLogLogChute.log(96) |2020-11-18 00:08:01,269| #parse() null argument
- ERROR - CommonsLogLogChute.log(96) |2020-11-18 00:08:01,271| #parse() null argument
- ERROR - CommonsLogLogChute.log(96) |2020-11-18 00:08:01,450| #parse() null argument
- ERROR - CommonsLogLogChute.log(96) |2020-11-18 00:08:01,450| #parse() null argument
- INFO 11/18/20 12:08 AM:liquibase: Reading from `liquibasechangelog`
- WARNING 11/18/20 12:08 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 11/18/20 12:08 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 11/18/20 12:08 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 11/18/20 12:08 AM:liquibase: Successfully acquired change log lock
- WARNING 11/18/20 12:08 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 11/18/20 12:08 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 11/18/20 12:08 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 11/18/20 12:08 AM:liquibase: Reading from `liquibasechangelog`
- SEVERE 11/18/20 12:08 AM:liquibase: Change Set liquibase-update-to-latest.xml::TRUNK-5672-201910211105::Mritunjay failed. Error: Error executing SQL UPDATE `users` SET `username` = 'admin' WHERE system_id='admin': admin user account is locked
- liquibase.exception.DatabaseException: Error executing SQL UPDATE `users` SET `username` = 'admin' WHERE system_id='admin': admin user account is locked
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62)
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:104)
- at liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1091)
- at liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:1075)
- at liquibase.changelog.ChangeSet.execute(ChangeSet.java:317)
- at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
- at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:191)
- at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
- at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:220)
- at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:150)
- ERROR - UpdateFilter$UpdateFilterCompletion$1.run(742) |2020-11-18 00:08:07,088| 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::TRUNK-5672-201910211105::Mritunjay:
- at org.openmrs.web.filter.update.UpdateFilter$UpdateFilterCompletion$1.run(UpdateFilter.java:726)
- at java.lang.Thread.run(Thread.java:748)
- Caused by: java.sql.SQLException: admin user account is locked
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
- at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
- at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
- at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2480)
- at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2438)
- at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:845)
- at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:745)
- at liquibase.executor.jvm.JdbcExecutor$1ExecuteStatementCallback.doInStatement(JdbcExecutor.java:92)
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
- ... 11 more
- INFO 11/18/20 12:08 AM:liquibase: Successfully released change log lock
- Reason: liquibase.exception.DatabaseException: Error executing SQL UPDATE `users` SET `username` = 'admin' WHERE system_id='admin': admin user account is locked:
- Caused By: Error executing SQL UPDATE `users` SET `username` = 'admin' WHERE system_id='admin': admin user account is locked:
- Caused By: admin user account is locked
- at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:154)
- at org.openmrs.web.filter.update.UpdateFilter$UpdateFilterCompletion$1.run(UpdateFilter.java:726)
- at java.lang.Thread.run(Thread.java:748)
- Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-5672-201910211105::Mritunjay:
- Reason: liquibase.exception.DatabaseException: Error executing SQL UPDATE `users` SET `username` = 'admin' WHERE system_id='admin': admin user account is locked:
- Caused By: Error executing SQL UPDATE `users` SET `username` = 'admin' WHERE system_id='admin': admin user account is locked:
- Caused By: admin user account is locked
- at liquibase.changelog.ChangeSet.execute(ChangeSet.java:347)
- at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
- at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:191)
- at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
- at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:220)
- at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:150)
- ... 2 more
- Caused by: liquibase.exception.DatabaseException: Error executing SQL UPDATE `users` SET `username` = 'admin' WHERE system_id='admin': admin user account is locked
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62)
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:104)
- at liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1091)
- at liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:1075)
- at liquibase.changelog.ChangeSet.execute(ChangeSet.java:317)
- ... 7 more
- Caused by: java.sql.SQLException: admin user account is locked
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
- at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
- at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
- at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2480)
- at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2438)
- at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:845)
- at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:745)
- at liquibase.executor.jvm.JdbcExecutor$1ExecuteStatementCallback.doInStatement(JdbcExecutor.java:92)
- at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
- ... 11 more
- INFO 11/18/20 12:08 AM:liquibase: Reading from `liquibasechangelog`
- WARNING 11/18/20 12:08 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 11/18/20 12:08 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 11/18/20 12:08 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement