Guest User

Untitled

a guest
May 16th, 2017
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.15 KB | None | 0 0
  1. Shivang-MacBook-Air:~ shivang$ mvn openmrs-sdk:setup
  2. [INFO] Scanning for projects...
  3. [INFO]
  4. [INFO] ------------------------------------------------------------------------
  5. [INFO] Building Maven Stub Project (No POM) 1
  6. [INFO] ------------------------------------------------------------------------
  7. [INFO]
  8. [INFO] --- openmrs-sdk-maven-plugin:3.9.0:setup (default-cli) @ standalone-pom ---
  9.  
  10. Setting up a new server...
  11.  
  12. Specify server id (-DserverId) (default: 'server'): gsoc
  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.7.0-SNAPSHOT
  22. 2) Reference Application 2.6.0
  23. 3) Reference Application 2.5
  24. 4) Reference Application 2.4
  25. 5) Reference Application 2.3.1
  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.6.0:jar
  30. [INFO] Copying referenceapplication-package-2.6.0.jar to /Users/shivang/openmrs/gsoc/openmrs-distro.jar
  31. [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.0.5:war
  32. [INFO] Copying openmrs-webapp-2.0.5.war to /Users/shivang/openmrs/gsoc/openmrs-2.0.5.war
  33. [INFO] Configured Artifact: org.openmrs.module:legacyui-omod:1.3.1:jar
  34. [INFO] Configured Artifact: org.openmrs.module:metadatadeploy-omod:1.8.1:jar
  35. [INFO] Configured Artifact: org.openmrs.module:reportingrest-omod:1.8.0:jar
  36. [INFO] Configured Artifact: org.openmrs.module:owa-omod:1.7.0:jar
  37. [INFO] Configured Artifact: org.openmrs.module:serialization.xstream-omod:0.2.12:omod
  38. [INFO] Configured Artifact: org.openmrs.module:registrationapp-omod:1.8.0:jar
  39. [INFO] Configured Artifact: org.openmrs:event-omod:2.5:jar
  40. [INFO] Configured Artifact: org.openmrs.module:uilibrary-omod:2.0.4:jar
  41. [INFO] Configured Artifact: org.openmrs.module:htmlwidgets-omod:1.9.0:jar
  42. [INFO] Configured Artifact: org.openmrs.module:dataexchange-omod:1.3.2:jar
  43. [INFO] Configured Artifact: org.openmrs.module:appui-omod:1.8.0:jar
  44. [INFO] Configured Artifact: org.openmrs.module:allergyui-omod:1.7.0:jar
  45. [INFO] Configured Artifact: org.openmrs.module:providermanagement-omod:2.6.0:jar
  46. [INFO] Configured Artifact: org.openmrs.module:appointmentschedulingui-omod:1.6.0:jar
  47. [INFO] Configured Artifact: org.openmrs.module:formentryapp-omod:1.4.1:jar
  48. [INFO] Configured Artifact: org.openmrs.module:idgen-omod:4.4.1:jar
  49. [INFO] Configured Artifact: org.openmrs.module:metadatamapping-omod:1.3.2:jar
  50. [INFO] Configured Artifact: org.openmrs.module:chartsearch-omod:2.0:jar
  51. [INFO] Configured Artifact: org.openmrs.module:htmlformentryui-omod:1.6.3:jar
  52. [INFO] Configured Artifact: org.openmrs.module:referencedemodata-omod:1.4.3:jar
  53. [INFO] Configured Artifact: org.openmrs.module:emrapi-omod:1.21.0:jar
  54. [INFO] Configured Artifact: org.openmrs.module:referenceapplication-omod:2.6.0:jar
  55. [INFO] Configured Artifact: org.openmrs.module:htmlformentry-omod:3.3.2:jar
  56. [INFO] Configured Artifact: org.openmrs.module:appframework-omod:2.10.0:jar
  57. [INFO] Configured Artifact: org.openmrs.module:referencemetadata-omod:2.6.0:jar
  58. [INFO] Configured Artifact: org.openmrs.module:reportingui-omod:1.3.0:jar
  59. [INFO] Configured Artifact: org.openmrs.module:coreapps-omod:1.13.0:jar
  60. [INFO] Configured Artifact: org.openmrs.module:reportingcompatibility-omod:2.0.2:jar
  61. [INFO] Configured Artifact: org.openmrs.module:reporting-omod:1.12.0:jar
  62. [INFO] Configured Artifact: org.openmrs.module:adminui-omod:1.2.2:jar
  63. [INFO] Configured Artifact: org.openmrs.module:registrationcore-omod:1.7.1:jar
  64. [INFO] Configured Artifact: org.openmrs.module:appointmentscheduling-omod:1.8.0:jar
  65. [INFO] Configured Artifact: org.openmrs.module:calculation-omod:1.2:jar
  66. [INFO] Configured Artifact: org.openmrs.module:webservices.rest-omod:2.19.0:jar
  67. [INFO] Configured Artifact: org.openmrs.module:atlas-omod:2.2:omod
  68. [INFO] Configured Artifact: org.openmrs.module:uicommons-omod:2.3.0:jar
  69. [INFO] Configured Artifact: org.openmrs.module:uiframework-omod:3.11.0:jar
  70. [INFO] Configured Artifact: org.openmrs.module:metadatasharing-omod:1.2.2:jar
  71. [INFO] Copying legacyui-omod-1.3.1.jar to /Users/shivang/openmrs/gsoc/modules/legacyui-1.3.1.omod
  72. [INFO] Copying metadatadeploy-omod-1.8.1.jar to /Users/shivang/openmrs/gsoc/modules/metadatadeploy-1.8.1.omod
  73. [INFO] Copying reportingrest-omod-1.8.0.jar to /Users/shivang/openmrs/gsoc/modules/reportingrest-1.8.0.omod
  74. [INFO] Copying owa-omod-1.7.0.jar to /Users/shivang/openmrs/gsoc/modules/owa-1.7.0.omod
  75. [INFO] Copying serialization.xstream-omod-0.2.12.omod to /Users/shivang/openmrs/gsoc/modules/serialization.xstream-0.2.12.omod
  76. [INFO] Copying registrationapp-omod-1.8.0.jar to /Users/shivang/openmrs/gsoc/modules/registrationapp-1.8.0.omod
  77. [INFO] Copying event-omod-2.5.jar to /Users/shivang/openmrs/gsoc/modules/event-2.5.omod
  78. [INFO] Copying uilibrary-omod-2.0.4.jar to /Users/shivang/openmrs/gsoc/modules/uilibrary-2.0.4.omod
  79. [INFO] Copying htmlwidgets-omod-1.9.0.jar to /Users/shivang/openmrs/gsoc/modules/htmlwidgets-1.9.0.omod
  80. [INFO] Copying dataexchange-omod-1.3.2.jar to /Users/shivang/openmrs/gsoc/modules/dataexchange-1.3.2.omod
  81. [INFO] Copying appui-omod-1.8.0.jar to /Users/shivang/openmrs/gsoc/modules/appui-1.8.0.omod
  82. [INFO] Copying allergyui-omod-1.7.0.jar to /Users/shivang/openmrs/gsoc/modules/allergyui-1.7.0.omod
  83. [INFO] Copying providermanagement-omod-2.6.0.jar to /Users/shivang/openmrs/gsoc/modules/providermanagement-2.6.0.omod
  84. [INFO] Copying appointmentschedulingui-omod-1.6.0.jar to /Users/shivang/openmrs/gsoc/modules/appointmentschedulingui-1.6.0.omod
  85. [INFO] Copying formentryapp-omod-1.4.1.jar to /Users/shivang/openmrs/gsoc/modules/formentryapp-1.4.1.omod
  86. [INFO] Copying idgen-omod-4.4.1.jar to /Users/shivang/openmrs/gsoc/modules/idgen-4.4.1.omod
  87. [INFO] Copying metadatamapping-omod-1.3.2.jar to /Users/shivang/openmrs/gsoc/modules/metadatamapping-1.3.2.omod
  88. [INFO] Copying chartsearch-omod-2.0.jar to /Users/shivang/openmrs/gsoc/modules/chartsearch-2.0.omod
  89. [INFO] Copying htmlformentryui-omod-1.6.3.jar to /Users/shivang/openmrs/gsoc/modules/htmlformentryui-1.6.3.omod
  90. [INFO] Copying referencedemodata-omod-1.4.3.jar to /Users/shivang/openmrs/gsoc/modules/referencedemodata-1.4.3.omod
  91. [INFO] Copying emrapi-omod-1.21.0.jar to /Users/shivang/openmrs/gsoc/modules/emrapi-1.21.0.omod
  92. [INFO] Copying referenceapplication-omod-2.6.0.jar to /Users/shivang/openmrs/gsoc/modules/referenceapplication-2.6.0.omod
  93. [INFO] Copying htmlformentry-omod-3.3.2.jar to /Users/shivang/openmrs/gsoc/modules/htmlformentry-3.3.2.omod
  94. [INFO] Copying appframework-omod-2.10.0.jar to /Users/shivang/openmrs/gsoc/modules/appframework-2.10.0.omod
  95. [INFO] Copying referencemetadata-omod-2.6.0.jar to /Users/shivang/openmrs/gsoc/modules/referencemetadata-2.6.0.omod
  96. [INFO] Copying reportingui-omod-1.3.0.jar to /Users/shivang/openmrs/gsoc/modules/reportingui-1.3.0.omod
  97. [INFO] Copying coreapps-omod-1.13.0.jar to /Users/shivang/openmrs/gsoc/modules/coreapps-1.13.0.omod
  98. [INFO] Copying reportingcompatibility-omod-2.0.2.jar to /Users/shivang/openmrs/gsoc/modules/reportingcompatibility-2.0.2.omod
  99. [INFO] Copying reporting-omod-1.12.0.jar to /Users/shivang/openmrs/gsoc/modules/reporting-1.12.0.omod
  100. [INFO] Copying adminui-omod-1.2.2.jar to /Users/shivang/openmrs/gsoc/modules/adminui-1.2.2.omod
  101. [INFO] Copying registrationcore-omod-1.7.1.jar to /Users/shivang/openmrs/gsoc/modules/registrationcore-1.7.1.omod
  102. [INFO] Copying appointmentscheduling-omod-1.8.0.jar to /Users/shivang/openmrs/gsoc/modules/appointmentscheduling-1.8.0.omod
  103. [INFO] Copying calculation-omod-1.2.jar to /Users/shivang/openmrs/gsoc/modules/calculation-1.2.omod
  104. [INFO] Copying webservices.rest-omod-2.19.0.jar to /Users/shivang/openmrs/gsoc/modules/webservices.rest-2.19.0.omod
  105. [INFO] Copying atlas-omod-2.2.omod to /Users/shivang/openmrs/gsoc/modules/atlas-2.2.omod
  106. [INFO] Copying uicommons-omod-2.3.0.jar to /Users/shivang/openmrs/gsoc/modules/uicommons-2.3.0.omod
  107. [INFO] Copying uiframework-omod-3.11.0.jar to /Users/shivang/openmrs/gsoc/modules/uiframework-3.11.0.omod
  108. [INFO] Copying metadatasharing-omod-1.2.2.jar to /Users/shivang/openmrs/gsoc/modules/metadatasharing-1.2.2.omod
  109.  
  110. If you want to enable remote debugging by default when running the server,
  111. specify the port number here (e.g. 1044). Leave blank to disable debugging.
  112. (Do not do this on a production server) (default: 'no debugging'):
  113.  
  114. Which database would you like to use?:
  115. 1) MySQL 5.6 (requires pre-installed MySQL 5.6)
  116. 2) MySQL 5.6 in SDK docker container (requires pre-installed Docker)
  117. 3) Existing docker container (requires pre-installed Docker)
  118.  
  119. Which one do you choose? [1/2/3]: 1
  120.  
  121. The distribution requires MySQL database. Please specify database uri (-DdbUri) (default: 'jdbc:mysql://localhost:3306/@DBNAME@'): jdbc:mysql://localhost:3306/@DBNAME@?autoReconnect=true&sessionVariables=default_storage_engine=InnoDB&useUnicode=true&characterEncoding=UTF-8
  122.  
  123. Please specify database username (-DdbUser) (default: 'root'):
  124. Please specify database password (-DdbPassword) (default: ' '):
  125.  
  126. Connected to the database.
  127.  
  128. Importing an initial database from classpath://openmrs-platform.sql...
  129. [ERROR] Could not create connection to database server. Attempted reconnect 3 times. Giving up.
  130. [INFO] ------------------------------------------------------------------------
  131. [INFO] BUILD FAILURE
  132. [INFO] ------------------------------------------------------------------------
  133. [INFO] Total time: 51.201 s
  134. [INFO] Finished at: 2017-05-16T21:35:57+05:30
  135. [INFO] Final Memory: 21M/201M
  136. [INFO] ------------------------------------------------------------------------
  137. [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.9.0:setup (default-cli) on project standalone-pom: Failed to setup server: Failed to import database: Could not create connection to database server. Attempted reconnect 3 times. Giving up. Unknown system variable 'storage_engine' -> [Help 1]
  138. [ERROR]
  139. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  140. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  141. [ERROR]
  142. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  143. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Add Comment
Please, Sign In to add comment