Advertisement
Guest User

Untitled

a guest
Nov 17th, 2020
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.41 KB | None | 0 0
  1. ➜ ~ mvn org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:setup-sdk
  2. [INFO] Scanning for projects...
  3. [INFO]
  4. [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
  5. [INFO] Building Maven Stub Project (No POM) 1
  6. [INFO] --------------------------------[ pom ]---------------------------------
  7. [INFO]
  8. [INFO] --- openmrs-sdk-maven-plugin:3.13.6:setup-sdk (default-cli) @ standalone-pom ---
  9. [INFO] SDK installed successfully, settings file: /Users/jecihjoy/.m2/settings.xml
  10. [INFO] Now you can use sdk: mvn openmrs-sdk:<task_name>
  11. [INFO] ------------------------------------------------------------------------
  12. [INFO] BUILD SUCCESS
  13. [INFO] ------------------------------------------------------------------------
  14. [INFO] Total time: 1.093 s
  15. [INFO] Finished at: 2020-11-18T00:07:27+03:00
  16. [INFO] ------------------------------------------------------------------------
  17. ➜ ~ mvn openmrs-sdk:run -DserverId=serverc
  18. [INFO] Scanning for projects...
  19. [INFO]
  20. [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
  21. [INFO] Building Maven Stub Project (No POM) 1
  22. [INFO] --------------------------------[ pom ]---------------------------------
  23. [INFO]
  24. [INFO] --- openmrs-sdk-maven-plugin:3.13.6:run (default-cli) @ standalone-pom ---
  25.  
  26. Checking if port 8080 is in use... [in use]
  27.  
  28. Checking if port 8081 is in use... [free]
  29.  
  30. Port 8080 is already in use. What port would you like to use? (default: '8081'):
  31.  
  32. Forking a new process... (use -Dfork=false to prevent forking)
  33.  
  34. OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
  35. Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
  36. Maven home: /usr/local/Cellar/maven/3.6.3/libexec
  37. Java version: 1.8.0_232, vendor: AdoptOpenJDK, runtime: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre
  38. Default locale: en_KE, platform encoding: UTF-8
  39. OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "mac"
  40. [INFO] Scanning for projects...
  41. [INFO]
  42. [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
  43. [INFO] Building Maven Stub Project (No POM) 1
  44. [INFO] --------------------------------[ pom ]---------------------------------
  45. [INFO]
  46. [INFO] --- openmrs-sdk-maven-plugin:3.13.6:run-tomcat (default-cli) @ standalone-pom ---
  47.  
  48.  
  49. Using JAVA_HOME: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre
  50.  
  51. Using MAVEN_OPTS: -Xmx768m -XX:MaxPermSize=512m
  52.  
  53. Starting Tomcat...
  54.  
  55. Nov 18, 2020 12:07:44 AM org.apache.coyote.AbstractProtocol init
  56. INFO: Initializing ProtocolHandler ["http-bio-8081"]
  57. Nov 18, 2020 12:07:44 AM org.apache.catalina.core.StandardService startInternal
  58. INFO: Starting service [Tomcat]
  59. Nov 18, 2020 12:07:44 AM org.apache.catalina.core.StandardEngine startInternal
  60. INFO: Starting Servlet Engine: Apache Tomcat/7.0.100
  61. Nov 18, 2020 12:07:44 AM org.apache.catalina.startup.TldConfig execute
  62. 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.
  63. Nov 18, 2020 12:07:44 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
  64. INFO: No global web.xml found
  65. Nov 18, 2020 12:07:44 AM org.apache.catalina.deploy.WebXml setVersion
  66. WARNING: Unknown version string [4.0]. Default version will be used.
  67. Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
  68. INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
  69. Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
  70. INFO: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
  71. Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
  72. INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
  73. Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
  74. INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
  75. Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
  76. INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
  77. Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
  78. INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
  79. Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
  80. INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
  81. Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
  82. INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
  83. Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
  84. INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
  85. Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
  86. INFO: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
  87. Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
  88. INFO: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
  89. Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
  90. INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
  91. Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
  92. INFO: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
  93. Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
  94. INFO: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
  95. Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TaglibUriRule body
  96. INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
  97. Nov 18, 2020 12:07:47 AM org.apache.catalina.startup.TldConfig execute
  98. 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.
  99. SLF4J: Class path contains multiple SLF4J bindings.
  100. 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]
  101. 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]
  102. SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
  103. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
  104. Nov 18, 2020 12:07:47 AM org.apache.catalina.core.ApplicationContext log
  105. INFO: Initializing log4j from [classpath:log4j.xml]
  106. INFO - Listener.contextInitialized(173) |2020-11-18 00:07:47,904| Using runtime properties file: openmrs-runtime.properties
  107. INFO 11/18/20 12:07 AM:liquibase: Reading from `liquibasechangelog`
  108. 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
  109. 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
  110. 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
  111. INFO 11/18/20 12:07 AM:liquibase: Reading from `liquibasechangelog`
  112. 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
  113. 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
  114. 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
  115.  
  116. OpenMRS is ready for you at http://localhost:8081/openmrs/
  117. Nov 18, 2020 12:07:50 AM org.apache.coyote.AbstractProtocol start
  118. INFO: Starting ProtocolHandler ["http-bio-8081"]
  119. ERROR - CommonsLogLogChute.log(96) |2020-11-18 00:07:58,547| #parse() null argument
  120. ERROR - CommonsLogLogChute.log(96) |2020-11-18 00:07:58,561| #parse() null argument
  121. ERROR - CommonsLogLogChute.log(96) |2020-11-18 00:07:58,799| #parse() null argument
  122. ERROR - CommonsLogLogChute.log(96) |2020-11-18 00:07:58,799| #parse() null argument
  123. ERROR - CommonsLogLogChute.log(96) |2020-11-18 00:08:00,186| #parse() null argument
  124. ERROR - CommonsLogLogChute.log(96) |2020-11-18 00:08:00,190| #parse() null argument
  125. ERROR - CommonsLogLogChute.log(96) |2020-11-18 00:08:00,336| #parse() null argument
  126. ERROR - CommonsLogLogChute.log(96) |2020-11-18 00:08:00,336| #parse() null argument
  127. ERROR - CommonsLogLogChute.log(96) |2020-11-18 00:08:01,269| #parse() null argument
  128. ERROR - CommonsLogLogChute.log(96) |2020-11-18 00:08:01,271| #parse() null argument
  129. ERROR - CommonsLogLogChute.log(96) |2020-11-18 00:08:01,450| #parse() null argument
  130. ERROR - CommonsLogLogChute.log(96) |2020-11-18 00:08:01,450| #parse() null argument
  131. INFO 11/18/20 12:08 AM:liquibase: Reading from `liquibasechangelog`
  132. 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
  133. 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
  134. 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
  135. INFO 11/18/20 12:08 AM:liquibase: Successfully acquired change log lock
  136. 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
  137. 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
  138. 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
  139. INFO 11/18/20 12:08 AM:liquibase: Reading from `liquibasechangelog`
  140. 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
  141. liquibase.exception.DatabaseException: Error executing SQL UPDATE `users` SET `username` = 'admin' WHERE system_id='admin': admin user account is locked
  142. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62)
  143. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:104)
  144. at liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1091)
  145. at liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:1075)
  146. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:317)
  147. at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
  148. at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:191)
  149. at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
  150. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:220)
  151. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:150)
  152. ERROR - UpdateFilter$UpdateFilterCompletion$1.run(742) |2020-11-18 00:08:07,088| Unable to update the database
  153. 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:
  154. at org.openmrs.web.filter.update.UpdateFilter$UpdateFilterCompletion$1.run(UpdateFilter.java:726)
  155. at java.lang.Thread.run(Thread.java:748)
  156. Caused by: java.sql.SQLException: admin user account is locked
  157. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965)
  158. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
  159. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
  160. at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
  161. at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
  162. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2480)
  163. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2438)
  164. at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:845)
  165. at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:745)
  166. at liquibase.executor.jvm.JdbcExecutor$1ExecuteStatementCallback.doInStatement(JdbcExecutor.java:92)
  167. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
  168. ... 11 more
  169. INFO 11/18/20 12:08 AM:liquibase: Successfully released change log lock
  170. Reason: liquibase.exception.DatabaseException: Error executing SQL UPDATE `users` SET `username` = 'admin' WHERE system_id='admin': admin user account is locked:
  171. Caused By: Error executing SQL UPDATE `users` SET `username` = 'admin' WHERE system_id='admin': admin user account is locked:
  172. Caused By: admin user account is locked
  173. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:154)
  174. at org.openmrs.web.filter.update.UpdateFilter$UpdateFilterCompletion$1.run(UpdateFilter.java:726)
  175. at java.lang.Thread.run(Thread.java:748)
  176. Caused by: liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::TRUNK-5672-201910211105::Mritunjay:
  177. Reason: liquibase.exception.DatabaseException: Error executing SQL UPDATE `users` SET `username` = 'admin' WHERE system_id='admin': admin user account is locked:
  178. Caused By: Error executing SQL UPDATE `users` SET `username` = 'admin' WHERE system_id='admin': admin user account is locked:
  179. Caused By: admin user account is locked
  180. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:347)
  181. at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
  182. at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:191)
  183. at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
  184. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:220)
  185. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:150)
  186. ... 2 more
  187. Caused by: liquibase.exception.DatabaseException: Error executing SQL UPDATE `users` SET `username` = 'admin' WHERE system_id='admin': admin user account is locked
  188. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62)
  189. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:104)
  190. at liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1091)
  191. at liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:1075)
  192. at liquibase.changelog.ChangeSet.execute(ChangeSet.java:317)
  193. ... 7 more
  194. Caused by: java.sql.SQLException: admin user account is locked
  195. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965)
  196. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
  197. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
  198. at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2527)
  199. at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2680)
  200. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2480)
  201. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2438)
  202. at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:845)
  203. at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:745)
  204. at liquibase.executor.jvm.JdbcExecutor$1ExecuteStatementCallback.doInStatement(JdbcExecutor.java:92)
  205. at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
  206. ... 11 more
  207. INFO 11/18/20 12:08 AM:liquibase: Reading from `liquibasechangelog`
  208. 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
  209. 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
  210. 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
  211.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement