Shuochen

OpenMRS new database connection problem after delete the properties file

Apr 12th, 2021
19
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2143) |2021-04-12T08:36:02,644| Unable to find a runtime properties file at /Users/delldai/Desktop/LEEDS/Project/openmrs/codes/openmrs-core/webapp/openmrs-runtime.properties
  2. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2143) |2021-04-12T08:36:02,674| Unable to find a runtime properties file at /Users/delldai/Desktop/LEEDS/Project/openmrs/codes/openmrs-core/webapp/openmrs-runtime.properties
  3. INFO - Listener.contextInitialized(174) |2021-04-12T08:36:02,675| Using runtime properties file: /Users/delldai/.OpenMRS/openmrs-runtime.properties
  4. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2143) |2021-04-12T08:36:02,677| Unable to find a runtime properties file at /Users/delldai/Desktop/LEEDS/Project/openmrs/codes/openmrs-core/webapp/openmrs-runtime.properties
  5. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2143) |2021-04-12T08:36:07,107| Unable to find a runtime properties file at /Users/delldai/Desktop/LEEDS/Project/openmrs/codes/openmrs-core/webapp/openmrs-runtime.properties
  6. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(69) |2021-04-12T08:36:11,162| identifying the Liquibase snapshot version that had been used to initialize the OpenMRS database...
  7. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(82) |2021-04-12T08:36:11,165| looking for un-run change sets in snapshot version '2.4.x'
  8. ERROR - UpdateFilterModel.updateChanges(100) |2021-04-12T08:36:15,203| Unable to get the database changes
  9. java.lang.Exception: Unable to get a connection to the database. Please check your openmrs runtime properties file and make sure you have the correct connection.username and connection.password set
  10. at org.openmrs.util.DatabaseUpdater.getLiquibase(DatabaseUpdater.java:397) ~[classes/:?]
  11. at org.openmrs.util.DatabaseUpdater.getLiquibase(DatabaseUpdater.java:377) ~[classes/:?]
  12. at org.openmrs.util.DatabaseUpdaterLiquibaseProvider.getLiquibase(DatabaseUpdaterLiquibaseProvider.java:25) ~[classes/:?]
  13. at org.openmrs.liquibase.ChangeLogDetective.getInitialLiquibaseSnapshotVersion(ChangeLogDetective.java:88) ~[classes/:?]
  14. at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:638) ~[classes/:?]
  15. at org.openmrs.web.filter.update.DatabaseUpdaterWrapper.getUnrunDatabaseChanges(DatabaseUpdaterWrapper.java:18) ~[classes/:?]
  16. at org.openmrs.web.filter.update.UpdateFilterModel.updateChanges(UpdateFilterModel.java:92) ~[classes/:?]
  17. at org.openmrs.web.filter.update.UpdateFilterModel.<init>(UpdateFilterModel.java:71) ~[classes/:?]
  18. at org.openmrs.web.filter.update.UpdateFilterModel.<init>(UpdateFilterModel.java:57) ~[classes/:?]
  19. at org.openmrs.web.filter.update.UpdateFilter.init(UpdateFilter.java:496) ~[classes/:?]
  20. at org.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:140) ~[?:?]
  21. at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:731) ~[?:?]
  22. at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) [?:1.8.0_181]
  23. at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:742) [?:1.8.0_181]
  24. at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) [?:1.8.0_181]
  25. at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:755) [jetty-servlet-9.4.35.v20201120.jar:9.4.35.v20201120]
  26. at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:379) [jetty-servlet-9.4.35.v20201120.jar:9.4.35.v20201120]
  27. at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1457) [jetty-webapp-9.4.35.v20201120.jar:9.4.35.v20201120]
  28. at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:328) [jetty-maven-plugin-9.4.35.v20201120.jar:9.4.35.v20201120]
  29. at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1422) [jetty-webapp-9.4.35.v20201120.jar:9.4.35.v20201120]
  30. at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:911) [jetty-server-9.4.35.v20201120.jar:9.4.35.v20201120]
  31. at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:288) [jetty-servlet-9.4.35.v20201120.jar:9.4.35.v20201120]
  32. at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524) [jetty-webapp-9.4.35.v20201120.jar:9.4.35.v20201120]
  33. at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:397) [jetty-maven-plugin-9.4.35.v20201120.jar:9.4.35.v20201120]
  34. at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) [jetty-util-9.4.35.v20201120.jar:9.4.35.v20201120]
  35. at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) [jetty-util-9.4.35.v20201120.jar:9.4.35.v20201120]
  36. at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117) [jetty-util-9.4.35.v20201120.jar:9.4.35.v20201120]
  37. at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) [jetty-server-9.4.35.v20201120.jar:9.4.35.v20201120]
  38. at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) [jetty-util-9.4.35.v20201120.jar:9.4.35.v20201120]
  39. at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) [jetty-util-9.4.35.v20201120.jar:9.4.35.v20201120]
  40. at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117) [jetty-util-9.4.35.v20201120.jar:9.4.35.v20201120]
  41. at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) [jetty-server-9.4.35.v20201120.jar:9.4.35.v20201120]
  42. at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) [jetty-util-9.4.35.v20201120.jar:9.4.35.v20201120]
  43. at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) [jetty-util-9.4.35.v20201120.jar:9.4.35.v20201120]
  44. at org.eclipse.jetty.server.Server.start(Server.java:423) [jetty-server-9.4.35.v20201120.jar:9.4.35.v20201120]
  45. at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) [jetty-util-9.4.35.v20201120.jar:9.4.35.v20201120]
  46. at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) [jetty-server-9.4.35.v20201120.jar:9.4.35.v20201120]
  47. at org.eclipse.jetty.server.Server.doStart(Server.java:387) [jetty-server-9.4.35.v20201120.jar:9.4.35.v20201120]
  48. at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) [jetty-util-9.4.35.v20201120.jar:9.4.35.v20201120]
  49. at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:449) [jetty-maven-plugin-9.4.35.v20201120.jar:9.4.35.v20201120]
  50. at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:310) [jetty-maven-plugin-9.4.35.v20201120.jar:9.4.35.v20201120]
  51. at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java:150) [jetty-maven-plugin-9.4.35.v20201120.jar:9.4.35.v20201120]
  52. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137) [maven-core-3.6.3.jar:3.6.3]
  53. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210) [maven-core-3.6.3.jar:3.6.3]
  54. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156) [maven-core-3.6.3.jar:3.6.3]
  55. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148) [maven-core-3.6.3.jar:3.6.3]
  56. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) [maven-core-3.6.3.jar:3.6.3]
  57. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) [maven-core-3.6.3.jar:3.6.3]
  58. at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56) [maven-core-3.6.3.jar:3.6.3]
  59. at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) [maven-core-3.6.3.jar:3.6.3]
  60. at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305) [maven-core-3.6.3.jar:3.6.3]
  61. at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192) [maven-core-3.6.3.jar:3.6.3]
  62. at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105) [maven-core-3.6.3.jar:3.6.3]
  63. at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957) [maven-embedder-3.6.3.jar:3.6.3]
  64. at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289) [maven-embedder-3.6.3.jar:3.6.3]
  65. at org.apache.maven.cli.MavenCli.main(MavenCli.java:193) [maven-embedder-3.6.3.jar:3.6.3]
  66. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]
  67. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181]
  68. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181]
  69. at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]
  70. at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282) [plexus-classworlds-2.6.0.jar:?]
  71. at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225) [plexus-classworlds-2.6.0.jar:?]
  72. at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406) [plexus-classworlds-2.6.0.jar:?]
  73. at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347) [plexus-classworlds-2.6.0.jar:?]
  74. Caused by: java.sql.SQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
  75. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:110) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  76. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  77. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  78. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  79. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:73) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  80. at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:906) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  81. at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:831) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  82. at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:456) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  83. at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:246) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  84. at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  85. at java.sql.DriverManager.getConnection(DriverManager.java:664) ~[?:1.8.0_181]
  86. at java.sql.DriverManager.getConnection(DriverManager.java:247) ~[?:1.8.0_181]
  87. at org.openmrs.util.DatabaseUpdater.getConnection(DatabaseUpdater.java:461) ~[classes/:?]
  88. at org.openmrs.util.DatabaseUpdater.getLiquibase(DatabaseUpdater.java:394) ~[classes/:?]
  89. ... 63 more
  90. Caused by: com.mysql.cj.exceptions.CJException: Access denied for user 'openmrs_user'@'localhost' (using password: YES)
  91. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_181]
  92. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_181]
  93. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_181]
  94. at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_181]
  95. at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  96. at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  97. at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  98. at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:129) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  99. at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:792) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  100. at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:717) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  101. at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:685) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  102. at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:134) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  103. at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:469) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  104. at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:174) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  105. at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1348) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  106. at com.mysql.cj.NativeSession.connect(NativeSession.java:157) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  107. at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:850) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  108. at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:831) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  109. at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:456) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  110. at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:246) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  111. at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  112. at java.sql.DriverManager.getConnection(DriverManager.java:664) ~[?:1.8.0_181]
  113. at java.sql.DriverManager.getConnection(DriverManager.java:247) ~[?:1.8.0_181]
  114. at org.openmrs.util.DatabaseUpdater.getConnection(DatabaseUpdater.java:461) ~[classes/:?]
  115. at org.openmrs.util.DatabaseUpdater.getLiquibase(DatabaseUpdater.java:394) ~[classes/:?]
  116. ... 63 more
  117. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(69) |2021-04-12T08:36:15,217| identifying the Liquibase snapshot version that had been used to initialize the OpenMRS database...
  118. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(82) |2021-04-12T08:36:15,217| looking for un-run change sets in snapshot version '2.4.x'
  119. [INFO] Started o.e.j.m.p.JettyWebAppContext@373e6b9d{OpenMRS,/openmrs,file:///Users/delldai/Desktop/LEEDS/Project/openmrs/codes/openmrs-core/webapp/src/main/webapp/,AVAILABLE}{file:///Users/delldai/Desktop/LEEDS/Project/openmrs/codes/openmrs-core/webapp/src/main/webapp/}
  120. [INFO] Started ServerConnector@13c90c06{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
  121. [INFO] Started @23616ms
  122. [INFO] Started Jetty Server
  123. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2143) |2021-04-12T08:37:06,967| Unable to find a runtime properties file at /Users/delldai/Desktop/LEEDS/Project/openmrs/codes/openmrs-core/webapp/openmrs-runtime.properties
  124. WARN - InitializationFilter.executeStatement(1180) |2021-04-12T08:37:24,119| error executing sql: create database if not exists `?` default character set utf8
  125. java.sql.SQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
  126. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:110) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  127. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  128. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  129. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  130. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:73) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  131. at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:906) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  132. at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:831) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  133. at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:456) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  134. at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:246) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  135. at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  136. at java.sql.DriverManager.getConnection(DriverManager.java:664) ~[?:1.8.0_181]
  137. at java.sql.DriverManager.getConnection(DriverManager.java:247) ~[?:1.8.0_181]
  138. at org.openmrs.web.filter.initialization.InitializationFilter.executeStatement(InitializationFilter.java:1164) [classes/:?]
  139. at org.openmrs.web.filter.initialization.InitializationFilter.access$300(InitializationFilter.java:80) [classes/:?]
  140. at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run(InitializationFilter.java:1394) [classes/:?]
  141. at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
  142. Caused by: com.mysql.cj.exceptions.CJException: Access denied for user 'openmrs_user'@'localhost' (using password: YES)
  143. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_181]
  144. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_181]
  145. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_181]
  146. at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_181]
  147. at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  148. at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  149. at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  150. at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:129) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  151. at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:792) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  152. at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:717) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  153. at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:685) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  154. at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:134) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  155. at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:469) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  156. at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:174) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  157. at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1348) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  158. at com.mysql.cj.NativeSession.connect(NativeSession.java:157) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  159. at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:850) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  160. ... 10 more
  161. ^C[INFO] Stopped ServerConnector@13c90c06{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
  162. [INFO] node0 Stopped scavenging
  163. ERROR - Context.getServiceContext(273) |2021-04-12T08:39:02,632| serviceContext is null. Creating new ServiceContext()
  164. WARN - LocaleUtility.getDefaultLocale(73) |2021-04-12T08:39:02,645| Unable to get locale global property value. Service not found: interface org.openmrs.api.AdministrationService
  165. [INFO] Stopped o.e.j.m.p.JettyWebAppContext@373e6b9d{OpenMRS,/openmrs,file:///Users/delldai/Desktop/LEEDS/Project/openmrs/codes/openmrs-core/webapp/src/main/webapp/,STOPPED}{file:///Users/delldai/Desktop/LEEDS/Project/openmrs/codes/openmrs-core/webapp/src/main/webapp/}
  166. [INFO] Jetty server exiting.
RAW Paste Data