Advertisement
reaganp

unable to find runtime properties file

May 5th, 2019
714
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.44 KB | None | 0 0
  1. Microsoft Windows [Version 10.0.10586]
  2. (c) 2015 Microsoft Corporation. All rights reserved.
  3.  
  4. C:\Windows\system32>g:
  5.  
  6. G:\>cd G:\openmrs\basicexample
  7.  
  8. G:\openmrs\basicexample>mvn clean install openmrs-sdk:run
  9. [INFO] Scanning for projects...
  10. [INFO] ------------------------------------------------------------------------
  11. [INFO] Reactor Build Order:
  12. [INFO]
  13. [INFO] Basicexample [pom]
  14. [INFO] Basicexample API [jar]
  15. [INFO] Basicexample OMOD [jar]
  16. Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
  17. Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml
  18. Downloaded from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-compiler-plugin/maven-metadata.xml (1.1 kB at 43 B/s)
  19. Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/eclipse/m2e/lifecycle-mapping/1.0.0/lifecycle-mapping-1.0.0.pom
  20. Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/eclipse/m2e/lifecycle-mapping/1.0.0/lifecycle-mapping-1.0.0.pom
  21. [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
  22. Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/eclipse/m2e/lifecycle-mapping/1.0.0/lifecycle-mapping-1.0.0.jar
  23. Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/eclipse/m2e/lifecycle-mapping/1.0.0/lifecycle-mapping-1.0.0.jar
  24. [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Could not find artifact org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public)
  25. Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-metadata.xml
  26. Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/openmrs/maven/plugins/maven-metadata.xml
  27. Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/apache/maven/plugins/maven-metadata.xml
  28. Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/maven/plugins/maven-metadata.xml
  29. Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/codehaus/mojo/maven-metadata.xml
  30. Downloaded from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/openmrs/maven/plugins/maven-metadata.xml (432 B at 46 B/s)
  31. Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/codehaus/mojo/maven-metadata.xml
  32. Downloaded from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/maven/plugins/maven-metadata.xml (906 B at 54 B/s)
  33. Downloaded from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/codehaus/mojo/maven-metadata.xml (27 kB at 1.2 kB/s)
  34. Downloaded from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-metadata.xml (19 kB at 684 B/s)
  35. Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml
  36. Downloading from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml
  37. Downloaded from openmrs-bintray-repo: https://dl.bintray.com/openmrs/maven/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml (1.5 kB at 315 B/s)
  38. Downloaded from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/maven/plugins/openmrs-sdk-maven-plugin/maven-metadata.xml (1.8 kB at 287 B/s)
  39. [INFO]
  40. [INFO] ------------------< org.openmrs.module:basicexample >-------------------
  41. [INFO] Building Basicexample 1.0.0-SNAPSHOT [1/3]
  42. [INFO] --------------------------------[ pom ]---------------------------------
  43. [INFO]
  44. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ basicexample ---
  45. [INFO]
  46. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ basicexample ---
  47. [INFO] Checking for local modifications: skipped.
  48. [INFO] Updating project files from SCM: skipped.
  49. [INFO] ShortRevision tag detected. The value is '6'.
  50. [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
  51. [INFO] Working directory: G:\openmrs\basicexample
  52. [INFO] Storing buildNumber: 0 at timestamp: 1557038618880
  53. [INFO] ShortRevision tag detected. The value is '6'.
  54. [INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=6 HEAD"
  55. [INFO] Working directory: G:\openmrs\basicexample
  56. [INFO] Storing buildScmBranch: UNKNOWN_BRANCH
  57. [INFO]
  58. [INFO] --- maven-java-formatter-plugin:0.4:format (default) @ basicexample ---
  59. [INFO] Using 'UTF-8' encoding to format source files.
  60. [INFO] Number of files to be formatted: 0
  61. [INFO]
  62. [INFO] --- maven-install-plugin:2.4:install (default-install) @ basicexample ---
  63. [INFO] Installing G:\openmrs\basicexample\pom.xml to C:\Users\DE-PRINCE LAPTOPS\.m2\repository\org\openmrs\module\basicexample\1.0.0-SNAPSHOT\basicexample-1.0.0-SNAPSHOT.pom
  64. [INFO]
  65. [INFO] ----------------< org.openmrs.module:basicexample-api >-----------------
  66. [INFO] Building Basicexample API 1.0.0-SNAPSHOT [2/3]
  67. [INFO] --------------------------------[ jar ]---------------------------------
  68. [INFO]
  69. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ basicexample-api ---
  70. [INFO] Deleting G:\openmrs\basicexample\api\target
  71. [INFO]
  72. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ basicexample-api ---
  73. [INFO]
  74. [INFO] --- maven-java-formatter-plugin:0.4:format (default) @ basicexample-api ---
  75. [INFO] Using 'UTF-8' encoding to format source files.
  76. [INFO] Number of files to be formatted: 8
  77. [INFO] Successfully formatted: 0 file(s)
  78. [INFO] Fail to format : 0 file(s)
  79. [INFO] Skipped : 8 file(s)
  80. [INFO] Approximate time taken: 1s
  81. [INFO]
  82. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ basicexample-api ---
  83. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  84. [INFO] Copying 5 resources
  85. [INFO] Copying 0 resource
  86. [INFO] skip non existing resourceDirectory G:\openmrs\basicexample\api\src\main\webapp
  87. [INFO] skip non existing resourceDirectory G:\openmrs\basicexample\api\src\main\webapp
  88. [INFO]
  89. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ basicexample-api ---
  90. [INFO] Changes detected - recompiling the module!
  91. [INFO] Compiling 6 source files to G:\openmrs\basicexample\api\target\classes
  92. [INFO]
  93. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ basicexample-api ---
  94. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  95. [INFO] skip non existing resourceDirectory G:\openmrs\basicexample\api\src\test\resources
  96. [INFO] skip non existing resourceDirectory G:\openmrs\basicexample\api\src\test\resources
  97. [INFO]
  98. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ basicexample-api ---
  99. [INFO] Changes detected - recompiling the module!
  100. [INFO] Compiling 2 source files to G:\openmrs\basicexample\api\target\test-classes
  101. [INFO]
  102. [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ basicexample-api ---
  103. [INFO] Surefire report directory: G:\openmrs\basicexample\api\target\surefire-reports
  104.  
  105. -------------------------------------------------------
  106. T E S T S
  107. -------------------------------------------------------
  108. Running org.openmrs.module.basicexample.api.BasicexampleServiceTest
  109. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.936 sec
  110. Running org.openmrs.module.basicexample.api.dao.BasicexampleDaoTest
  111. Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.108 sec
  112.  
  113. Results :
  114.  
  115. Tests run: 2, Failures: 0, Errors: 0, Skipped: 1
  116.  
  117. [INFO]
  118. [INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ basicexample-api ---
  119. [INFO] Building jar: G:\openmrs\basicexample\api\target\basicexample-api-1.0.0-SNAPSHOT.jar
  120. [INFO]
  121. [INFO] --- maven-jar-plugin:2.5:test-jar (default) @ basicexample-api ---
  122. [INFO] Building jar: G:\openmrs\basicexample\api\target\basicexample-api-1.0.0-SNAPSHOT-tests.jar
  123. [INFO]
  124. [INFO] --- maven-install-plugin:2.4:install (default-install) @ basicexample-api ---
  125. [INFO] Installing G:\openmrs\basicexample\api\target\basicexample-api-1.0.0-SNAPSHOT.jar to C:\Users\DE-PRINCE LAPTOPS\.m2\repository\org\openmrs\module\basicexample-api\1.0.0-SNAPSHOT\basicexample-api-1.0.0-SNAPSHOT.jar
  126. [INFO] Installing G:\openmrs\basicexample\api\pom.xml to C:\Users\DE-PRINCE LAPTOPS\.m2\repository\org\openmrs\module\basicexample-api\1.0.0-SNAPSHOT\basicexample-api-1.0.0-SNAPSHOT.pom
  127. [INFO] Installing G:\openmrs\basicexample\api\target\basicexample-api-1.0.0-SNAPSHOT-tests.jar to C:\Users\DE-PRINCE LAPTOPS\.m2\repository\org\openmrs\module\basicexample-api\1.0.0-SNAPSHOT\basicexample-api-1.0.0-SNAPSHOT-tests.jar
  128. [INFO]
  129. [INFO] ----------------< org.openmrs.module:basicexample-omod >----------------
  130. [INFO] Building Basicexample OMOD 1.0.0-SNAPSHOT [3/3]
  131. [INFO] --------------------------------[ jar ]---------------------------------
  132. [INFO]
  133. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ basicexample-omod ---
  134. [INFO] Deleting G:\openmrs\basicexample\omod\target
  135. [INFO]
  136. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ basicexample-omod ---
  137. [INFO]
  138. [INFO] --- maven-java-formatter-plugin:0.4:format (default) @ basicexample-omod ---
  139. [INFO] Using 'UTF-8' encoding to format source files.
  140. [INFO] Number of files to be formatted: 4
  141. [INFO] Successfully formatted: 0 file(s)
  142. [INFO] Fail to format : 0 file(s)
  143. [INFO] Skipped : 4 file(s)
  144. [INFO] Approximate time taken: 0s
  145. [INFO]
  146. [INFO] --- maven-dependency-plugin:2.8:unpack-dependencies (Expand resources) @ basicexample-omod ---
  147. [INFO] Unpacking G:\openmrs\basicexample\api\target\basicexample-api-1.0.0-SNAPSHOT.jar to G:\openmrs\basicexample\omod\target\classes with includes "*.xml,*.properties" and excludes ""
  148. [INFO]
  149. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ basicexample-omod ---
  150. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  151. [INFO] Copying 2 resources
  152. [INFO] Copying 0 resource
  153. [INFO] Copying 0 resource to web/module
  154. [INFO] Copying 3 resources to web/module
  155. [INFO]
  156. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ basicexample-omod ---
  157. [INFO] Changes detected - recompiling the module!
  158. [INFO] Compiling 3 source files to G:\openmrs\basicexample\omod\target\classes
  159. [INFO]
  160. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ basicexample-omod ---
  161. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  162. [INFO] skip non existing resourceDirectory G:\openmrs\basicexample\omod\src\test\resources
  163. [INFO] skip non existing resourceDirectory G:\openmrs\basicexample\omod\src\test\resources
  164. [INFO]
  165. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ basicexample-omod ---
  166. [INFO] Changes detected - recompiling the module!
  167. [INFO] Compiling 1 source file to G:\openmrs\basicexample\omod\target\test-classes
  168. [INFO]
  169. [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ basicexample-omod ---
  170. [INFO] Surefire report directory: G:\openmrs\basicexample\omod\target\surefire-reports
  171.  
  172. -------------------------------------------------------
  173. T E S T S
  174. -------------------------------------------------------
  175. Running org.openmrs.module.basicexample.AdminListExtensionTest
  176. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.776 sec
  177.  
  178. Results :
  179.  
  180. Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
  181.  
  182. [INFO]
  183. [INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ basicexample-omod ---
  184. [INFO] Building jar: G:\openmrs\basicexample\omod\target\basicexample-1.0.0-SNAPSHOT.jar
  185. [INFO]
  186. [INFO] --- maven-openmrs-plugin:1.0.1:package-module (pack) @ basicexample-omod ---
  187. [INFO] Packaging OpenMRS module
  188. [INFO] Building jar: G:\openmrs\basicexample\omod\target\basicexample-1.0.0-SNAPSHOT.omod
  189. [INFO]
  190. [INFO] --- maven-jar-plugin:2.5:test-jar (default) @ basicexample-omod ---
  191. [INFO] Building jar: G:\openmrs\basicexample\omod\target\basicexample-1.0.0-SNAPSHOT-tests.jar
  192. [INFO]
  193. [INFO] --- maven-install-plugin:2.4:install (default-install) @ basicexample-omod ---
  194. [INFO] Installing G:\openmrs\basicexample\omod\target\basicexample-1.0.0-SNAPSHOT.omod to C:\Users\DE-PRINCE LAPTOPS\.m2\repository\org\openmrs\module\basicexample-omod\1.0.0-SNAPSHOT\basicexample-omod-1.0.0-SNAPSHOT.jar
  195. [INFO] Installing G:\openmrs\basicexample\omod\pom.xml to C:\Users\DE-PRINCE LAPTOPS\.m2\repository\org\openmrs\module\basicexample-omod\1.0.0-SNAPSHOT\basicexample-omod-1.0.0-SNAPSHOT.pom
  196. [INFO] Installing G:\openmrs\basicexample\omod\target\basicexample-1.0.0-SNAPSHOT-tests.jar to C:\Users\DE-PRINCE LAPTOPS\.m2\repository\org\openmrs\module\basicexample-omod\1.0.0-SNAPSHOT\basicexample-omod-1.0.0-SNAPSHOT-tests.jar
  197. [INFO]
  198. [INFO] ------------------< org.openmrs.module:basicexample >-------------------
  199. [INFO] Building Basicexample 1.0.0-SNAPSHOT [4/3]
  200. [INFO] --------------------------------[ pom ]---------------------------------
  201. [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available
  202. [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in http://mavenrepo.openmrs.org/nexus/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of openmrs-repo has elapsed or updates are forced
  203. [INFO]
  204. [INFO] --- openmrs-sdk-maven-plugin:3.13.2:run (default-cli) @ basicexample ---
  205.  
  206. You have the following servers::
  207. 1) server1
  208. 2) server3
  209.  
  210. Which one do you choose? [1/2]: 2
  211.  
  212. Checking if port 8080 is in use... [free]
  213. [INFO] OpenMRS module detected, installing before run...
  214. [INFO] artifact org.openmrs.module:basicexample-omod: checking for updates from openmrs-repo
  215. [INFO] artifact org.openmrs.module:basicexample-omod: checking for updates from openmrs-repo-thirdparty
  216. [INFO] artifact org.openmrs.module:basicexample-omod: checking for updates from openmrs-bintray-repo
  217. [INFO] artifact org.openmrs.module:basicexample-omod: checking for updates from central
  218. [INFO] Configured Artifact: org.openmrs.module:basicexample-omod:1.0.0-SNAPSHOT:jar
  219. [INFO] Copying basicexample-1.0.0-SNAPSHOT.omod to C:\Users\DE-PRINCE LAPTOPS\openmrs\server3\modules\basicexample-1.0.0-SNAPSHOT.omod
  220. [info] Module 'basicexample' was updated to version '1.0.0-SNAPSHOT'
  221.  
  222. Connect remote debugger with port 1044
  223.  
  224.  
  225. Forking a new process... (use -Dfork=false to prevent forking)
  226.  
  227. Listening for transport dt_socket at address: 1044
  228. Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T21:41:47+03:00)
  229. Maven home: G:\sw\java\apache-maven-3.6.0\bin\..
  230. Java version: 1.8.0_202, vendor: Oracle Corporation, runtime: C:\Program Files\java\jdk1.8.0_202\jre
  231. Default locale: en_US, platform encoding: Cp1252
  232. OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
  233. [INFO] Scanning for projects...
  234. [INFO] ------------------------------------------------------------------------
  235. [INFO] Reactor Build Order:
  236. [INFO]
  237. [INFO] Basicexample [pom]
  238. [INFO] Basicexample API [jar]
  239. [INFO] Basicexample OMOD [jar]
  240. [INFO]
  241. [INFO] ------------------< org.openmrs.module:basicexample >-------------------
  242. [INFO] Building Basicexample 1.0.0-SNAPSHOT [1/3]
  243. [INFO] --------------------------------[ pom ]---------------------------------
  244. [INFO]
  245. [INFO] --- openmrs-sdk-maven-plugin:3.13.2:run-tomcat (default-cli) @ basicexample ---
  246.  
  247.  
  248. Using JAVA_HOME: C:\Program Files\java\jdk1.8.0_202\jre
  249.  
  250. Using MAVEN_OPTS: -Xmx768m -XX:MaxPermSize=512m -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=1044
  251.  
  252. Starting Tomcat...
  253.  
  254. May 05, 2019 9:45:27 AM org.apache.coyote.AbstractProtocol init
  255. INFO: Initializing ProtocolHandler ["http-bio-8080"]
  256. May 05, 2019 9:45:27 AM org.apache.catalina.core.StandardService startInternal
  257. INFO: Starting service Tomcat
  258. May 05, 2019 9:45:27 AM org.apache.catalina.core.StandardEngine startInternal
  259. INFO: Starting Servlet Engine: Apache Tomcat/7.0.67
  260. May 05, 2019 9:45:40 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
  261. INFO: No global web.xml found
  262. May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
  263. INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
  264. May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
  265. INFO: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
  266. May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
  267. INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
  268. May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
  269. INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
  270. May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
  271. INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
  272. May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
  273. INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
  274. May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
  275. INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
  276. May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
  277. INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
  278. May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
  279. INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
  280. May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
  281. INFO: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
  282. May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
  283. INFO: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
  284. May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
  285. INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
  286. May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
  287. INFO: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
  288. May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
  289. INFO: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
  290. May 05, 2019 9:45:58 AM org.apache.catalina.startup.TaglibUriRule body
  291. INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
  292. May 05, 2019 9:45:58 AM org.apache.catalina.startup.TldConfig execute
  293. 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.
  294. May 05, 2019 9:45:58 AM org.apache.catalina.core.ApplicationContext log
  295. INFO: No Spring WebApplicationInitializer types detected on classpath
  296. SLF4J: Class path contains multiple SLF4J bindings.
  297. SLF4J: Found binding in [jar:file:/C:/Users/DE-PRINCE%20LAPTOPS/.m2/repository/org/slf4j/slf4j-simple/1.6.2/slf4j-simple-1.6.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  298. SLF4J: Found binding in [jar:file:/C:/Users/DE-PRINCE%20LAPTOPS/openmrs/server3/tmp/openmrs/WEB-INF/lib/slf4j-log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
  299. SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
  300. May 05, 2019 9:45:59 AM org.apache.catalina.core.ApplicationContext log
  301. INFO: Initializing log4j from [classpath:log4j.xml]
  302. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2085) |2019-05-05 09:45:59,723| Unable to find a runtime properties file at G:\openmrs\basicexample\openmrs-runtime.properties
  303. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2085) |2019-05-05 09:45:59,775| Unable to find a runtime properties file at G:\openmrs\basicexample\openmrs-runtime.properties
  304. INFO - Listener.contextInitialized(174) |2019-05-05 09:45:59,777| Using runtime properties file: C:\Users\DE-PRINCE LAPTOPS\openmrs\server3\openmrs-runtime.properties
  305. ERROR - Listener.contextInitialized(205) |2019-05-05 09:46:06,212| Got exception while starting up:
  306. 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
  307. at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:628)
  308. at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:584)
  309. at org.openmrs.util.DatabaseUpdater.updatesRequired(DatabaseUpdater.java:249)
  310. at org.openmrs.web.Listener.setupNeeded(Listener.java:222)
  311. at org.openmrs.web.Listener.contextInitialized(Listener.java:180)
  312. at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5077)
  313. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5591)
  314. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  315. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1574)
  316. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1564)
  317. at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  318. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  319. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  320. at java.lang.Thread.run(Thread.java:748)
  321. 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
  322. at org.openmrs.util.DatabaseUpdater.getLiquibase(DatabaseUpdater.java:358)
  323. at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:613)
  324. ... 13 more
  325. Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
  326. May 05, 2019 9:46:06 AM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
  327. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  328. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  329. INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [211] milliseconds.
  330. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  331. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  332. at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
  333. at com.mysql.jdbc.Util.getInstance(Util.java:386)
  334. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)
  335. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989)
  336. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:975)
  337. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:920)
  338. at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2395)
  339. at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2316)
  340. at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
  341. at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
  342. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  343. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  344. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  345. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  346. at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
  347. at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)
  348. at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:347)
  349. at java.sql.DriverManager.getConnection(DriverManager.java:664)
  350. at java.sql.DriverManager.getConnection(DriverManager.java:247)
  351. at org.openmrs.util.DatabaseUpdater.getConnection(DatabaseUpdater.java:420)
  352. at org.openmrs.util.DatabaseUpdater.getLiquibase(DatabaseUpdater.java:355)
  353. ... 14 more
  354. Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'server3'
  355. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  356. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  357. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  358. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  359. at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
  360. at com.mysql.jdbc.Util.getInstance(Util.java:386)
  361. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
  362. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)
  363. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
  364. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:928)
  365. at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1750)
  366. at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1290)
  367. at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2493)
  368. at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2334)
  369. ... 28 more
  370. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2085) |2019-05-05 09:46:07,146| Unable to find a runtime properties file at G:\openmrs\basicexample\openmrs-runtime.properties
  371. May 05, 2019 9:46:11 AM org.apache.coyote.AbstractProtocol start
  372. INFO: Starting ProtocolHandler ["http-bio-8080"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement