Advertisement
hilz041

Untitled

Oct 17th, 2016
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.00 KB | None | 0 0
  1. hillary@hillary-Inspiron-5423:~$ cp ~/Downloads/legacyui-1.2.omod ~/.OpenMRS/modules
  2. hillary@hillary-Inspiron-5423:~$ cd Desktop/
  3. hillary@hillary-Inspiron-5423:~/Desktop$ cd openmrs-core
  4. hillary@hillary-Inspiron-5423:~/Desktop/openmrs-core$ cd webapp
  5. hillary@hillary-Inspiron-5423:~/Desktop/openmrs-core/webapp$ mvn jetty:run
  6. [INFO] Scanning for projects...
  7. [INFO]
  8. [INFO] ------------------------------------------------------------------------
  9. [INFO] Building openmrs-webapp 2.1.0-SNAPSHOT
  10. [INFO] ------------------------------------------------------------------------
  11. [INFO]
  12. [INFO] >>> jetty-maven-plugin:9.3.3.v20150827:run (default-cli) @ openmrs-webapp >>>
  13. [INFO]
  14. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs-webapp ---
  15. [INFO] Checking for local modifications: skipped.
  16. [INFO] Updating project files from SCM: skipped.
  17. [INFO] ShortRevision tag detected. The value is '6'.
  18. [INFO] Executing: /bin/sh -c cd /home/hillary/Desktop/openmrs-core/webapp && git rev-parse --verify --short=6 HEAD
  19. [INFO] Working directory: /home/hillary/Desktop/openmrs-core/webapp
  20. [INFO] Storing buildNumber: 0 at timestamp: 1476714826256
  21. [INFO] ShortRevision tag detected. The value is '6'.
  22. [INFO] Executing: /bin/sh -c cd /home/hillary/Desktop/openmrs-core/webapp && git rev-parse --verify --short=6 HEAD
  23. [INFO] Working directory: /home/hillary/Desktop/openmrs-core/webapp
  24. [INFO] Storing buildScmBranch: UNKNOWN_BRANCH
  25. [INFO]
  26. [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-webapp ---
  27. [INFO]
  28. [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ openmrs-webapp ---
  29. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  30. [INFO] Copying 2 resources
  31. [INFO] Copying 1 resource to ../jetty
  32. [INFO]
  33. [INFO] --- maven-antrun-plugin:1.4:run (default) @ openmrs-webapp ---
  34. project.artifactId
  35. [INFO] Executing tasks
  36. [unzip] Expanding: /home/hillary/Desktop/openmrs-core/webapp/src/main/resources/liquibase-demo-data.zip into /home/hillary/Desktop/openmrs-core/webapp/target/classes
  37. [INFO] Executed tasks
  38. [INFO]
  39. [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ openmrs-webapp ---
  40. [INFO] Nothing to compile - all classes are up to date
  41. [INFO]
  42. [INFO] --- maven-resources-plugin:2.4:testResources (default-testResources) @ openmrs-webapp ---
  43. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  44. [INFO] Copying 1 resource
  45. [INFO]
  46. [INFO] --- maven-compiler-plugin:2.1:testCompile (default-testCompile) @ openmrs-webapp ---
  47. [INFO] Nothing to compile - all classes are up to date
  48. [INFO]
  49. [INFO] <<< jetty-maven-plugin:9.3.3.v20150827:run (default-cli) @ openmrs-webapp <<<
  50. [INFO]
  51. [INFO] --- jetty-maven-plugin:9.3.3.v20150827:run (default-cli) @ openmrs-webapp ---
  52. 2016-10-17 17:33:48.575:INFO::main: Logging initialized @6184ms
  53. [INFO] Configuring Jetty for project: openmrs-webapp
  54. [INFO] webAppSourceDirectory not set. Trying src/main/webapp
  55. [INFO] Reload Mechanic: automatic
  56. [INFO] Classes = /home/hillary/Desktop/openmrs-core/webapp/target/classes
  57. [INFO] Context path = /openmrs
  58. [INFO] Tmp directory = /home/hillary/Desktop/openmrs-core/webapp/target/tmp
  59. [INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
  60. [INFO] Web overrides = src/test/resources/override-web.xml
  61. [INFO] web.xml file = /home/hillary/Desktop/openmrs-core/webapp/target/jetty/WEB-INF/web.xml
  62. [INFO] Webapp directory = /home/hillary/Desktop/openmrs-core/webapp/src/main/webapp
  63. 2016-10-17 17:33:48.748:INFO:oejs.Server:main: jetty-9.3.3.v20150827
  64. 2016-10-17 17:34:06.164:INFO:/openmrs:main: No Spring WebApplicationInitializer types detected on classpath
  65. 2016-10-17 17:34:11.855:INFO:/openmrs:main: Initializing log4j from [classpath:log4j.xml]
  66. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2113) |2016-10-17 17:34:12,638| Unable to find a runtime properties file at /home/hillary/Desktop/openmrs-core/webapp/openmrs-runtime.properties
  67. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2113) |2016-10-17 17:34:12,879| Unable to find a runtime properties file at /home/hillary/Desktop/openmrs-core/webapp/openmrs-runtime.properties
  68. INFO - Listener.contextInitialized(174) |2016-10-17 17:34:12,881| Using runtime properties file: /home/hillary/.OpenMRS/openmrs-runtime.properties
  69. INFO 10/17/16 5:34 PM:liquibase: Reading from `liquibasechangelog`
  70. WARNING 10/17/16 5:34 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  71. WARNING 10/17/16 5:34 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  72. WARNING 10/17/16 5:34 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  73. WARN - SimpleUrlHandlerMapping.registerHandlers(115) |2016-10-17 17:34:39,295| Neither 'urlMap' nor 'mappings' set on SimpleUrlHandlerMapping
  74. WARN - Listener.loadBundledModules(521) |2016-10-17 17:34:39,314| Bundled module folder doesn't exist: /home/hillary/Desktop/openmrs-core/webapp/src/main/webapp/WEB-INF/bundledModules
  75. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2113) |2016-10-17 17:34:39,318| Unable to find a runtime properties file at /home/hillary/Desktop/openmrs-core/webapp/openmrs-runtime.properties
  76. INFO 10/17/16 5:34 PM:liquibase: Reading from `liquibasechangelog`
  77. WARNING 10/17/16 5:34 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  78. WARNING 10/17/16 5:34 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  79. WARNING 10/17/16 5:34 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  80. WARN - ModuleFactory.startModuleInternal(822) |2016-10-17 17:34:41,809| Error while trying to start module: legacyui
  81. org.openmrs.module.ModuleException: Module requires version matching 2.0.0. Current code version is ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}-${revisionNumber}
  82. at org.openmrs.module.ModuleUtil.checkRequiredVersion(ModuleUtil.java:402)
  83. at org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:675)
  84. at org.openmrs.api.context.Daemon$1.run(Daemon.java:74)
  85. INFO - LoggingAdvice.invoke(115) |2016-10-17 17:34:42,226| In method AlertService.saveAlert. Arguments: Alert=Alert: #null,
  86. INFO - LoggingAdvice.invoke(155) |2016-10-17 17:34:42,295| Exiting method saveAlert
  87. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2113) |2016-10-17 17:34:42,423| Unable to find a runtime properties file at /home/hillary/Desktop/openmrs-core/webapp/openmrs-runtime.properties
  88. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2113) |2016-10-17 17:34:42,681| Unable to find a runtime properties file at /home/hillary/Desktop/openmrs-core/webapp/openmrs-runtime.properties
  89. INFO 10/17/16 5:34 PM:liquibase: Reading from `liquibasechangelog`
  90. WARNING 10/17/16 5:34 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  91. WARNING 10/17/16 5:34 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  92. WARNING 10/17/16 5:34 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  93. INFO 10/17/16 5:34 PM:liquibase: Reading from `liquibasechangelog`
  94. WARNING 10/17/16 5:34 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  95. WARNING 10/17/16 5:34 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  96. WARNING 10/17/16 5:34 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  97. 2016-10-17 17:34:44.966:INFO:oejsh.ContextHandler:main: Started o.e.j.m.p.JettyWebAppContext@11bd803{/openmrs,file:///home/hillary/Desktop/openmrs-core/webapp/src/main/webapp/,AVAILABLE}{file:///home/hillary/Desktop/openmrs-core/webapp/src/main/webapp/}
  98. [INFO] Jetty server exiting.
  99. [INFO] ------------------------------------------------------------------------
  100. [INFO] BUILD FAILURE
  101. [INFO] ------------------------------------------------------------------------
  102. [INFO] Total time: 1:00.984s
  103. [INFO] Finished at: Mon Oct 17 17:34:45 EAT 2016
  104. [INFO] Final Memory: 65M/435M
  105. [INFO] ------------------------------------------------------------------------
  106. [ERROR] Failed to execute goal org.eclipse.jetty:jetty-maven-plugin:9.3.3.v20150827:run (default-cli) on project openmrs-webapp: Failure: Address already in use -> [Help 1]
  107. [ERROR]
  108. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  109. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  110. [ERROR]
  111. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  112. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  113. hillary@hillary-Inspiron-5423:~/Desktop/openmrs-core/webapp$ mvn jetty:run
  114. [INFO] Scanning for projects...
  115. [INFO]
  116. [INFO] ------------------------------------------------------------------------
  117. [INFO] Building openmrs-webapp 2.1.0-SNAPSHOT
  118. [INFO] ------------------------------------------------------------------------
  119. [INFO]
  120. [INFO] >>> jetty-maven-plugin:9.3.3.v20150827:run (default-cli) @ openmrs-webapp >>>
  121. [INFO]
  122. [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs-webapp ---
  123. [INFO] Checking for local modifications: skipped.
  124. [INFO] Updating project files from SCM: skipped.
  125. [INFO] ShortRevision tag detected. The value is '6'.
  126. [INFO] Executing: /bin/sh -c cd /home/hillary/Desktop/openmrs-core/webapp && git rev-parse --verify --short=6 HEAD
  127. [INFO] Working directory: /home/hillary/Desktop/openmrs-core/webapp
  128. [INFO] Storing buildNumber: 0 at timestamp: 1476714976619
  129. [INFO] ShortRevision tag detected. The value is '6'.
  130. [INFO] Executing: /bin/sh -c cd /home/hillary/Desktop/openmrs-core/webapp && git rev-parse --verify --short=6 HEAD
  131. [INFO] Working directory: /home/hillary/Desktop/openmrs-core/webapp
  132. [INFO] Storing buildScmBranch: UNKNOWN_BRANCH
  133. [INFO]
  134. [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-webapp ---
  135. [INFO]
  136. [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ openmrs-webapp ---
  137. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  138. [INFO] Copying 2 resources
  139. [INFO] Copying 1 resource to ../jetty
  140. [INFO]
  141. [INFO] --- maven-antrun-plugin:1.4:run (default) @ openmrs-webapp ---
  142. project.artifactId
  143. [INFO] Executing tasks
  144. [unzip] Expanding: /home/hillary/Desktop/openmrs-core/webapp/src/main/resources/liquibase-demo-data.zip into /home/hillary/Desktop/openmrs-core/webapp/target/classes
  145. [INFO] Executed tasks
  146. [INFO]
  147. [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ openmrs-webapp ---
  148. [INFO] Nothing to compile - all classes are up to date
  149. [INFO]
  150. [INFO] --- maven-resources-plugin:2.4:testResources (default-testResources) @ openmrs-webapp ---
  151. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  152. [INFO] Copying 1 resource
  153. [INFO]
  154. [INFO] --- maven-compiler-plugin:2.1:testCompile (default-testCompile) @ openmrs-webapp ---
  155. [INFO] Nothing to compile - all classes are up to date
  156. [INFO]
  157. [INFO] <<< jetty-maven-plugin:9.3.3.v20150827:run (default-cli) @ openmrs-webapp <<<
  158. [INFO]
  159. [INFO] --- jetty-maven-plugin:9.3.3.v20150827:run (default-cli) @ openmrs-webapp ---
  160. 2016-10-17 17:36:21.001:INFO::main: Logging initialized @12761ms
  161. [INFO] Configuring Jetty for project: openmrs-webapp
  162. [INFO] webAppSourceDirectory not set. Trying src/main/webapp
  163. [INFO] Reload Mechanic: automatic
  164. [INFO] Classes = /home/hillary/Desktop/openmrs-core/webapp/target/classes
  165. [INFO] Context path = /openmrs
  166. [INFO] Tmp directory = /home/hillary/Desktop/openmrs-core/webapp/target/tmp
  167. [INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
  168. [INFO] Web overrides = src/test/resources/override-web.xml
  169. [INFO] web.xml file = /home/hillary/Desktop/openmrs-core/webapp/target/jetty/WEB-INF/web.xml
  170. [INFO] Webapp directory = /home/hillary/Desktop/openmrs-core/webapp/src/main/webapp
  171. 2016-10-17 17:36:21.213:INFO:oejs.Server:main: jetty-9.3.3.v20150827
  172. 2016-10-17 17:36:29.505:INFO:/openmrs:main: No Spring WebApplicationInitializer types detected on classpath
  173. 2016-10-17 17:36:29.550:INFO:/openmrs:main: Initializing log4j from [classpath:log4j.xml]
  174. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2113) |2016-10-17 17:36:29,682| Unable to find a runtime properties file at /home/hillary/Desktop/openmrs-core/webapp/openmrs-runtime.properties
  175. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2113) |2016-10-17 17:36:29,703| Unable to find a runtime properties file at /home/hillary/Desktop/openmrs-core/webapp/openmrs-runtime.properties
  176. INFO - Listener.contextInitialized(174) |2016-10-17 17:36:29,704| Using runtime properties file: /home/hillary/.OpenMRS/openmrs-runtime.properties
  177. INFO 10/17/16 5:36 PM:liquibase: Reading from `liquibasechangelog`
  178. WARNING 10/17/16 5:36 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  179. WARNING 10/17/16 5:36 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  180. WARNING 10/17/16 5:36 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  181. WARN - SimpleUrlHandlerMapping.registerHandlers(115) |2016-10-17 17:36:44,261| Neither 'urlMap' nor 'mappings' set on SimpleUrlHandlerMapping
  182. WARN - Listener.loadBundledModules(521) |2016-10-17 17:36:44,277| Bundled module folder doesn't exist: /home/hillary/Desktop/openmrs-core/webapp/src/main/webapp/WEB-INF/bundledModules
  183. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2113) |2016-10-17 17:36:44,279| Unable to find a runtime properties file at /home/hillary/Desktop/openmrs-core/webapp/openmrs-runtime.properties
  184. INFO 10/17/16 5:36 PM:liquibase: Reading from `liquibasechangelog`
  185. WARNING 10/17/16 5:36 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  186. WARNING 10/17/16 5:36 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  187. WARNING 10/17/16 5:36 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  188. WARN - ModuleFactory.startModuleInternal(822) |2016-10-17 17:36:47,533| Error while trying to start module: legacyui
  189. org.openmrs.module.ModuleException: Module requires version matching 2.0.0. Current code version is ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}-${revisionNumber}
  190. at org.openmrs.module.ModuleUtil.checkRequiredVersion(ModuleUtil.java:402)
  191. at org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:675)
  192. at org.openmrs.api.context.Daemon$1.run(Daemon.java:74)
  193. INFO - LoggingAdvice.invoke(115) |2016-10-17 17:36:47,827| In method AlertService.saveAlert. Arguments: Alert=Alert: #null,
  194. INFO - LoggingAdvice.invoke(155) |2016-10-17 17:36:47,871| Exiting method saveAlert
  195. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2113) |2016-10-17 17:36:48,012| Unable to find a runtime properties file at /home/hillary/Desktop/openmrs-core/webapp/openmrs-runtime.properties
  196. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2113) |2016-10-17 17:36:48,205| Unable to find a runtime properties file at /home/hillary/Desktop/openmrs-core/webapp/openmrs-runtime.properties
  197. INFO 10/17/16 5:36 PM:liquibase: Reading from `liquibasechangelog`
  198. WARNING 10/17/16 5:36 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  199. WARNING 10/17/16 5:36 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  200. WARNING 10/17/16 5:36 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  201. INFO 10/17/16 5:36 PM:liquibase: Reading from `liquibasechangelog`
  202. WARNING 10/17/16 5:36 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  203. WARNING 10/17/16 5:36 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  204. WARNING 10/17/16 5:36 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  205. 2016-10-17 17:36:49.776:INFO:oejsh.ContextHandler:main: Started o.e.j.m.p.JettyWebAppContext@58f07f02{/openmrs,file:///home/hillary/Desktop/openmrs-core/webapp/src/main/webapp/,AVAILABLE}{file:///home/hillary/Desktop/openmrs-core/webapp/src/main/webapp/}
  206. 2016-10-17 17:36:49.857:INFO:oejs.ServerConnector:main: Started ServerConnector@28897ca{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
  207. 2016-10-17 17:36:49.858:INFO:oejs.Server:main: Started @41619ms
  208. [INFO] Started Jetty Server
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement