Advertisement
Guest User

Untitled

a guest
May 24th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.98 KB | None | 0 0
  1. Attempting to load properties file in current directory: openmrs-standalone-runtime.properties
  2. Using runtime properties file: openmrs-standalone-runtime.properties
  3. Initial configuration needed
  4. Attempting to load properties file in current directory: openmrs-standalone-runtime.properties
  5. Using runtime properties file: openmrs-standalone-runtime.properties
  6. Deleting active database
  7. Unzipping database from demodatabase.zip
  8. Resetting connection.password to 'test'
  9. Attempting to load properties file in current directory: openmrs-standalone-runtime.properties
  10. Using runtime properties file: openmrs-standalone-runtime.properties
  11. Attempting to load properties file in current directory: openmrs-standalone-runtime.properties
  12. Using runtime properties file: openmrs-standalone-runtime.properties
  13. Working directory is /Users/me/Downloads/referenceapplication-standalone-2.9.0/.
  14. Opening MySQL connection to create openmrs/test users
  15. Exception in thread "main" com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
  16. at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  17. at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  18. at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  19. at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
  20. at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
  21. at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
  22. at com.mysql.jdbc.Util.getInstance(Util.java:386)
  23. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)
  24. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989)
  25. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:975)
  26. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:920)
  27. at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2395)
  28. at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2316)
  29. at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
  30. at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
  31. at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  32. at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  33. at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  34. at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
  35. at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
  36. at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
  37. at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)
  38. at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:347)
  39. at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677)
  40. at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:228)
  41. at org.openmrs.standalone.StandaloneUtil.startupDatabaseToCreateDefaultUser(StandaloneUtil.java:423)
  42. at org.openmrs.standalone.ApplicationController.init(ApplicationController.java:260)
  43. at org.openmrs.standalone.ApplicationController.<init>(ApplicationController.java:55)
  44. at org.openmrs.standalone.ApplicationController.main(ApplicationController.java:126)
  45. Caused by: com.mysql.management.util.SQLRuntimeException: java.sql.SQLException: Access denied for user 'openmrs'@'localhost' (using password: YES)
  46. at com.mysql.management.driverlaunched.ServerLauncherSocketFactory.alreadyStarted(ServerLauncherSocketFactory.java:160)
  47. at com.mysql.management.driverlaunched.ServerLauncherSocketFactory.ensureMysqlStarted(ServerLauncherSocketFactory.java:82)
  48. at com.mysql.management.driverlaunched.ServerLauncherSocketFactory.connect(ServerLauncherSocketFactory.java:72)
  49. at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:308)
  50. at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2489)
  51. at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2334)
  52. ... 17 more
  53. Caused by: java.sql.SQLException: Access denied for user 'openmrs'@'localhost' (using password: YES)
  54. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1086)
  55. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)
  56. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
  57. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:928)
  58. at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1750)
  59. at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1290)
  60. at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2493)
  61. at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2526)
  62. at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2311)
  63. at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
  64. at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
  65. at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  66. at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  67. at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  68. at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
  69. at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
  70. at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
  71. at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)
  72. at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:347)
  73. at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677)
  74. at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:228)
  75. at com.mysql.management.driverlaunched.ServerLauncherSocketFactory.alreadyStarted(ServerLauncherSocketFactory.java:155)
  76. ... 22 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement