Advertisement
Guest User

openmrs error

a guest
Jun 19th, 2021
23
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mvn openmrs-sdk:run
  2. [INFO] Scanning for projects...
  3. [INFO]
  4. [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
  5. [INFO] Building Maven Stub Project (No POM) 1
  6. [INFO] --------------------------------[ pom ]---------------------------------
  7. [INFO]
  8. [INFO] --- openmrs-sdk-maven-plugin:4.0.1:run (default-cli) @ standalone-pom ---
  9.  
  10. Checking if port 8080 is in use... [free]
  11.  
  12. Forking a new process... (use -Dfork=false to prevent forking)
  13.  
  14. OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
  15. Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T11:33:14-07:00)
  16. Maven home: /usr/local/Cellar/maven@3.5/3.5.4_1/libexec
  17. Java version: 1.8.0_292, vendor: AdoptOpenJDK, runtime: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre
  18. Default locale: en_CA, platform encoding: UTF-8
  19. OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"
  20. [INFO] Scanning for projects...
  21. [INFO]
  22. [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
  23. [INFO] Building Maven Stub Project (No POM) 1
  24. [INFO] --------------------------------[ pom ]---------------------------------
  25. [INFO]
  26. [INFO] --- openmrs-sdk-maven-plugin:4.0.1:run-tomcat (default-cli) @ standalone-pom ---
  27.  
  28.  
  29. Using JAVA_HOME: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre
  30.  
  31. Using MAVEN_OPTS: -Xmx768m -XX:MaxPermSize=512m
  32.  
  33. Starting Tomcat...
  34.  
  35. Jun 19, 2021 12:09:52 PM org.apache.coyote.AbstractProtocol init
  36. INFO: Initializing ProtocolHandler ["http-bio-8080"]
  37. Jun 19, 2021 12:09:52 PM org.apache.catalina.core.StandardService startInternal
  38. INFO: Starting service [Tomcat]
  39. Jun 19, 2021 12:09:52 PM org.apache.catalina.core.StandardEngine startInternal
  40. INFO: Starting Servlet Engine: Apache Tomcat/7.0.107
  41. Jun 19, 2021 12:09:52 PM org.apache.catalina.startup.TldConfig execute
  42. 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.
  43. Jun 19, 2021 12:09:53 PM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
  44. INFO: No global web.xml found
  45. Jun 19, 2021 12:09:54 PM org.apache.catalina.deploy.WebXml setVersion
  46. WARNING: Unknown version string [4.0]. Default version will be used.
  47. Jun 19, 2021 12:10:00 PM org.apache.catalina.startup.TaglibUriRule body
  48. INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
  49. Jun 19, 2021 12:10:00 PM org.apache.catalina.startup.TaglibUriRule body
  50. INFO: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
  51. Jun 19, 2021 12:10:00 PM org.apache.catalina.startup.TaglibUriRule body
  52. INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
  53. Jun 19, 2021 12:10:00 PM org.apache.catalina.startup.TaglibUriRule body
  54. INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
  55. Jun 19, 2021 12:10:00 PM org.apache.catalina.startup.TaglibUriRule body
  56. INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
  57. Jun 19, 2021 12:10:00 PM org.apache.catalina.startup.TaglibUriRule body
  58. INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
  59. Jun 19, 2021 12:10:00 PM org.apache.catalina.startup.TaglibUriRule body
  60. INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
  61. Jun 19, 2021 12:10:00 PM org.apache.catalina.startup.TaglibUriRule body
  62. INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
  63. Jun 19, 2021 12:10:00 PM org.apache.catalina.startup.TaglibUriRule body
  64. INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
  65. Jun 19, 2021 12:10:00 PM org.apache.catalina.startup.TaglibUriRule body
  66. INFO: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
  67. Jun 19, 2021 12:10:00 PM org.apache.catalina.startup.TaglibUriRule body
  68. INFO: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
  69. Jun 19, 2021 12:10:00 PM org.apache.catalina.startup.TaglibUriRule body
  70. INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
  71. Jun 19, 2021 12:10:00 PM org.apache.catalina.startup.TaglibUriRule body
  72. INFO: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
  73. Jun 19, 2021 12:10:00 PM org.apache.catalina.startup.TaglibUriRule body
  74. INFO: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
  75. Jun 19, 2021 12:10:00 PM org.apache.catalina.startup.TaglibUriRule body
  76. INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
  77. Jun 19, 2021 12:10:00 PM org.apache.catalina.startup.TldConfig execute
  78. 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.
  79. Jun 19, 2021 12:10:00 PM org.apache.catalina.core.ApplicationContext log
  80. INFO: No Spring WebApplicationInitializer types detected on classpath
  81. SLF4J: Class path contains multiple SLF4J bindings.
  82. SLF4J: Found binding in [jar:file:/Users/USERNAME/openmrs/server/tmp/openmrs/WEB-INF/lib/slf4j-log4j12-1.7.26.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  83. SLF4J: Found binding in [jar:file:/Users/USERNAME/.m2/repository/org/slf4j/slf4j-simple/1.6.2/slf4j-simple-1.6.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  84. SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
  85. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
  86. Jun 19, 2021 12:10:00 PM org.apache.catalina.core.ApplicationContext log
  87. INFO: Initializing log4j from [classpath:log4j.xml]
  88. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2078) |2021-06-19 12:10:00,980| Unable to find a runtime properties file at /Users/USERNAME/openmrs/server/openmrs-runtime.properties
  89. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2106) |2021-06-19 12:10:00,991| Unable to find properties file: /Users/USERNAME/openmrs/server/openmrs-runtime.properties
  90. WARN - OpenmrsUtil.getRuntimeProperties(2039) |2021-06-19 12:10:00,992| Unable to find a runtime properties file. Initial setup is needed. View the webapp to run the setup wizard.
  91. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2078) |2021-06-19 12:10:01,253| Unable to find a runtime properties file at /Users/USERNAME/openmrs/server/openmrs-runtime.properties
  92. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2106) |2021-06-19 12:10:01,253| Unable to find properties file: /Users/USERNAME/openmrs/server/openmrs-runtime.properties
  93. WARN - OpenmrsUtil.getRuntimeProperties(2039) |2021-06-19 12:10:01,253| Unable to find a runtime properties file. Initial setup is needed. View the webapp to run the setup wizard.
  94.  
  95. OpenMRS is ready for you at http://localhost:8080/openmrs/
  96. Jun 19, 2021 12:10:01 PM org.apache.coyote.AbstractProtocol start
  97. INFO: Starting ProtocolHandler ["http-bio-8080"]
  98. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2078) |2021-06-19 12:10:16,767| Unable to find a runtime properties file at /Users/USERNAME/openmrs/server/openmrs-runtime.properties
  99. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2106) |2021-06-19 12:10:16,769| Unable to find properties file: /Users/USERNAME/openmrs/server/openmrs-runtime.properties
  100. Sat Jun 19 12:10:17 PDT 2021 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
  101. WARN - InitializationFilter.verifyConnection(1000) |2021-06-19 12:10:21,366| Error while checking the connection user account
  102. com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
  103. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  104. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  105. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  106. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  107. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  108. at com.mysql.jdbc.Util.getInstance(Util.java:408)
  109. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
  110. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
  111. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
  112. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
  113. at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2094)
  114. at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2019)
  115. at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:776)
  116. at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
  117. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  118. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  119. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  120. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  121. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  122. at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:386)
  123. at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:330)
  124. at java.sql.DriverManager.getConnection(DriverManager.java:664)
  125. at java.sql.DriverManager.getConnection(DriverManager.java:247)
  126. at org.openmrs.web.filter.initialization.InitializationFilter.verifyConnection(InitializationFilter.java:991)
  127. at org.openmrs.web.filter.initialization.InitializationFilter.access$300(InitializationFilter.java:85)
  128. at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run(InitializationFilter.java:1476)
  129. at java.lang.Thread.run(Thread.java:748)
  130. Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
  131.  
  132. The last packet successfully received from the server was 1 milliseconds ago. The last packet sent successfully to the server was 1 milliseconds ago.
  133. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  134. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  135. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  136. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  137. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  138. at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990)
  139. at com.mysql.jdbc.ExportControlled.transformSocketToSSLSocket(ExportControlled.java:203)
  140. at com.mysql.jdbc.MysqlIO.negotiateSSLConnection(MysqlIO.java:4901)
  141. at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1659)
  142. at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1226)
  143. at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2188)
  144. at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2035)
  145. ... 16 more
  146. Caused by: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is disabled or cipher suites are inappropriate)
  147. at sun.security.ssl.HandshakeContext.<init>(HandshakeContext.java:171)
  148. at sun.security.ssl.ClientHandshakeContext.<init>(ClientHandshakeContext.java:98)
  149. at sun.security.ssl.TransportContext.kickstart(TransportContext.java:220)
  150. at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:428)
  151. at com.mysql.jdbc.ExportControlled.transformSocketToSSLSocket(ExportControlled.java:188)
  152. ... 21 more
  153. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2078) |2021-06-19 12:10:21,554| Unable to find a runtime properties file at /Users/USERNAME/openmrs/server/openmrs-runtime.properties
  154. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2106) |2021-06-19 12:10:21,555| Unable to find properties file: /Users/USERNAME/openmrs/server/openmrs-runtime.properties
  155. Sat Jun 19 12:10:21 PDT 2021 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
  156. WARN - InitializationFilter.verifyConnection(1000) |2021-06-19 12:10:25,609| Error while checking the connection user account
  157. com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
  158. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  159. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  160. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  161. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  162. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  163. at com.mysql.jdbc.Util.getInstance(Util.java:408)
  164. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
  165. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
  166. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
  167. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
  168. at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2094)
  169. at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2019)
  170. at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:776)
  171. at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
  172. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  173. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  174. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  175. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  176. at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
  177. at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:386)
  178. at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:330)
  179. at java.sql.DriverManager.getConnection(DriverManager.java:664)
  180. at java.sql.DriverManager.getConnection(DriverManager.java:247)
  181. at org.openmrs.web.filter.initialization.InitializationFilter.verifyConnection(InitializationFilter.java:991)
  182. at org.openmrs.web.filter.initialization.InitializationFilter.access$300(InitializationFilter.java:85)
  183. at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run(InitializationFilter.java:1476)
  184. at java.lang.Thread.run(Thread.java:748)
  185. Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
  186.  
Advertisement
RAW Paste Data Copied
Advertisement