Advertisement
spkabugo

successful Database setup

Jul 10th, 2019
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.39 KB | None | 0 0
  1. Microsoft Windows [Version 10.0.17134.829]
  2. (c) 2018 Microsoft Corporation. All rights reserved.
  3.  
  4. C:\Users\hp>mvn openmrs-sdk:setup
  5. [INFO] Scanning for projects...
  6. [INFO]
  7. [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
  8. [INFO] Building Maven Stub Project (No POM) 1
  9. [INFO] --------------------------------[ pom ]---------------------------------
  10. [INFO]
  11. [INFO] --- openmrs-sdk-maven-plugin:3.13.2:setup (default-cli) @ standalone-pom ---
  12.  
  13. Setting up a new server...
  14.  
  15. Specify server id (-DserverId) (default: 'server'): server
  16.  
  17. You can setup the following servers:
  18. 1) Distribution
  19. 2) Platform
  20.  
  21. Which one do you choose? [1/2]: 1
  22.  
  23. You can deploy the following versions of distribution:
  24. 1) Reference Application 2.10.0-SNAPSHOT
  25. 2) Reference Application 2.9.0
  26. 3) Reference Application 2.8.1
  27. 4) Reference Application 2.7.0
  28. 5) Reference Application 2.6.1
  29. 6) Other...
  30.  
  31. Which one do you choose? [1/2/3/4/5/6]: 1
  32. [INFO] Configured Artifact: org.openmrs.distro:referenceapplication-package:2.10.0-SNAPSHOT:jar
  33. [INFO] Copying referenceapplication-package-2.10.0-SNAPSHOT.jar to C:\Users\hp\openmrs\server\openmrs-distro.jar
  34. [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.1.4:war
  35. [INFO] Copying openmrs-webapp-2.1.4.war to C:\Users\hp\openmrs\server\openmrs-2.1.4.war
  36. [INFO] Configured Artifact: org.openmrs.module:addresshierarchy-omod:2.11.0:jar
  37. [INFO] Configured Artifact: org.openmrs.module:legacyui-omod:1.5.0:jar
  38. [INFO] Configured Artifact: org.openmrs.module:metadatadeploy-omod:1.11.0:jar
  39. [INFO] Configured Artifact: org.openmrs.module:reportingrest-omod:1.10.0:jar
  40. [INFO] Configured Artifact: org.openmrs.module:owa-omod:1.10.0:jar
  41. [INFO] Configured Artifact: org.openmrs.module:serialization.xstream-omod:0.2.14:omod
  42. [INFO] Configured Artifact: org.openmrs.module:registrationapp-omod:1.14.0-SNAPSHOT:jar
  43. [INFO] Configured Artifact: org.openmrs:event-omod:2.7.0:jar
  44. [INFO] Configured Artifact: org.openmrs.module:uilibrary-omod:2.0.6:jar
  45. [INFO] Configured Artifact: org.openmrs.module:htmlwidgets-omod:1.10.0:jar
  46. [INFO] Configured Artifact: org.openmrs.module:dataexchange-omod:1.3.3:jar
  47. [INFO] Configured Artifact: org.openmrs.module:appui-omod:1.9.0:jar
  48. [INFO] Configured Artifact: org.openmrs.module:allergyui-omod:1.8.1:jar
  49. [INFO] Configured Artifact: org.openmrs.module:providermanagement-omod:2.10.0:jar
  50. [INFO] Configured Artifact: org.openmrs.module:appointmentschedulingui-omod:1.7.0:jar
  51. [INFO] Configured Artifact: org.openmrs.module:attachments-omod:2.1.0:jar
  52. [INFO] Configured Artifact: org.openmrs.module:formentryapp-omod:1.4.2:jar
  53. [INFO] Configured Artifact: org.openmrs.module:idgen-omod:4.5.0:jar
  54. [INFO] Configured Artifact: org.openmrs.module:metadatamapping-omod:1.3.4:jar
  55. [INFO] Configured Artifact: org.openmrs.module:chartsearch-omod:2.1.0:jar
  56. [INFO] Configured Artifact: org.openmrs.module:fhir-omod:1.18.0:jar
  57. [INFO] Configured Artifact: org.openmrs.module:htmlformentryui-omod:1.7.0:jar
  58. [INFO] Configured Artifact: org.openmrs.module:referencedemodata-omod:1.4.4:jar
  59. [INFO] Configured Artifact: org.openmrs.module:emrapi-omod:1.28.0-SNAPSHOT:jar
  60. [INFO] Configured Artifact: org.openmrs.module:referenceapplication-omod:2.9.0:jar
  61. [INFO] Configured Artifact: org.openmrs.module:htmlformentry-omod:3.8.0:jar
  62. [INFO] Configured Artifact: org.openmrs.module:appframework-omod:2.13.0:jar
  63. [INFO] Configured Artifact: org.openmrs.module:referencemetadata-omod:2.9.0:jar
  64. [INFO] Configured Artifact: org.openmrs.module:reportingui-omod:1.6.0:jar
  65. [INFO] Configured Artifact: org.openmrs.module:coreapps-omod:1.23.0-SNAPSHOT:jar
  66. [INFO] Configured Artifact: org.openmrs.module:reportingcompatibility-omod:2.0.6:jar
  67. [INFO] Configured Artifact: org.openmrs.module:reporting-omod:1.17.0:jar
  68. [INFO] Configured Artifact: org.openmrs.module:adminui-omod:1.2.4:jar
  69. [INFO] Configured Artifact: org.openmrs.module:registrationcore-omod:1.8.0:jar
  70. [INFO] Configured Artifact: org.openmrs.module:appointmentscheduling-omod:1.10.0:jar
  71. [INFO] Configured Artifact: org.openmrs.module:calculation-omod:1.2:jar
  72. [INFO] Configured Artifact: org.openmrs.module:webservices.rest-omod:2.24.0:jar
  73. [INFO] Configured Artifact: org.openmrs.module:atlas-omod:2.2:omod
  74. [INFO] Configured Artifact: org.openmrs.module:uicommons-omod:2.6.1:jar
  75. [INFO] Configured Artifact: org.openmrs.module:uiframework-omod:3.15.0:jar
  76. [INFO] Configured Artifact: org.openmrs.module:metadatasharing-omod:1.5.0:jar
  77. [INFO] Copying addresshierarchy-omod-2.11.0.jar to C:\Users\hp\openmrs\server\modules\addresshierarchy-2.11.0.omod
  78. [INFO] Copying legacyui-omod-1.5.0.jar to C:\Users\hp\openmrs\server\modules\legacyui-1.5.0.omod
  79. [INFO] Copying metadatadeploy-omod-1.11.0.jar to C:\Users\hp\openmrs\server\modules\metadatadeploy-1.11.0.omod
  80. [INFO] Copying reportingrest-omod-1.10.0.jar to C:\Users\hp\openmrs\server\modules\reportingrest-1.10.0.omod
  81. [INFO] Copying owa-omod-1.10.0.jar to C:\Users\hp\openmrs\server\modules\owa-1.10.0.omod
  82. [INFO] Copying serialization.xstream-omod-0.2.14.omod to C:\Users\hp\openmrs\server\modules\serialization.xstream-0.2.14.omod
  83. [INFO] Copying registrationapp-omod-1.14.0-SNAPSHOT.jar to C:\Users\hp\openmrs\server\modules\registrationapp-1.14.0-SNAPSHOT.omod
  84. [INFO] Copying event-omod-2.7.0.jar to C:\Users\hp\openmrs\server\modules\event-2.7.0.omod
  85. [INFO] Copying uilibrary-omod-2.0.6.jar to C:\Users\hp\openmrs\server\modules\uilibrary-2.0.6.omod
  86. [INFO] Copying htmlwidgets-omod-1.10.0.jar to C:\Users\hp\openmrs\server\modules\htmlwidgets-1.10.0.omod
  87. [INFO] Copying dataexchange-omod-1.3.3.jar to C:\Users\hp\openmrs\server\modules\dataexchange-1.3.3.omod
  88. [INFO] Copying appui-omod-1.9.0.jar to C:\Users\hp\openmrs\server\modules\appui-1.9.0.omod
  89. [INFO] Copying allergyui-omod-1.8.1.jar to C:\Users\hp\openmrs\server\modules\allergyui-1.8.1.omod
  90. [INFO] Copying providermanagement-omod-2.10.0.jar to C:\Users\hp\openmrs\server\modules\providermanagement-2.10.0.omod
  91. [INFO] Copying appointmentschedulingui-omod-1.7.0.jar to C:\Users\hp\openmrs\server\modules\appointmentschedulingui-1.7.0.omod
  92. [INFO] Copying attachments-omod-2.1.0.jar to C:\Users\hp\openmrs\server\modules\attachments-2.1.0.omod
  93. [INFO] Copying formentryapp-omod-1.4.2.jar to C:\Users\hp\openmrs\server\modules\formentryapp-1.4.2.omod
  94. [INFO] Copying idgen-omod-4.5.0.jar to C:\Users\hp\openmrs\server\modules\idgen-4.5.0.omod
  95. [INFO] Copying metadatamapping-omod-1.3.4.jar to C:\Users\hp\openmrs\server\modules\metadatamapping-1.3.4.omod
  96. [INFO] Copying chartsearch-omod-2.1.0.jar to C:\Users\hp\openmrs\server\modules\chartsearch-2.1.0.omod
  97. [INFO] Copying fhir-omod-1.18.0.jar to C:\Users\hp\openmrs\server\modules\fhir-1.18.0.omod
  98. [INFO] Copying htmlformentryui-omod-1.7.0.jar to C:\Users\hp\openmrs\server\modules\htmlformentryui-1.7.0.omod
  99. [INFO] Copying referencedemodata-omod-1.4.4.jar to C:\Users\hp\openmrs\server\modules\referencedemodata-1.4.4.omod
  100. [INFO] Copying emrapi-omod-1.28.0-SNAPSHOT.jar to C:\Users\hp\openmrs\server\modules\emrapi-1.28.0-SNAPSHOT.omod
  101. [INFO] Copying referenceapplication-omod-2.9.0.jar to C:\Users\hp\openmrs\server\modules\referenceapplication-2.9.0.omod
  102. [INFO] Copying htmlformentry-omod-3.8.0.jar to C:\Users\hp\openmrs\server\modules\htmlformentry-3.8.0.omod
  103. [INFO] Copying appframework-omod-2.13.0.jar to C:\Users\hp\openmrs\server\modules\appframework-2.13.0.omod
  104. [INFO] Copying referencemetadata-omod-2.9.0.jar to C:\Users\hp\openmrs\server\modules\referencemetadata-2.9.0.omod
  105. [INFO] Copying reportingui-omod-1.6.0.jar to C:\Users\hp\openmrs\server\modules\reportingui-1.6.0.omod
  106. [INFO] Copying coreapps-omod-1.23.0-SNAPSHOT.jar to C:\Users\hp\openmrs\server\modules\coreapps-1.23.0-SNAPSHOT.omod
  107. [INFO] Copying reportingcompatibility-omod-2.0.6.jar to C:\Users\hp\openmrs\server\modules\reportingcompatibility-2.0.6.omod
  108. [INFO] Copying reporting-omod-1.17.0.jar to C:\Users\hp\openmrs\server\modules\reporting-1.17.0.omod
  109. [INFO] Copying adminui-omod-1.2.4.jar to C:\Users\hp\openmrs\server\modules\adminui-1.2.4.omod
  110. [INFO] Copying registrationcore-omod-1.8.0.jar to C:\Users\hp\openmrs\server\modules\registrationcore-1.8.0.omod
  111. [INFO] Copying appointmentscheduling-omod-1.10.0.jar to C:\Users\hp\openmrs\server\modules\appointmentscheduling-1.10.0.omod
  112. [INFO] Copying calculation-omod-1.2.jar to C:\Users\hp\openmrs\server\modules\calculation-1.2.omod
  113. [INFO] Copying webservices.rest-omod-2.24.0.jar to C:\Users\hp\openmrs\server\modules\webservices.rest-2.24.0.omod
  114. [INFO] Copying atlas-omod-2.2.omod to C:\Users\hp\openmrs\server\modules\atlas-2.2.omod
  115. [INFO] Copying uicommons-omod-2.6.1.jar to C:\Users\hp\openmrs\server\modules\uicommons-2.6.1.omod
  116. [INFO] Copying uiframework-omod-3.15.0.jar to C:\Users\hp\openmrs\server\modules\uiframework-3.15.0.omod
  117. [INFO] Copying metadatasharing-omod-1.5.0.jar to C:\Users\hp\openmrs\server\modules\metadatasharing-1.5.0.omod
  118.  
  119. What port would you like your server to use? (default: '8080'): 8080
  120.  
  121. If you want to enable remote debugging by default when running the server,
  122. specify the port number here (e.g. 1044). Leave blank to disable debugging.
  123. (Do not do this on a production server) (default: 'no debugging'): 3306
  124.  
  125. Which database would you like to use?:
  126. 1) MySQL 5.6 (requires pre-installed MySQL 5.6)
  127. 2) MySQL 5.6 in SDK docker container (requires pre-installed Docker)
  128. 3) Existing docker container (requires pre-installed Docker)
  129.  
  130. Which one do you choose? [1/2/3]: 1
  131.  
  132. The distribution requires MySQL database. Please specify database uri (-DdbUri) (default: 'jdbc:mysql://localhost:3306/@DBNAME@'): jdbc:mysql://localhost:3306/@DBNAME@
  133.  
  134. Please specify database username (-DdbUser) (default: 'root'): root
  135. Please specify database password (-DdbPassword) (default: ' '):
  136.  
  137. Connected to the database.
  138.  
  139. Importing an initial database from classpath://openmrs-platform.sql...
  140.  
  141. Database imported successfully.
  142.  
  143. The search index has been reset.
  144.  
  145. Note: JDK 1.8 is needed for platform version 2.1.4.
  146.  
  147. Which JDK would you like to use to run this server?:
  148. 1) JAVA_HOME (currently: C:\Program Files\Java\jdk1.8.0_211\jre)
  149. 2) Other...
  150.  
  151. Which one do you choose? [1/2]: 1
  152. [INFO] Server configured successfully, path: C:\Users\hp\openmrs\server
  153. [INFO] ------------------------------------------------------------------------
  154. [INFO] BUILD SUCCESS
  155. [INFO] ------------------------------------------------------------------------
  156. [INFO] Total time: 07:28 min
  157. [INFO] Finished at: 2019-07-10T18:28:44+03:00
  158. [INFO] ------------------------------------------------------------------------
  159.  
  160. C:\Users\hp>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement