jerome24

Openmrs installation error

Apr 27th, 2021
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.44 KB | None | 0 0
  1. liquibase-schema-only.xml::1227303685425-26::ben (generated) is now: 3:7f6992f21c5541316bce526edb78a949
  2. liquibase-schema-only.xml::1227303685425-46::ben (generated) is now: 3:b18b944837dd60d5d82996b8b1b57833
  3. liquibase-schema-only.xml::1227303685425-51::ben (generated) is now: 3:308c259886e442254ca616d365db78a2
  4. liquibase-schema-only.xml::1227303685425-54::ben (generated) is now: 3:f09d17e1a43189fc59b1c5d7c6c7d692
  5. liquibase-schema-only.xml::1227303685425-56::ben (generated) is now: 3:9d78f818f482903055f79b2fb7081e0f
  6. liquibase-schema-only.xml::1227303685425-65::ben (generated) is now: 3:5b25f91c273cc6b58b25385d24bc4f12
  7. liquibase-schema-only.xml::1227303685425-67::ben (generated) is now: 3:7c991af945580bbcb08e8d288c327525
  8.  
  9. at liquibase.changelog.DatabaseChangeLog.validate(DatabaseChangeLog.java:141)
  10. at liquibase.Liquibase.listUnrunChangeSets(Liquibase.java:625)
  11. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:201)
  12. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:150)
  13. ... 2 more
  14. INFO 4/27/21 11:16 AM:liquibase: Reading from `liquibasechangelog`
  15. WARNING 4/27/21 11:16 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
  16. WARNING 4/27/21 11:16 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
  17. WARNING 4/27/21 11:16 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
  18. INFO 4/27/21 11:16 AM:liquibase: Successfully acquired change log lock
  19. WARNING 4/27/21 11:16 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
  20. WARNING 4/27/21 11:16 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
  21. WARNING 4/27/21 11:16 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
  22. INFO 4/27/21 11:16 AM:liquibase: Successfully released change log lock
  23. INFO - EhCacheManagerFactoryBean.afterPropertiesSet(129) |2021-04-27 11:16:21,971| Initializing EhCache CacheManager
  24. WARN - SimpleUrlHandlerMapping.registerHandlers(115) |2021-04-27 11:16:33,526| Neither 'urlMap' nor 'mappings' set on SimpleUrlHandlerMapping
  25. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2078) |2021-04-27 11:16:33,536| Unable to find a runtime properties file at /var/lib/tomcat7/openmrs-runtime.properties
  26. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2106) |2021-04-27 11:16:33,537| Unable to find properties file: /usr/share/tomcat7/.OpenMRS/openmrs-runtime.properties
  27. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2078) |2021-04-27 11:16:33,537| Unable to find a runtime properties file at /var/lib/tomcat7/openmrs-runtime.properties
  28. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2078) |2021-04-27 11:16:33,538| Unable to find a runtime properties file at /var/lib/tomcat7/openmrs-runtime.properties
  29. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2078) |2021-04-27 11:16:33,538| Unable to find a runtime properties file at /var/lib/tomcat7/openmrs-runtime.properties
  30. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2078) |2021-04-27 11:16:33,597| Unable to find a runtime properties file at /var/lib/tomcat7/openmrs-runtime.properties
  31. INFO 4/27/21 11:16 AM:liquibase: Reading from `liquibasechangelog`
  32. WARNING 4/27/21 11:16 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
  33. WARNING 4/27/21 11:16 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
  34. WARNING 4/27/21 11:16 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
  35. WARN - ModuleUtil.getModuleRepository(506) |2021-04-27 11:16:36,556| Module repository /usr/share/tomcat7/.OpenMRS/modules doesn't exist. Creating directories now.
  36. WARN - Module.expandExtensionNames(573) |2021-04-27 11:16:36,756| webservices.rest: Unable to create instance of class defined for extension point: org.openmrs.admin.list
  37. java.lang.NoClassDefFoundError: org/openmrs/module/web/extension/AdministrationSectionExt
  38. at java.lang.ClassLoader.defineClass1(Native Method)
  39. at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
  40. at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
  41. at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
  42. at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
  43. at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
  44. at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
  45. at java.security.AccessController.doPrivileged(Native Method)
  46. at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
  47. at org.openmrs.module.ModuleClassLoader.loadClass(ModuleClassLoader.java:646)
  48. at org.openmrs.module.ModuleClassLoader.loadClass(ModuleClassLoader.java:565)
  49. at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  50. at org.openmrs.module.Module.expandExtensionNames(Module.java:565)
  51. at org.openmrs.module.Module.getExtensions(Module.java:492)
  52. at org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:675)
  53. at org.openmrs.api.context.Daemon$1.run(Daemon.java:80)
  54. Caused by: java.lang.ClassNotFoundException: org.openmrs.module.web.extension.AdministrationSectionExt
  55. at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1719)
  56. at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1570)
  57. at org.openmrs.module.ModuleClassLoader.loadClass(ModuleClassLoader.java:572)
  58. at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  59. ... 16 more
  60. INFO - LoggingAdvice.invoke(116) |2021-04-27 11:16:36,898| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: webservices.rest.started value: true,
  61. INFO - LoggingAdvice.invoke(156) |2021-04-27 11:16:36,947| Exiting method saveGlobalProperty
  62. INFO - LoggingAdvice.invoke(116) |2021-04-27 11:16:36,958| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: webservices.rest.mandatory value: false,
  63. INFO - LoggingAdvice.invoke(156) |2021-04-27 11:16:36,968| Exiting method saveGlobalProperty
  64. WARN - Module.expandExtensionNames(573) |2021-04-27 11:16:37,734| fhir: Unable to create instance of class defined for extension point: org.openmrs.admin.list
  65. java.lang.NoClassDefFoundError: org/openmrs/module/web/extension/AdministrationSectionExt
  66. at java.lang.ClassLoader.defineClass1(Native Method)
  67. at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
  68. at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
  69. at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
  70. at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
  71. at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
  72. at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
  73. at java.security.AccessController.doPrivileged(Native Method)
  74. at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
  75. at org.openmrs.module.ModuleClassLoader.loadClass(ModuleClassLoader.java:646)
  76. at org.openmrs.module.ModuleClassLoader.loadClass(ModuleClassLoader.java:565)
  77. at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  78. at org.openmrs.module.Module.expandExtensionNames(Module.java:565)
  79. at org.openmrs.module.Module.getExtensions(Module.java:492)
  80. at org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:675)
  81. at org.openmrs.api.context.Daemon$1.run(Daemon.java:80)
  82. Caused by: java.lang.ClassNotFoundException: org.openmrs.module.web.extension.AdministrationSectionExt
  83. at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1719)
  84. at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1570)
  85. at org.openmrs.module.ModuleClassLoader.loadClass(ModuleClassLoader.java:572)
  86. at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  87. ... 16 more
  88. INFO 4/27/21 11:16 AM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
  89. INFO 4/27/21 11:16 AM:liquibase: Reading from `liquibasechangelog`
  90. INFO 4/27/21 11:16 AM:liquibase: Successfully acquired change log lock
  91. INFO 4/27/21 11:16 AM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
  92. INFO 4/27/21 11:16 AM:liquibase: Successfully released change log lock
  93. INFO - LoggingAdvice.invoke(116) |2021-04-27 11:16:37,998| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: fhir.started value: true,
  94. INFO - LoggingAdvice.invoke(156) |2021-04-27 11:16:38,027| Exiting method saveGlobalProperty
  95. INFO - LoggingAdvice.invoke(116) |2021-04-27 11:16:38,041| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: fhir.mandatory value: false,
  96. INFO - LoggingAdvice.invoke(156) |2021-04-27 11:16:38,071| Exiting method saveGlobalProperty
  97. WARN - Module.expandExtensionNames(573) |2021-04-27 11:16:38,318| owa: Unable to create instance of class defined for extension point: org.openmrs.admin.list
  98. java.lang.NoClassDefFoundError: org/openmrs/module/web/extension/AdministrationSectionExt
  99. at java.lang.ClassLoader.defineClass1(Native Method)
  100. at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
  101. at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
  102. at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
  103. at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
  104. at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
  105. at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
  106. at java.security.AccessController.doPrivileged(Native Method)
  107. at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
  108. at org.openmrs.module.ModuleClassLoader.loadClass(ModuleClassLoader.java:646)
  109. at org.openmrs.module.ModuleClassLoader.loadClass(ModuleClassLoader.java:565)
  110. at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  111. at org.openmrs.module.Module.expandExtensionNames(Module.java:565)
  112. at org.openmrs.module.Module.getExtensions(Module.java:492)
  113. at org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:675)
  114. at org.openmrs.api.context.Daemon$1.run(Daemon.java:80)
  115. Caused by: java.lang.ClassNotFoundException: org.openmrs.module.web.extension.AdministrationSectionExt
  116. at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1719)
  117. at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1570)
  118. at org.openmrs.module.ModuleClassLoader.loadClass(ModuleClassLoader.java:572)
  119. at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
  120. ... 16 more
  121. INFO - LoggingAdvice.invoke(116) |2021-04-27 11:16:38,348| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: owa.started value: true,
  122. INFO - LoggingAdvice.invoke(156) |2021-04-27 11:16:38,359| Exiting method saveGlobalProperty
  123. INFO - LoggingAdvice.invoke(116) |2021-04-27 11:16:38,370| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: owa.mandatory value: false,
  124. INFO - LoggingAdvice.invoke(156) |2021-04-27 11:16:38,388| Exiting method saveGlobalProperty
  125. INFO - LoggingAdvice.invoke(116) |2021-04-27 11:16:38,648| In method SchedulerService.saveToMemento. Arguments:
  126. INFO - LoggingAdvice.invoke(156) |2021-04-27 11:16:38,712| Exiting method saveToMemento
  127. INFO - EhCacheManagerFactoryBean.destroy(181) |2021-04-27 11:16:38,854| Shutting down EhCache CacheManager
  128. INFO - ServiceContext.startRefreshingContext(832) |2021-04-27 11:16:38,865| Refreshing Context
  129. INFO - EhCacheManagerFactoryBean.afterPropertiesSet(129) |2021-04-27 11:16:40,818| Initializing EhCache CacheManager
  130. WARN - SimpleUrlHandlerMapping.registerHandlers(115) |2021-04-27 11:16:45,113| Neither 'urlMap' nor 'mappings' set on SimpleUrlHandlerMapping
  131. WARN - SimpleUrlHandlerMapping.registerHandlers(115) |2021-04-27 11:16:45,728| Neither 'urlMap' nor 'mappings' set on SimpleUrlHandlerMapping
  132. INFO - ServiceContext.doneRefreshingContext(843) |2021-04-27 11:16:45,737| Done refreshing Context
  133. INFO - LoggingAdvice.invoke(116) |2021-04-27 11:16:49,173| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: login.url value: owa/addonmanager/index.html,
  134. INFO - LoggingAdvice.invoke(156) |2021-04-27 11:16:49,191| Exiting method saveGlobalProperty
  135. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2078) |2021-04-27 11:16:51,794| Unable to find a runtime properties file at /var/lib/tomcat7/openmrs-runtime.properties
  136. INFO - HibernateContextDAO.authenticate(217) |2021-04-27 11:16:52,169| Failed login attempt (login=admin) - Invalid username and/or password: admin
  137. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2078) |2021-04-27 11:17:08,081| Unable to find a runtime properties file at /var/lib/tomcat7/openmrs-runtime.properties
  138. WARN - InitializationFilter.executeStatement(1184) |2021-04-27 11:18:04,916| error executing sql: create database if not exists `?` default character set utf8
  139. com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
  140. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  141. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  142. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  143. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  144. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  145. at com.mysql.jdbc.Util.getInstance(Util.java:408)
  146. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
  147. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
  148. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
  149. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
  150. at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2094)
  151. at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2019)
  152. at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:776)
  153. at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
  154. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  155. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  156. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  157. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  158. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  159. at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:386)
  160. at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:330)
  161. at java.sql.DriverManager.getConnection(DriverManager.java:664)
  162. at java.sql.DriverManager.getConnection(DriverManager.java:247)
  163. at org.openmrs.web.filter.initialization.InitializationFilter.executeStatement(InitializationFilter.java:1168)
  164. at org.openmrs.web.filter.initialization.InitializationFilter.access$200(InitializationFilter.java:85)
  165. at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run(InitializationFilter.java:1396)
  166. at java.lang.Thread.run(Thread.java:748)
  167. Caused by: java.sql.SQLException: Access denied for user 'openmrs_user'@'localhost' (using password: YES)
  168. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965)
  169. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
  170. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
  171. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:873)
  172. at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1710)
  173. at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1226)
  174. at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2188)
  175. at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2035)
  176. ... 16 more
  177. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2078) |2021-04-27 11:18:23,544| Unable to find a runtime properties file at /var/lib/tomcat7/openmrs-runtime.properties
  178. WARN - InitializationFilter.executeStatement(1184) |2021-04-27 11:19:28,182| error executing sql: create database if not exists `?` default character set utf8
  179. com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
  180. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  181. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  182. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  183. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  184. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  185. at com.mysql.jdbc.Util.getInstance(Util.java:408)
  186. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
  187. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
  188. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
  189. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
  190. at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2094)
  191. at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2019)
  192. at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:776)
  193. at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
  194. at sun.reflect.GeneratedConstructorAccessor136.newInstance(Unknown Source)
  195. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  196. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  197. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  198. at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:386)
  199. at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:330)
  200. at java.sql.DriverManager.getConnection(DriverManager.java:664)
  201. at java.sql.DriverManager.getConnection(DriverManager.java:247)
  202. at org.openmrs.web.filter.initialization.InitializationFilter.executeStatement(InitializationFilter.java:1168)
  203. at org.openmrs.web.filter.initialization.InitializationFilter.access$200(InitializationFilter.java:85)
  204. at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run(InitializationFilter.java:1396)
  205. at java.lang.Thread.run(Thread.java:748)
  206. Caused by: java.sql.SQLException: Access denied for user 'openmrs_user'@'localhost' (using password: YES)
  207. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965)
  208. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
  209. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
  210. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:873)
  211. at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1710)
  212. at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1226)
  213. at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2188)
  214. at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2035)
  215. ... 15 more
  216. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2078) |2021-04-27 11:21:45,275| Unable to find a runtime properties file at /var/lib/tomcat7/openmrs-runtime.properties
  217. WARN - InitializationFilter.executeStatement(1184) |2021-04-27 11:26:57,861| error executing sql: create user '?'@'localhost' identified by '?'
  218. com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
  219. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  220. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  221. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  222. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  223. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  224. at com.mysql.jdbc.Util.getInstance(Util.java:408)
  225. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
  226. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
  227. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
  228. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
  229. at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2094)
  230. at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2019)
  231. at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:776)
  232. at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
  233. at sun.reflect.GeneratedConstructorAccessor136.newInstance(Unknown Source)
  234. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  235. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  236. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  237. at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:386)
  238. at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:330)
  239. at java.sql.DriverManager.getConnection(DriverManager.java:664)
  240. at java.sql.DriverManager.getConnection(DriverManager.java:247)
  241. at org.openmrs.web.filter.initialization.InitializationFilter.executeStatement(InitializationFilter.java:1168)
  242. at org.openmrs.web.filter.initialization.InitializationFilter.access$200(InitializationFilter.java:85)
  243. at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run(InitializationFilter.java:1440)
  244. at java.lang.Thread.run(Thread.java:748)
  245. Caused by: java.sql.SQLException: Access denied for user 'openmrs_user'@'localhost' (using password: YES)
  246. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965)
  247. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
  248. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
  249. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:873)
  250. at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1710)
  251. at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1226)
  252. at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2188)
  253. at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2035)
  254. ... 15 more
  255. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2078) |2021-04-27 11:36:03,713| Unable to find a runtime properties file at /var/lib/tomcat7/openmrs-runtime.properties
  256. INFO 4/27/21 11:40 AM:liquibase: Reading from `liquibasechangelog`
  257. WARN - InitializationFilter$InitializationCompletion$1.run(1565) |2021-04-27 11:40:28,386| Error while trying to create tables and demo data
  258. org.openmrs.util.DatabaseUpdateException: There was an error while updating the database to the latest. file: liquibase-schema-only.xml. Error: Validation Failed:
  259. 8 change sets check sum
  260. liquibase-schema-only.xml::1227303685425-14::ben (generated) is now: 3:8122a19068fb1fd7b2c4d54e398ba507
  261. liquibase-schema-only.xml::1227303685425-26::ben (generated) is now: 3:7f6992f21c5541316bce526edb78a949
  262. liquibase-schema-only.xml::1227303685425-46::ben (generated) is now: 3:b18b944837dd60d5d82996b8b1b57833
  263. liquibase-schema-only.xml::1227303685425-51::ben (generated) is now: 3:308c259886e442254ca616d365db78a2
  264. liquibase-schema-only.xml::1227303685425-54::ben (generated) is now: 3:f09d17e1a43189fc59b1c5d7c6c7d692
  265. liquibase-schema-only.xml::1227303685425-56::ben (generated) is now: 3:9d78f818f482903055f79b2fb7081e0f
  266. liquibase-schema-only.xml::1227303685425-65::ben (generated) is now: 3:5b25f91c273cc6b58b25385d24bc4f12
  267. liquibase-schema-only.xml::1227303685425-67::ben (generated) is now: 3:7c991af945580bbcb08e8d288c327525
  268.  
  269. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:154)
  270. at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run(InitializationFilter.java:1549)
  271. at java.lang.Thread.run(Thread.java:748)
  272. Caused by: liquibase.exception.ValidationFailedException: Validation Failed:
  273. 8 change sets check sum
  274. liquibase-schema-only.xml::1227303685425-14::ben (generated) is now: 3:8122a19068fb1fd7b2c4d54e398ba507
  275. liquibase-schema-only.xml::1227303685425-26::ben (generated) is now: 3:7f6992f21c5541316bce526edb78a949
  276. liquibase-schema-only.xml::1227303685425-46::ben (generated) is now: 3:b18b944837dd60d5d82996b8b1b57833
  277. liquibase-schema-only.xml::1227303685425-51::ben (generated) is now: 3:308c259886e442254ca616d365db78a2
  278. liquibase-schema-only.xml::1227303685425-54::ben (generated) is now: 3:f09d17e1a43189fc59b1c5d7c6c7d692
  279. liquibase-schema-only.xml::1227303685425-56::ben (generated) is now: 3:9d78f818f482903055f79b2fb7081e0f
  280. liquibase-schema-only.xml::1227303685425-65::ben (generated) is now: 3:5b25f91c273cc6b58b25385d24bc4f12
  281. liquibase-schema-only.xml::1227303685425-67::ben (generated) is now: 3:7c991af945580bbcb08e8d288c327525
  282.  
  283. at liquibase.changelog.DatabaseChangeLog.validate(DatabaseChangeLog.java:141)
  284. at liquibase.Liquibase.listUnrunChangeSets(Liquibase.java:625)
  285. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:201)
  286. at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:150)
  287. ... 2 more
  288. INFO 4/27/21 11:40 AM:liquibase: Reading from `liquibasechangelog`
  289. WARNING 4/27/21 11:40 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
  290. WARNING 4/27/21 11:40 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
  291. WARNING 4/27/21 11:40 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
  292. INFO 4/27/21 11:40 AM:liquibase: Successfully acquired change log lock
  293. WARNING 4/27/21 11:40 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
  294. WARNING 4/27/21 11:40 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
  295. WARNING 4/27/21 11:40 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
  296. INFO 4/27/21 11:40 AM:liquibase: Successfully released change log lock
  297. Exception in thread "Thread-374" java.lang.IllegalStateException: Cannot initialize context because there is already a root application context present - check whether you have multiple ContextLoader* definitions in your web.xml!
  298. at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:277)
  299. at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run(InitializationFilter.java:1661)
  300. at java.lang.Thread.run(Thread.java:748)
  301.  
  302.  
Add Comment
Please, Sign In to add comment