Guest User

Untitled

a guest
May 24th, 2020
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.97 KB | None | 0 0
  1. Exception in thread "Thread-26" org.openmrs.module.ModuleException: Unable to start OpenMRS. Error thrown was: Should not be here because updates were run previously
  2. at org.openmrs.web.WebDaemon.startOpenmrs(WebDaemon.java:65)
  3. at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run(InitializationFilter.java:1733)
  4. at java.lang.Thread.run(Thread.java:748)
  5. Caused by: javax.servlet.ServletException: Should not be here because updates were run previously
  6. at org.openmrs.web.Listener.startOpenmrs(Listener.java:235)
  7. at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
  8. Caused by: org.openmrs.util.DatabaseUpdateException: Unable to check if database updates are required
  9. at org.openmrs.api.context.Context.checkForDatabaseUpdates(Context.java:1170)
  10. at org.openmrs.api.context.Context.startup(Context.java:879)
  11. at org.openmrs.web.Listener.startOpenmrs(Listener.java:232)
  12. ... 1 more
  13. Caused by: java.lang.IllegalStateException: identifying the snapshot version that had been used to initialize the OpenMRS database failed as no candidate change set resulted in zero un-run changes
  14. at org.openmrs.liquibase.ChangeLogDetective.getInitialLiquibaseSnapshotVersion(ChangeLogDetective.java:102)
  15. at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:591)
  16. at org.openmrs.util.DatabaseUpdater.updatesRequired(DatabaseUpdater.java:270)
  17. at org.openmrs.api.context.Context.checkForDatabaseUpdates(Context.java:1167)
  18. ... 3 more
  19. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2122) |2020-05-24T23:04:57,790| Unable to find a runtime properties file at C:\Users\Administrator\openmrs-core\webapp\openmrs-runtime.properties
  20. WARN - InitializationFilter.executeStatement(1182) |2020-05-24T23:05:14,869| error executing sql: create database if not exists `?` default character set utf8
  21. com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
  22. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_251]
  23. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_251]
  24. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_251]
  25. at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_251]
  26. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) ~[mysql-connector-java-5.1.45.jar:5.1.45]
  27. at com.mysql.jdbc.Util.getInstance(Util.java:408) ~[mysql-connector-java-5.1.45.jar:5.1.45]
  28. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919) ~[mysql-connector-java-5.1.45.jar:5.1.45]
  29. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898) ~[mysql-connector-java-5.1.45.jar:5.1.45]
  30. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887) ~[mysql-connector-java-5.1.45.jar:5.1.45]
  31. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861) ~[mysql-connector-java-5.1.45.jar:5.1.45]
  32. at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2094) ~[mysql-connector-java-5.1.45.jar:5.1.45]
  33. at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2019) ~[mysql-connector-java-5.1.45.jar:5.1.45]
  34. at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:776) ~[mysql-connector-java-5.1.45.jar:5.1.45]
  35. at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47) ~[mysql-connector-java-5.1.45.jar:5.1.45]
  36. at sun.reflect.GeneratedConstructorAccessor196.newInstance(Unknown Source) ~[?:?]
  37. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_251]
  38. at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_251]
  39. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) ~[mysql-connector-java-5.1.45.jar:5.1.45]
  40. at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:386) ~[mysql-connector-java-5.1.45.jar:5.1.45]
  41. at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:330) ~[mysql-connector-java-5.1.45.jar:5.1.45]
  42. at java.sql.DriverManager.getConnection(DriverManager.java:664) ~[?:1.8.0_251]
  43. at java.sql.DriverManager.getConnection(DriverManager.java:247) ~[?:1.8.0_251]
  44. at org.openmrs.web.filter.initialization.InitializationFilter.executeStatement(InitializationFilter.java:1166) [classes/:?]
  45. at org.openmrs.web.filter.initialization.InitializationFilter.access$200(InitializationFilter.java:85) [classes/:?]
  46. at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run(InitializationFilter.java:1396) [classes/:?]
  47. at java.lang.Thread.run(Thread.java:748) [?:1.8.0_251]
  48. Caused by: java.sql.SQLException: Access denied for user 'openmrs_user'@'localhost' (using password: YES)
  49. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965) ~[mysql-connector-java-5.1.45.jar:5.1.45]
  50. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973) ~[mysql-connector-java-5.1.45.jar:5.1.45]
  51. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909) ~[mysql-connector-java-5.1.45.jar:5.1.45]
  52. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:873) ~[mysql-connector-java-5.1.45.jar:5.1.45]
  53. at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1710) ~[mysql-connector-java-5.1.45.jar:5.1.45]
  54. at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1226) ~[mysql-connector-java-5.1.45.jar:5.1.45]
  55. at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2188) ~[mysql-connector-java-5.1.45.jar:5.1.45]
  56. at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2035) ~[mysql-connector-java-5.1.45.jar:5.1.45]
  57. ... 15 more
Add Comment
Please, Sign In to add comment