Shuochen

OpenMRS server implementing

Apr 9th, 2021
45
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. INFO - Listener.contextInitialized(174) |2021-04-09T17:34:54,058| Using runtime properties file: openmrs-runtime.properties
  2. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(69) |2021-04-09T17:35:02,595| identifying the Liquibase snapshot version that had been used to initialize the OpenMRS database...
  3. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(82) |2021-04-09T17:35:02,597| looking for un-run change sets in snapshot version '2.4.x'
  4. ERROR - UpdateFilterModel.updateChanges(100) |2021-04-09T17:35:06,626| Unable to get the database changes
  5. 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
  6. at org.openmrs.util.DatabaseUpdater.getLiquibase(DatabaseUpdater.java:397) ~[classes/:?]
  7. at org.openmrs.util.DatabaseUpdater.getLiquibase(DatabaseUpdater.java:377) ~[classes/:?]
  8. at org.openmrs.util.DatabaseUpdaterLiquibaseProvider.getLiquibase(DatabaseUpdaterLiquibaseProvider.java:25) ~[classes/:?]
  9. at org.openmrs.liquibase.ChangeLogDetective.getInitialLiquibaseSnapshotVersion(ChangeLogDetective.java:88) ~[classes/:?]
  10. at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:638) ~[classes/:?]
  11. at org.openmrs.web.filter.update.DatabaseUpdaterWrapper.getUnrunDatabaseChanges(DatabaseUpdaterWrapper.java:18) ~[classes/:?]
  12. at org.openmrs.web.filter.update.UpdateFilterModel.updateChanges(UpdateFilterModel.java:92) ~[classes/:?]
  13. at org.openmrs.web.filter.update.UpdateFilterModel.<init>(UpdateFilterModel.java:71) ~[classes/:?]
  14. at org.openmrs.web.filter.update.UpdateFilterModel.<init>(UpdateFilterModel.java:57) ~[classes/:?]
  15. at org.openmrs.web.filter.update.UpdateFilter.init(UpdateFilter.java:496) ~[classes/:?]
  16. at org.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:140) ~[?:?]
  17. at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:731) ~[?:?]
  18. at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) [?:1.8.0_181]
  19. at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:742) [?:1.8.0_181]
  20. at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) [?:1.8.0_181]
  21. at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:755) [jetty-servlet-9.4.35.v20201120.jar:9.4.35.v20201120]
  22. at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:379) [jetty-servlet-9.4.35.v20201120.jar:9.4.35.v20201120]
  23. at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1457) [jetty-webapp-9.4.35.v20201120.jar:9.4.35.v20201120]
  24. at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:328) [jetty-maven-plugin-9.4.35.v20201120.jar:9.4.35.v20201120]
  25. at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1422) [jetty-webapp-9.4.35.v20201120.jar:9.4.35.v20201120]
  26. at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:911) [jetty-server-9.4.35.v20201120.jar:9.4.35.v20201120]
  27. at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:288) [jetty-servlet-9.4.35.v20201120.jar:9.4.35.v20201120]
  28. at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524) [jetty-webapp-9.4.35.v20201120.jar:9.4.35.v20201120]
  29. at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:397) [jetty-maven-plugin-9.4.35.v20201120.jar:9.4.35.v20201120]
  30. at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) [jetty-util-9.4.35.v20201120.jar:9.4.35.v20201120]
  31. at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) [jetty-util-9.4.35.v20201120.jar:9.4.35.v20201120]
  32. at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117) [jetty-util-9.4.35.v20201120.jar:9.4.35.v20201120]
  33. at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) [jetty-server-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.server.Server.start(Server.java:423) [jetty-server-9.4.35.v20201120.jar:9.4.35.v20201120]
  41. at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110) [jetty-util-9.4.35.v20201120.jar:9.4.35.v20201120]
  42. at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) [jetty-server-9.4.35.v20201120.jar:9.4.35.v20201120]
  43. at org.eclipse.jetty.server.Server.doStart(Server.java:387) [jetty-server-9.4.35.v20201120.jar:9.4.35.v20201120]
  44. at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) [jetty-util-9.4.35.v20201120.jar:9.4.35.v20201120]
  45. at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:449) [jetty-maven-plugin-9.4.35.v20201120.jar:9.4.35.v20201120]
  46. at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:310) [jetty-maven-plugin-9.4.35.v20201120.jar:9.4.35.v20201120]
  47. at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java:150) [jetty-maven-plugin-9.4.35.v20201120.jar:9.4.35.v20201120]
  48. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137) [maven-core-3.6.3.jar:3.6.3]
  49. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210) [maven-core-3.6.3.jar:3.6.3]
  50. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156) [maven-core-3.6.3.jar:3.6.3]
  51. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148) [maven-core-3.6.3.jar:3.6.3]
  52. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) [maven-core-3.6.3.jar:3.6.3]
  53. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) [maven-core-3.6.3.jar:3.6.3]
  54. at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56) [maven-core-3.6.3.jar:3.6.3]
  55. at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) [maven-core-3.6.3.jar:3.6.3]
  56. at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305) [maven-core-3.6.3.jar:3.6.3]
  57. at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192) [maven-core-3.6.3.jar:3.6.3]
  58. at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105) [maven-core-3.6.3.jar:3.6.3]
  59. at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957) [maven-embedder-3.6.3.jar:3.6.3]
  60. at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289) [maven-embedder-3.6.3.jar:3.6.3]
  61. at org.apache.maven.cli.MavenCli.main(MavenCli.java:193) [maven-embedder-3.6.3.jar:3.6.3]
  62. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]
  63. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181]
  64. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181]
  65. at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]
  66. at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282) [plexus-classworlds-2.6.0.jar:?]
  67. at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225) [plexus-classworlds-2.6.0.jar:?]
  68. at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406) [plexus-classworlds-2.6.0.jar:?]
  69. at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347) [plexus-classworlds-2.6.0.jar:?]
  70. Caused by: java.sql.SQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
  71. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:110) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  72. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  73. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  74. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  75. at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:73) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  76. at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:906) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  77. at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:831) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  78. at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:456) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  79. at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:246) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  80. at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  81. at java.sql.DriverManager.getConnection(DriverManager.java:664) ~[?:1.8.0_181]
  82. at java.sql.DriverManager.getConnection(DriverManager.java:247) ~[?:1.8.0_181]
  83. at org.openmrs.util.DatabaseUpdater.getConnection(DatabaseUpdater.java:461) ~[classes/:?]
  84. at org.openmrs.util.DatabaseUpdater.getLiquibase(DatabaseUpdater.java:394) ~[classes/:?]
  85. ... 63 more
  86. Caused by: com.mysql.cj.exceptions.CJException: Access denied for user 'openmrs_user'@'localhost' (using password: YES)
  87. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_181]
  88. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_181]
  89. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_181]
  90. at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_181]
  91. at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  92. at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  93. at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  94. at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:129) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  95. at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:792) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  96. at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:717) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  97. at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:685) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  98. at com.mysql.cj.protocol.a.NativeProtocol.checkErrorMessage(NativeProtocol.java:134) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  99. at com.mysql.cj.protocol.a.NativeAuthenticationProvider.proceedHandshakeWithPluggableAuthentication(NativeAuthenticationProvider.java:469) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  100. at com.mysql.cj.protocol.a.NativeAuthenticationProvider.connect(NativeAuthenticationProvider.java:174) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  101. at com.mysql.cj.protocol.a.NativeProtocol.connect(NativeProtocol.java:1348) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  102. at com.mysql.cj.NativeSession.connect(NativeSession.java:157) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  103. at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:850) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  104. at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:831) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  105. at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:456) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  106. at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:246) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  107. at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:198) ~[mysql-connector-java-8.0.22.jar:8.0.22]
  108. at java.sql.DriverManager.getConnection(DriverManager.java:664) ~[?:1.8.0_181]
  109. at java.sql.DriverManager.getConnection(DriverManager.java:247) ~[?:1.8.0_181]
  110. at org.openmrs.util.DatabaseUpdater.getConnection(DatabaseUpdater.java:461) ~[classes/:?]
  111. at org.openmrs.util.DatabaseUpdater.getLiquibase(DatabaseUpdater.java:394) ~[classes/:?]
  112. ... 63 more
  113. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(69) |2021-04-09T17:35:06,637| identifying the Liquibase snapshot version that had been used to initialize the OpenMRS database...
  114.  
  115. INFO - ChangeLogDetective.getInitialLiquibaseSnapshotVersion(82) |2021-04-09T17:35:06,638| looking for un-run change sets in snapshot version '2.4.x'
  116.  
  117.  
RAW Paste Data