Guest User

OpenMRS Setup -Docker Drivers issue

a guest
Mar 20th, 2023
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.25 KB | None | 0 0
  1. nkoladev$ mvn openmrs-sdk:setup
  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.5.0:setup (default-cli) @ standalone-pom ---
  9.  
  10. Setting up a new server...
  11.  
  12. Specify server id (-DserverId) (default: 'server'): server1
  13.  
  14. You can setup the following servers:
  15. 1) Distribution
  16. 2) Platform
  17.  
  18. Which one do you choose? [1/2]: 1
  19.  
  20. You can deploy the following versions of distribution:
  21. 1) Reference Application 2.14.0-SNAPSHOT
  22. 2) Reference Application 2.13.0
  23. 3) Reference Application 2.13.0-SNAPSHOT
  24. 4) Reference Application 2.12.2
  25. 5) Reference Application 2.11.0
  26. 6) Other...
  27.  
  28. Which one do you choose? [1/2/3/4/5/6]: 2
  29. [INFO] Configured Artifact: org.openmrs.distro:referenceapplication-package:2.13.0:jar
  30. [INFO] Copying referenceapplication-package-2.13.0.jar to /Users/nkoladev/openmrs/server1/openmrs-distro.jar
  31. [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.5.9:war
  32. [INFO] Copying openmrs-webapp-2.5.9.war to /Users/nkoladev/openmrs/server1/openmrs-2.5.9.war
  33. [INFO] Configured Artifact: org.openmrs.module:metadatasharing-omod:1.9.0:jar
  34. [INFO] Configured Artifact: org.openmrs.module:referencedemodata-omod:1.4.8:jar
  35. [INFO] Configured Artifact: org.openmrs.module:atlas-omod:2.2.6:omod
  36. [WARNING] The POM for org.openmrs.module:atlas-omod:omod:2.2.6 is missing, no dependency information available
  37. [INFO] Configured Artifact: org.openmrs.module:metadatamapping-omod:1.6.0:jar
  38. [INFO] Configured Artifact: org.openmrs.module:uiframework-omod:3.23.0:jar
  39. [INFO] Configured Artifact: org.openmrs.module:referencemetadata-omod:2.13.0:jar
  40. [INFO] Configured Artifact: org.openmrs.module:uicommons-omod:2.23.0:jar
  41. [INFO] Configured Artifact: org.openmrs.module:owa-omod:1.14.0:jar
  42. [INFO] Configured Artifact: org.openmrs.module:webservices.rest-omod:2.39.0:jar
  43. [INFO] Configured Artifact: org.openmrs.module:attachments-omod:2.7.0:jar
  44. [INFO] Configured Artifact: org.openmrs.module:formentryapp-omod:1.4.3:jar
  45. [INFO] Configured Artifact: org.openmrs.module:uilibrary-omod:2.0.7:jar
  46. [INFO] Configured Artifact: org.openmrs.module:htmlformentryui-omod:2.3.0:jar
  47. [INFO] Configured Artifact: org.openmrs.module:coreapps-omod:1.38.0:jar
  48. [INFO] Configured Artifact: org.openmrs.module:appointmentscheduling-omod:1.17.0:jar
  49. [INFO] Configured Artifact: org.openmrs.module:providermanagement-omod:2.14.0:jar
  50. [INFO] Configured Artifact: org.openmrs.module:calculation-omod:1.3.0:jar
  51. [INFO] Configured Artifact: org.openmrs.module:reportingrest-omod:1.14.0:jar
  52. [INFO] Configured Artifact: org.openmrs.module:reporting-omod:1.25.0:jar
  53. [INFO] Configured Artifact: org.openmrs.module:htmlformentry-omod:5.1.0:jar
  54. [INFO] Configured Artifact: org.openmrs.module:spa-omod:1.0.9:jar
  55. [INFO] Configured Artifact: org.openmrs.module:dataexchange-omod:1.3.8:jar
  56. [INFO] Configured Artifact: org.openmrs:event-omod:2.10.0:jar
  57. [INFO] Configured Artifact: org.openmrs.module:legacyui-omod:1.14.0:jar
  58. [INFO] Configured Artifact: org.openmrs.module:htmlwidgets-omod:1.11.0:jar
  59. [INFO] Configured Artifact: org.openmrs.module:reportingui-omod:1.11.0:jar
  60. [INFO] Configured Artifact: org.openmrs.module:reportingcompatibility-omod:2.0.9:jar
  61. [INFO] Configured Artifact: org.openmrs.module:emrapi-omod:1.33.0:jar
  62. [INFO] Configured Artifact: org.openmrs.module:idgen-omod:4.9.0:jar
  63. [INFO] Configured Artifact: org.openmrs.module:serialization.xstream-omod:0.2.16:omod
  64. [INFO] Configured Artifact: org.openmrs.module:appointmentschedulingui-omod:1.14.0:jar
  65. [INFO] Configured Artifact: org.openmrs.module:adminui-omod:1.6.0:jar
  66. [INFO] Configured Artifact: org.openmrs.module:addresshierarchy-omod:2.15.1:jar
  67. [INFO] Configured Artifact: org.openmrs.module:appui-omod:1.16.0:jar
  68. [INFO] Configured Artifact: org.openmrs.module:metadatadeploy-omod:1.13.0:jar
  69. [INFO] Configured Artifact: org.openmrs.module:fhir2-omod:1.8.0:jar
  70. [INFO] Configured Artifact: org.openmrs.module:openconceptlab-omod:2.0.0:jar
  71. [INFO] Configured Artifact: org.openmrs.module:allergyui-omod:1.8.5:jar
  72. [INFO] Configured Artifact: org.openmrs.module:registrationcore-omod:1.12.0:jar
  73. [INFO] Configured Artifact: org.openmrs.module:appframework-omod:2.17.0:jar
  74. [INFO] Configured Artifact: org.openmrs.module:registrationapp-omod:1.25.0:jar
  75. [INFO] Configured Artifact: org.openmrs.module:referenceapplication-omod:2.13.0:jar
  76. [INFO] Copying metadatasharing-omod-1.9.0.jar to /Users/nkoladev/openmrs/server1/modules/metadatasharing-1.9.0.omod
  77. [INFO] Copying referencedemodata-omod-1.4.8.jar to /Users/nkoladev/openmrs/server1/modules/referencedemodata-1.4.8.omod
  78. [INFO] Copying atlas-omod-2.2.6.omod to /Users/nkoladev/openmrs/server1/modules/atlas-2.2.6.omod
  79. [INFO] Copying metadatamapping-omod-1.6.0.jar to /Users/nkoladev/openmrs/server1/modules/metadatamapping-1.6.0.omod
  80. [INFO] Copying uiframework-omod-3.23.0.jar to /Users/nkoladev/openmrs/server1/modules/uiframework-3.23.0.omod
  81. [INFO] Copying referencemetadata-omod-2.13.0.jar to /Users/nkoladev/openmrs/server1/modules/referencemetadata-2.13.0.omod
  82. [INFO] Copying uicommons-omod-2.23.0.jar to /Users/nkoladev/openmrs/server1/modules/uicommons-2.23.0.omod
  83. [INFO] Copying owa-omod-1.14.0.jar to /Users/nkoladev/openmrs/server1/modules/owa-1.14.0.omod
  84. [INFO] Copying webservices.rest-omod-2.39.0.jar to /Users/nkoladev/openmrs/server1/modules/webservices.rest-2.39.0.omod
  85. [INFO] Copying attachments-omod-2.7.0.jar to /Users/nkoladev/openmrs/server1/modules/attachments-2.7.0.omod
  86. [INFO] Copying formentryapp-omod-1.4.3.jar to /Users/nkoladev/openmrs/server1/modules/formentryapp-1.4.3.omod
  87. [INFO] Copying uilibrary-omod-2.0.7.jar to /Users/nkoladev/openmrs/server1/modules/uilibrary-2.0.7.omod
  88. [INFO] Copying htmlformentryui-omod-2.3.0.jar to /Users/nkoladev/openmrs/server1/modules/htmlformentryui-2.3.0.omod
  89. [INFO] Copying coreapps-omod-1.38.0.jar to /Users/nkoladev/openmrs/server1/modules/coreapps-1.38.0.omod
  90. [INFO] Copying appointmentscheduling-omod-1.17.0.jar to /Users/nkoladev/openmrs/server1/modules/appointmentscheduling-1.17.0.omod
  91. [INFO] Copying providermanagement-omod-2.14.0.jar to /Users/nkoladev/openmrs/server1/modules/providermanagement-2.14.0.omod
  92. [INFO] Copying calculation-omod-1.3.0.jar to /Users/nkoladev/openmrs/server1/modules/calculation-1.3.0.omod
  93. [INFO] Copying reportingrest-omod-1.14.0.jar to /Users/nkoladev/openmrs/server1/modules/reportingrest-1.14.0.omod
  94. [INFO] Copying reporting-omod-1.25.0.jar to /Users/nkoladev/openmrs/server1/modules/reporting-1.25.0.omod
  95. [INFO] Copying htmlformentry-omod-5.1.0.jar to /Users/nkoladev/openmrs/server1/modules/htmlformentry-5.1.0.omod
  96. [INFO] Copying spa-omod-1.0.9.jar to /Users/nkoladev/openmrs/server1/modules/spa-1.0.9.omod
  97. [INFO] Copying dataexchange-omod-1.3.8.jar to /Users/nkoladev/openmrs/server1/modules/dataexchange-1.3.8.omod
  98. [INFO] Copying event-omod-2.10.0.jar to /Users/nkoladev/openmrs/server1/modules/event-2.10.0.omod
  99. [INFO] Copying legacyui-omod-1.14.0.jar to /Users/nkoladev/openmrs/server1/modules/legacyui-1.14.0.omod
  100. [INFO] Copying htmlwidgets-omod-1.11.0.jar to /Users/nkoladev/openmrs/server1/modules/htmlwidgets-1.11.0.omod
  101. [INFO] Copying reportingui-omod-1.11.0.jar to /Users/nkoladev/openmrs/server1/modules/reportingui-1.11.0.omod
  102. [INFO] Copying reportingcompatibility-omod-2.0.9.jar to /Users/nkoladev/openmrs/server1/modules/reportingcompatibility-2.0.9.omod
  103. [INFO] Copying emrapi-omod-1.33.0.jar to /Users/nkoladev/openmrs/server1/modules/emrapi-1.33.0.omod
  104. [INFO] Copying idgen-omod-4.9.0.jar to /Users/nkoladev/openmrs/server1/modules/idgen-4.9.0.omod
  105. [INFO] Copying serialization.xstream-omod-0.2.16.omod to /Users/nkoladev/openmrs/server1/modules/serialization.xstream-0.2.16.omod
  106. [INFO] Copying appointmentschedulingui-omod-1.14.0.jar to /Users/nkoladev/openmrs/server1/modules/appointmentschedulingui-1.14.0.omod
  107. [INFO] Copying adminui-omod-1.6.0.jar to /Users/nkoladev/openmrs/server1/modules/adminui-1.6.0.omod
  108. [INFO] Copying addresshierarchy-omod-2.15.1.jar to /Users/nkoladev/openmrs/server1/modules/addresshierarchy-2.15.1.omod
  109. [INFO] Copying appui-omod-1.16.0.jar to /Users/nkoladev/openmrs/server1/modules/appui-1.16.0.omod
  110. [INFO] Copying metadatadeploy-omod-1.13.0.jar to /Users/nkoladev/openmrs/server1/modules/metadatadeploy-1.13.0.omod
  111. [INFO] Copying fhir2-omod-1.8.0.jar to /Users/nkoladev/openmrs/server1/modules/fhir2-1.8.0.omod
  112. [INFO] Copying openconceptlab-omod-2.0.0.jar to /Users/nkoladev/openmrs/server1/modules/openconceptlab-2.0.0.omod
  113. [INFO] Copying allergyui-omod-1.8.5.jar to /Users/nkoladev/openmrs/server1/modules/allergyui-1.8.5.omod
  114. [INFO] Copying registrationcore-omod-1.12.0.jar to /Users/nkoladev/openmrs/server1/modules/registrationcore-1.12.0.omod
  115. [INFO] Copying appframework-omod-2.17.0.jar to /Users/nkoladev/openmrs/server1/modules/appframework-2.17.0.omod
  116. [INFO] Copying registrationapp-omod-1.25.0.jar to /Users/nkoladev/openmrs/server1/modules/registrationapp-1.25.0.omod
  117. [INFO] Copying referenceapplication-omod-2.13.0.jar to /Users/nkoladev/openmrs/server1/modules/referenceapplication-2.13.0.omod
  118.  
  119. Downloading OWAs...
  120.  
  121.  
  122. Downloading OWA: org.openmrs.owa:openmrs-owa-sysadmin:1.2
  123. [INFO] Configured Artifact: org.openmrs.owa:sysadmin:1.2:zip
  124. [INFO] Copying sysadmin-1.2.zip to /Users/nkoladev/openmrs/server1/owa/sysadmin-1.2.zip
  125.  
  126. What port would you like your server to use? (default: '8080'): 8080
  127.  
  128. If you want to enable remote debugging by default when running the server,
  129. specify the port number here (e.g. 1044). Leave blank to disable debugging.
  130. (Do not do this on a production server) (default: 'no debugging'): 1044
  131.  
  132. Which database would you like to use?:
  133. 1) MySQL 5.6 and above (requires pre-installed MySQL 5.6 and above)
  134. 2) MySQL 5.6 and above in SDK docker container (requires pre-installed Docker)
  135. 3) Existing docker container (requires pre-installed Docker)
  136. 4) PostgreSQL 8.2 and above
  137.  
  138. Which one do you choose? [1/2/3/4]: 2
  139.  
  140. Preparing 'openmrs-sdk-mysql-v3-2' DB docker container...
  141.  
  142. Started downloading mysql:5.6 image ...
  143.  
  144. Finished!
  145.  
  146. Starting 'openmrs-sdk-mysql-v3-2' DB docker container...
  147.  
  148. Trying to connect to the DB...
  149.  
  150. Connected to the DB.
  151. [INFO] ------------------------------------------------------------------------
  152. [INFO] BUILD FAILURE
  153. [INFO] ------------------------------------------------------------------------
  154. [INFO] Total time: 01:44 min
  155. [INFO] Finished at: 2023-03-20T11:34:32+03:00
  156. [INFO] ------------------------------------------------------------------------
  157. [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.5.0:setup (default-cli) on project standalone-pom: Failed to setup server: Failed to connect to the specified database jdbc:mysql://localhost:3308/server1?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&sessionVariables=default_storage_engine%3DInnoDB: No suitable driver found for jdbc:mysql://localhost:3308/ -> [Help 1]
  158. [ERROR]
  159. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  160. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  161. [ERROR]
  162. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  163. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Add Comment
Please, Sign In to add comment