Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2020
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.22 KB | None | 0 0
  1. Initial configuration needed
  2. Deleting active database
  3. Unzipping database from demodatabase.zip
  4. Resetting connection.password to 'test'
  5. Attempting to load properties file in current directory: openmrs-standalone-runtime.properties
  6. Using runtime properties file: openmrs-standalone-runtime.properties
  7. Attempting to load properties file in current directory: openmrs-standalone-runtime.properties
  8. Using runtime properties file: openmrs-standalone-runtime.properties
  9. Working directory is C:\Users\HP\Downloads\a ref app\openmrs-standalone-2.3.1\.
  10. Opening MySQL connection to create openmrs/test users
  11. [C:\Users\HP\Downloads\a ref app\openmrs-standalone-2.3.1\database\bin\mysqld.exe][--no-defaults][--console][--basedir=C:\Users\HP\Downloads\a ref app\openmrs-standalone-2.3.1\database][--max_allowed_packet=96M][--port=3316][--datadir=C:\Users\HP\Downloads\a ref app\openmrs-standalone-2.3.1\database\data][--character-set-server=utf8][--socket=mysql.sock][--collation-server=utf8_general_ci][--pid-file=C:\Users\HP\Downloads\a ref app\openmrs-standalone-2.3.1\database\data\MysqldResource.pid]
  12. [MysqldResource] launching mysqld (driver_launched_mysqld_1)
  13. [MysqldResource] mysqld running as process: 3548
  14. closed MySQL connection
  15. [MysqldResource] stopping mysqld (process: 3548)
  16. [MysqldResource] shutdown complete
  17. Attempting to load properties file in current directory: openmrs-standalone-runtime.properties
  18. Using runtime properties file: openmrs-standalone-runtime.properties
  19. [C:\Users\HP\Downloads\a ref app\openmrs-standalone-2.3.1\database\bin\mysqld.exe][--no-defaults][--console][--basedir=C:\Users\HP\Downloads\a ref app\openmrs-standalone-2.3.1\database][--max_allowed_packet=96M][--port=3316][--datadir=C:\Users\HP\Downloads\a ref app\openmrs-standalone-2.3.1\database\data][--character-set-server=utf8][--socket=mysql.sock][--collation-server=utf8_general_ci][--pid-file=C:\Users\HP\Downloads\a ref app\openmrs-standalone-2.3.1\database\data\MysqldResource.pid]
  20. [MysqldResource] launching mysqld (driver_launched_mysqld_2)
  21. [MysqldResource] mysqld running as process: 12232
  22. [MysqldResource] stopping mysqld (process: 12232)
  23. [MysqldResource] shutdown complete
  24. Attempting to load properties file in current directory: openmrs-standalone-runtime.properties
  25. Using runtime properties file: openmrs-standalone-runtime.properties
  26. Jul 03, 2020 4:05:15 PM org.apache.coyote.AbstractProtocol init
  27. INFO: Initializing ProtocolHandler ["http-bio-8081"]
  28. Jul 03, 2020 4:05:15 PM org.apache.catalina.startup.Embedded startInternal
  29. INFO: Starting tomcat server
  30. Jul 03, 2020 4:05:15 PM org.apache.catalina.core.StandardEngine startInternal
  31. INFO: Starting Servlet Engine: Apache Tomcat/7.0.100
  32. Jul 03, 2020 4:05:17 PM org.apache.catalina.deploy.WebXml setVersion
  33. WARNING: Unknown version string [4.0]. Default version will be used.
  34. Jul 03, 2020 4:05:20 PM org.apache.catalina.startup.TldConfig execute
  35. INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
  36. Jul 03, 2020 4:05:20 PM org.apache.catalina.core.ApplicationContext log
  37. INFO: Initializing log4j from [classpath:log4j.xml]
  38. INFO - Listener.contextInitialized(173) |2020-07-03 16:05:20,780| Using runtime properties file: openmrs-standalone-runtime.properties
  39. ERROR - MarkerIgnoringBase.error(159) |2020-07-03 16:05:25,054| Failed to obtain JDBC connection
  40. java.lang.RuntimeException: Error occurred while trying to get the updates needed for the database. 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
  41. at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:630)
  42. at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:587)
  43. at org.openmrs.util.DatabaseUpdater.updatesRequired(DatabaseUpdater.java:252)
  44. at org.openmrs.web.Listener.setupNeeded(Listener.java:217)
  45. at org.openmrs.web.Listener.contextInitialized(Listener.java:179)
  46. at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5197)
  47. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5720)
  48. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
  49. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1705)
  50. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1695)
  51. at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
  52. at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
  53. at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
  54. at java.base/java.lang.Thread.run(Thread.java:832)
  55. Caused by: 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
  56. at org.openmrs.util.DatabaseUpdater.getLiquibase(DatabaseUpdater.java:361)
  57. at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:615)
  58. ... 13 more
  59. Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
  60. at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  61. at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  62. at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  63. at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
  64. at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
  65. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  66. at com.mysql.jdbc.Util.getInstance(Util.java:408)
  67. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
  68. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
  69. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
  70. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
  71. at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2094)
  72. at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2019)
  73. at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:776)
  74. at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
  75. at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  76. at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  77. at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  78. at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
  79. at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
  80. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  81. at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:386)
  82. at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:330)
  83. at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677)
  84. at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:228)
  85. at org.openmrs.util.DatabaseUpdater.getConnection(DatabaseUpdater.java:423)
  86. at org.openmrs.util.DatabaseUpdater.getLiquibase(DatabaseUpdater.java:358)
  87. ... 14 more
  88. Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create socket factory 'com.mysql.management.driverlaunched.ServerLauncherSocketFactory' due to underlying exception:
  89. at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  90. at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  91. at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  92. at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
  93. at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
  94. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  95. at com.mysql.jdbc.Util.getInstance(Util.java:408)
  96. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
  97. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
  98. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
  99. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
  100. at com.mysql.jdbc.MysqlIO.createSocketFactory(MysqlIO.java:3330)
  101. at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:296)
  102. at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2186)
  103. at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2035)
  104. ... 29 more
  105. Caused by: java.lang.ClassCastException: class com.mysql.management.driverlaunched.ServerLauncherSocketFactory cannot be cast to class com.mysql.jdbc.SocketFactory (com.mysql.management.driverlaunched.ServerLauncherSocketFactory is in unnamed module of loader 'app'; com.mysql.jdbc.SocketFactory is in unnamed module of loader org.apache.catalina.loader.WebappClassLoader @66fcd51)
  106. at com.mysql.jdbc.MysqlIO.createSocketFactory(MysqlIO.java:3328)
  107. ... 32 more
  108. Jul 03, 2020 4:05:29 PM org.apache.coyote.AbstractProtocol start
  109. INFO: Starting ProtocolHandler ["http-bio-8081"]
  110. ERROR - CommonsLogLogChute.log(96) |2020-07-03 16:05:30,896| #parse() null argument
  111. ERROR - CommonsLogLogChute.log(96) |2020-07-03 16:05:30,908| #parse() null argument
  112. Jul 03, 2020 4:05:40 PM org.apache.coyote.AbstractProtocol stop
  113. INFO: Stopping ProtocolHandler ["http-bio-8081"]
  114. ERROR - Context.getServiceContext(273) |2020-07-03 16:05:40,973| serviceContext is null. Creating new ServiceContext()
  115. WARN - LocaleUtility.getDefaultLocale(73) |2020-07-03 16:05:41,003| Unable to get locale global property value. Service not found: interface org.openmrs.api.AdministrationService
  116. Jul 03, 2020 4:05:41 PM org.apache.catalina.core.StandardContext listenerStop
  117. SEVERE: Exception sending context destroyed event to listener instance of class [org.openmrs.web.Listener]
  118. org.openmrs.api.APIException: contextDAO is null
  119. at org.openmrs.api.context.Context.getContextDAO(Context.java:167)
  120. at org.openmrs.api.context.Context.closeSession(Context.java:783)
  121. at org.openmrs.web.Listener.contextDestroyed(Listener.java:560)
  122. at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5244)
  123. at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5933)
  124. at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
  125. at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1721)
  126. at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1710)
  127. at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
  128. at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
  129. at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
  130. at java.base/java.lang.Thread.run(Thread.java:832)
  131.  
  132. Jul 03, 2020 4:05:41 PM org.apache.catalina.core.ApplicationContext log
  133. INFO: Shutting down log4j
  134. Jul 03, 2020 4:05:41 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
  135. SEVERE: The web application [/openmrs-standalone] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
  136. Jul 03, 2020 4:05:41 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
  137. SEVERE: The web application [/openmrs-standalone] appears to have started a thread named [FileWatchdog] but has failed to stop it. This is very likely to create a memory leak.
  138. Jul 03, 2020 4:05:41 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
  139. SEVERE: The web application [/openmrs-standalone] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak.
  140. [MysqldResource] Mysqld not running. No file: C:\Users\HP\Downloads\a ref app\openmrs-standalone-2.3.1\database\data\MysqldResource.pid
  141. Jul 03, 2020 4:05:45 PM org.apache.catalina.loader.WebappClassLoaderBase findResourceInternal
  142. INFO: Illegal access: this web application instance has been stopped already. Could not load []. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
  143. Attempting to load properties file in current directory: openmrs-standalone-runtime.properties
  144. Using runtime properties file: openmrs-standalone-runtime.properties
  145. Jul 03, 2020 4:08:32 PM org.apache.coyote.AbstractProtocol init
  146. INFO: Initializing ProtocolHandler ["http-bio-8081"]
  147. Jul 03, 2020 4:08:32 PM org.apache.catalina.startup.Embedded startInternal
  148. INFO: Starting tomcat server
  149. Jul 03, 2020 4:08:32 PM org.apache.catalina.core.StandardEngine startInternal
  150. INFO: Starting Servlet Engine: Apache Tomcat/7.0.100
  151. Jul 03, 2020 4:08:33 PM org.apache.catalina.deploy.WebXml setVersion
  152. WARNING: Unknown version string [4.0]. Default version will be used.
  153. Jul 03, 2020 4:08:35 PM org.apache.catalina.startup.TldConfig execute
  154. INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
  155. Jul 03, 2020 4:08:36 PM org.apache.catalina.core.ApplicationContext log
  156. INFO: Initializing log4j from [classpath:log4j.xml]
  157. INFO - Listener.contextInitialized(173) |2020-07-03 16:08:36,405| Using runtime properties file: openmrs-standalone-runtime.properties
  158. ERROR - MarkerIgnoringBase.error(159) |2020-07-03 16:08:40,715| Failed to obtain JDBC connection
  159. java.lang.RuntimeException: Error occurred while trying to get the updates needed for the database. 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
  160. at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:630)
  161. at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:587)
  162. at org.openmrs.util.DatabaseUpdater.updatesRequired(DatabaseUpdater.java:252)
  163. at org.openmrs.web.Listener.setupNeeded(Listener.java:217)
  164. at org.openmrs.web.Listener.contextInitialized(Listener.java:179)
  165. at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5197)
  166. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5720)
  167. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
  168. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1705)
  169. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1695)
  170. at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
  171. at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
  172. at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
  173. at java.base/java.lang.Thread.run(Thread.java:832)
  174. Caused by: 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
  175. at org.openmrs.util.DatabaseUpdater.getLiquibase(DatabaseUpdater.java:361)
  176. at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:615)
  177. ... 13 more
  178. Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
  179. at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  180. at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  181. at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  182. at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
  183. at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
  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 java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  195. at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  196. at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  197. at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
  198. at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
  199. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  200. at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:386)
  201. at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:330)
  202. at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677)
  203. at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:228)
  204. at org.openmrs.util.DatabaseUpdater.getConnection(DatabaseUpdater.java:423)
  205. at org.openmrs.util.DatabaseUpdater.getLiquibase(DatabaseUpdater.java:358)
  206. ... 14 more
  207. Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create socket factory 'com.mysql.management.driverlaunched.ServerLauncherSocketFactory' due to underlying exception:
  208. at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  209. at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  210. at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  211. at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
  212. at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
  213. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  214. at com.mysql.jdbc.Util.getInstance(Util.java:408)
  215. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
  216. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
  217. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
  218. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
  219. at com.mysql.jdbc.MysqlIO.createSocketFactory(MysqlIO.java:3330)
  220. at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:296)
  221. at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2186)
  222. at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2035)
  223. ... 29 more
  224. Caused by: java.lang.ClassCastException: class com.mysql.management.driverlaunched.ServerLauncherSocketFactory cannot be cast to class com.mysql.jdbc.SocketFactory (com.mysql.management.driverlaunched.ServerLauncherSocketFactory is in unnamed module of loader 'app'; com.mysql.jdbc.SocketFactory is in unnamed module of loader org.apache.catalina.loader.WebappClassLoader @29a4f4f5)
  225. at com.mysql.jdbc.MysqlIO.createSocketFactory(MysqlIO.java:3328)
  226. ... 32 more
  227. Jul 03, 2020 4:08:45 PM org.apache.coyote.AbstractProtocol start
  228. INFO: Starting ProtocolHandler ["http-bio-8081"]
  229. ERROR - CommonsLogLogChute.log(96) |2020-07-03 16:08:46,732| #parse() null argument
  230. ERROR - CommonsLogLogChute.log(96) |2020-07-03 16:08:46,753| #parse() null argument
  231. Jul 03, 2020 4:08:59 PM org.apache.coyote.AbstractProtocol stop
  232. INFO: Stopping ProtocolHandler ["http-bio-8081"]
  233. ERROR - Context.getServiceContext(273) |2020-07-03 16:09:00,002| serviceContext is null. Creating new ServiceContext()
  234. WARN - LocaleUtility.getDefaultLocale(73) |2020-07-03 16:09:00,042| Unable to get locale global property value. Service not found: interface org.openmrs.api.AdministrationService
  235. Jul 03, 2020 4:09:00 PM org.apache.catalina.core.StandardContext listenerStop
  236. SEVERE: Exception sending context destroyed event to listener instance of class [org.openmrs.web.Listener]
  237. org.openmrs.api.APIException: contextDAO is null
  238. at org.openmrs.api.context.Context.getContextDAO(Context.java:167)
  239. at org.openmrs.api.context.Context.closeSession(Context.java:783)
  240. at org.openmrs.web.Listener.contextDestroyed(Listener.java:560)
  241. at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:5244)
  242. at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5933)
  243. at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257)
  244. at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1721)
  245. at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1710)
  246. at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
  247. at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
  248. at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
  249. at java.base/java.lang.Thread.run(Thread.java:832)
  250.  
  251. Jul 03, 2020 4:09:00 PM org.apache.catalina.core.ApplicationContext log
  252. INFO: Shutting down log4j
  253. Jul 03, 2020 4:09:00 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
  254. SEVERE: The web application [/openmrs-standalone] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
  255. Jul 03, 2020 4:09:00 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
  256. SEVERE: The web application [/openmrs-standalone] registered the JDBC driver [com.mysql.fabric.jdbc.FabricMySQLDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
  257. Jul 03, 2020 4:09:00 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
  258. SEVERE: The web application [/openmrs-standalone] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
  259. Jul 03, 2020 4:09:00 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
  260. SEVERE: The web application [/openmrs-standalone] appears to have started a thread named [FileWatchdog] but has failed to stop it. This is very likely to create a memory leak.
  261. Jul 03, 2020 4:09:00 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
  262. SEVERE: The web application [/openmrs-standalone] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak.
  263. [MysqldResource] Mysqld not running. No file: C:\Users\HP\Downloads\a ref app\openmrs-standalone-2.3.1\database\data\MysqldResource.pid
  264. Jul 03, 2020 4:09:01 PM org.apache.catalina.loader.WebappClassLoaderBase findResourceInternal
  265. INFO: Illegal access: this web application instance has been stopped already. Could not load []. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
  266. Attempting to load properties file in current directory: openmrs-standalone-runtime.properties
  267. Using runtime properties file: openmrs-standalone-runtime.properties
  268. Jul 03, 2020 4:09:45 PM org.apache.coyote.AbstractProtocol init
  269. INFO: Initializing ProtocolHandler ["http-bio-8082"]
  270. Jul 03, 2020 4:09:45 PM org.apache.catalina.startup.Embedded startInternal
  271. INFO: Starting tomcat server
  272. Jul 03, 2020 4:09:45 PM org.apache.catalina.core.StandardEngine startInternal
  273. INFO: Starting Servlet Engine: Apache Tomcat/7.0.100
  274. Jul 03, 2020 4:09:46 PM org.apache.catalina.deploy.WebXml setVersion
  275. WARNING: Unknown version string [4.0]. Default version will be used.
  276. Jul 03, 2020 4:09:48 PM org.apache.catalina.startup.TldConfig execute
  277. INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
  278. Jul 03, 2020 4:09:49 PM org.apache.catalina.core.ApplicationContext log
  279. INFO: Initializing log4j from [classpath:log4j.xml]
  280. INFO - Listener.contextInitialized(173) |2020-07-03 16:09:49,497| Using runtime properties file: openmrs-standalone-runtime.properties
  281. ERROR - MarkerIgnoringBase.error(159) |2020-07-03 16:09:53,819| Failed to obtain JDBC connection
  282. java.lang.RuntimeException: Error occurred while trying to get the updates needed for the database. 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
  283. at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:630)
  284. at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:587)
  285. at org.openmrs.util.DatabaseUpdater.updatesRequired(DatabaseUpdater.java:252)
  286. at org.openmrs.web.Listener.setupNeeded(Listener.java:217)
  287. at org.openmrs.web.Listener.contextInitialized(Listener.java:179)
  288. at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5197)
  289. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5720)
  290. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
  291. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1705)
  292. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1695)
  293. at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
  294. at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
  295. at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
  296. at java.base/java.lang.Thread.run(Thread.java:832)
  297. Caused by: 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
  298. at org.openmrs.util.DatabaseUpdater.getLiquibase(DatabaseUpdater.java:361)
  299. at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:615)
  300. ... 13 more
  301. Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
  302. at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  303. at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  304. at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  305. at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
  306. at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
  307. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  308. at com.mysql.jdbc.Util.getInstance(Util.java:408)
  309. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
  310. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
  311. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
  312. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
  313. at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2094)
  314. at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2019)
  315. at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:776)
  316. at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
  317. at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  318. at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  319. at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  320. at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
  321. at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
  322. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  323. at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:386)
  324. at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:330)
  325. at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677)
  326. at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:228)
  327. at org.openmrs.util.DatabaseUpdater.getConnection(DatabaseUpdater.java:423)
  328. at org.openmrs.util.DatabaseUpdater.getLiquibase(DatabaseUpdater.java:358)
  329. ... 14 more
  330. Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create socket factory 'com.mysql.management.driverlaunched.ServerLauncherSocketFactory' due to underlying exception:
  331. at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  332. at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  333. at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  334. at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
  335. at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
  336. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  337. at com.mysql.jdbc.Util.getInstance(Util.java:408)
  338. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
  339. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
  340. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
  341. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
  342. at com.mysql.jdbc.MysqlIO.createSocketFactory(MysqlIO.java:3330)
  343. at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:296)
  344. at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2186)
  345. at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2035)
  346. ... 29 more
  347. Caused by: java.lang.ClassCastException: class com.mysql.management.driverlaunched.ServerLauncherSocketFactory cannot be cast to class com.mysql.jdbc.SocketFactory (com.mysql.management.driverlaunched.ServerLauncherSocketFactory is in unnamed module of loader 'app'; com.mysql.jdbc.SocketFactory is in unnamed module of loader org.apache.catalina.loader.WebappClassLoader @dc41bc3)
  348. at com.mysql.jdbc.MysqlIO.createSocketFactory(MysqlIO.java:3328)
  349. ... 32 more
  350. Jul 03, 2020 4:09:58 PM org.apache.coyote.AbstractProtocol start
  351. INFO: Starting ProtocolHandler ["http-bio-8082"]
  352. ERROR - CommonsLogLogChute.log(96) |2020-07-03 16:09:59,439| #parse() null argument
  353. ERROR - CommonsLogLogChute.log(96) |2020-07-03 16:09:59,453| #parse() null argument
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement