Advertisement
Guest User

Untitled

a guest
Jul 24th, 2013
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.56 KB | None | 0 0
  1. [INFO] Packaging webapp
  2. [INFO] Assembling webapp [devel-module-archetype] in [/Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/devel-module-archetype-1.0-SNAPSHOT]
  3. [INFO] Processing war project
  4. [INFO] Processing overlay [ id org.openmrs.web:openmrs-webapp]
  5. [INFO] Webapp assembled in [5774 msecs]
  6. [INFO] Building war: /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/devel-module-archetype-1.0-SNAPSHOT.war
  7. [INFO] WEB-INF/web.xml already added, skipping
  8. [INFO]
  9. [INFO] --- maven-dependency-plugin:2.4:copy-dependencies (copy-dependencies) @ devel-module-archetype ---
  10. [INFO] Copying openmrs-webapp-1.9.4-SNAPSHOT.war to /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/dependencies/openmrs-webapp-1.9.4-20130719.051612-95.war
  11. [INFO] Copying logic-omod-0.5.2.omod to /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/dependencies/logic-omod-0.5.2.omod
  12. [INFO]
  13. [INFO] --- maven-antrun-plugin:1.7:run (rename-jars-to-omod) @ devel-module-archetype ---
  14. [INFO] Executing tasks
  15.  
  16. main:
  17. [INFO] Executed tasks
  18. [INFO]
  19. [INFO] --- maven-antrun-plugin:1.7:run (rename-omods-to-omod) @ devel-module-archetype ---
  20. [INFO] Executing tasks
  21.  
  22. main:
  23. [move] Moving 1 file to /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/distro
  24. [INFO] Executed tasks
  25. [INFO]
  26. [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ devel-module-archetype ---
  27. [INFO] Installing /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/devel-module-archetype-1.0-SNAPSHOT.war to /Users/admin/.m2/repository/org/openmrs/distro/devel-module-archetype/1.0-SNAPSHOT/devel-module-archetype-1.0-SNAPSHOT.war
  28. [INFO] Installing /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/pom.xml to /Users/admin/.m2/repository/org/openmrs/distro/devel-module-archetype/1.0-SNAPSHOT/devel-module-archetype-1.0-SNAPSHOT.pom
  29. [INFO] ------------------------------------------------------------------------
  30. [INFO] BUILD SUCCESS
  31. [INFO] ------------------------------------------------------------------------
  32. [INFO] Total time: 23.230s
  33. [INFO] Finished at: Wed Jul 24 13:54:15 EDT 2013
  34. [INFO] Final Memory: 8M/81M
  35. [INFO] ------------------------------------------------------------------------
  36. macbook:openmrs-devel-module-archetype admin$ mvn tomcat7:deploy
  37. [INFO] Scanning for projects...
  38. [INFO]
  39. [INFO] ------------------------------------------------------------------------
  40. [INFO] Building Module Development Archetype 1.0-SNAPSHOT
  41. [INFO] ------------------------------------------------------------------------
  42. [INFO]
  43. [INFO] >>> tomcat7-maven-plugin:2.0:deploy (default-cli) @ devel-module-archetype >>>
  44. [INFO]
  45. [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ devel-module-archetype ---
  46. [WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent!
  47. [INFO] skip non existing resourceDirectory /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/src/main/resources
  48. [INFO]
  49. [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ devel-module-archetype ---
  50. [INFO] No sources to compile
  51. [INFO]
  52. [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ devel-module-archetype ---
  53. [WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent!
  54. [INFO] skip non existing resourceDirectory /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/src/test/resources
  55. [INFO]
  56. [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ devel-module-archetype ---
  57. [INFO] No sources to compile
  58. [INFO]
  59. [INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ devel-module-archetype ---
  60. [INFO] No tests to run.
  61. [INFO] Surefire report directory: /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/surefire-reports
  62.  
  63. -------------------------------------------------------
  64. T E S T S
  65. -------------------------------------------------------
  66. There are no tests to run.
  67.  
  68. Results :
  69.  
  70. Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
  71.  
  72. [INFO]
  73. [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ devel-module-archetype ---
  74. [INFO] Packaging webapp
  75. [INFO] Assembling webapp [devel-module-archetype] in [/Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/devel-module-archetype-1.0-SNAPSHOT]
  76. [INFO] Processing war project
  77. [INFO] Processing overlay [ id org.openmrs.web:openmrs-webapp]
  78. [INFO] Webapp assembled in [2809 msecs]
  79. [INFO] Building war: /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/devel-module-archetype-1.0-SNAPSHOT.war
  80. [INFO] WEB-INF/web.xml already added, skipping
  81. [INFO]
  82. [INFO] --- maven-dependency-plugin:2.4:copy-dependencies (copy-dependencies) @ devel-module-archetype ---
  83. [INFO] Copying logic-omod-0.5.2.omod to /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/dependencies/logic-omod-0.5.2.omod
  84. [INFO] openmrs-webapp-1.9.4-SNAPSHOT.war already exists in destination.
  85. [INFO]
  86. [INFO] --- maven-antrun-plugin:1.7:run (rename-jars-to-omod) @ devel-module-archetype ---
  87. [INFO] Executing tasks
  88.  
  89. main:
  90. [INFO] Executed tasks
  91. [INFO]
  92. [INFO] --- maven-antrun-plugin:1.7:run (rename-omods-to-omod) @ devel-module-archetype ---
  93. [INFO] Executing tasks
  94.  
  95. main:
  96. [move] Moving 1 file to /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/distro
  97. [INFO] Executed tasks
  98. [INFO]
  99. [INFO] <<< tomcat7-maven-plugin:2.0:deploy (default-cli) @ devel-module-archetype <<<
  100. [INFO]
  101. [INFO] --- tomcat7-maven-plugin:2.0:deploy (default-cli) @ devel-module-archetype ---
  102. [INFO] Deploying war to http://localhost:8080/devel-module-archetype
  103. [INFO] ------------------------------------------------------------------------
  104. [INFO] BUILD FAILURE
  105. [INFO] ------------------------------------------------------------------------
  106. [INFO] Total time: 11.926s
  107. [INFO] Finished at: Wed Jul 24 13:54:36 EDT 2013
  108. [INFO] Final Memory: 11M/81M
  109. [INFO] ------------------------------------------------------------------------
  110. [ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.0:deploy (default-cli) on project devel-module-archetype: Cannot invoke Tomcat manager: Connection to http://localhost:8080 refused: Connection refused -> [Help 1]
  111. [ERROR]
  112. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  113. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  114. [ERROR]
  115. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  116. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  117. macbook:openmrs-devel-module-archetype admin$ mvn tomcat7:run-war
  118. [INFO] Scanning for projects...
  119. [INFO]
  120. [INFO] ------------------------------------------------------------------------
  121. [INFO] Building Module Development Archetype 1.0-SNAPSHOT
  122. [INFO] ------------------------------------------------------------------------
  123. [INFO]
  124. [INFO] >>> tomcat7-maven-plugin:2.0:run-war (default-cli) @ devel-module-archetype >>>
  125. [INFO]
  126. [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ devel-module-archetype ---
  127. [WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent!
  128. [INFO] skip non existing resourceDirectory /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/src/main/resources
  129. [INFO]
  130. [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ devel-module-archetype ---
  131. [INFO] No sources to compile
  132. [INFO]
  133. [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ devel-module-archetype ---
  134. [WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent!
  135. [INFO] skip non existing resourceDirectory /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/src/test/resources
  136. [INFO]
  137. [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ devel-module-archetype ---
  138. [INFO] No sources to compile
  139. [INFO]
  140. [INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ devel-module-archetype ---
  141. [INFO] No tests to run.
  142. [INFO] Surefire report directory: /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/surefire-reports
  143.  
  144. -------------------------------------------------------
  145. T E S T S
  146. -------------------------------------------------------
  147. There are no tests to run.
  148.  
  149. Results :
  150.  
  151. Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
  152.  
  153. [INFO]
  154. [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ devel-module-archetype ---
  155. [INFO] Packaging webapp
  156. [INFO] Assembling webapp [devel-module-archetype] in [/Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/devel-module-archetype-1.0-SNAPSHOT]
  157. [INFO] Processing war project
  158. [INFO] Processing overlay [ id org.openmrs.web:openmrs-webapp]
  159. [INFO] Webapp assembled in [3667 msecs]
  160. [INFO] Building war: /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/devel-module-archetype-1.0-SNAPSHOT.war
  161. [INFO] WEB-INF/web.xml already added, skipping
  162. [INFO]
  163. [INFO] --- maven-dependency-plugin:2.4:copy-dependencies (copy-dependencies) @ devel-module-archetype ---
  164. [INFO] Copying logic-omod-0.5.2.omod to /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/dependencies/logic-omod-0.5.2.omod
  165. [INFO] openmrs-webapp-1.9.4-SNAPSHOT.war already exists in destination.
  166. [INFO]
  167. [INFO] --- maven-antrun-plugin:1.7:run (rename-jars-to-omod) @ devel-module-archetype ---
  168. [INFO] Executing tasks
  169.  
  170. main:
  171. [INFO] Executed tasks
  172. [INFO]
  173. [INFO] --- maven-antrun-plugin:1.7:run (rename-omods-to-omod) @ devel-module-archetype ---
  174. [INFO] Executing tasks
  175.  
  176. main:
  177. [move] Moving 1 file to /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/distro
  178. [INFO] Executed tasks
  179. [INFO]
  180. [INFO] <<< tomcat7-maven-plugin:2.0:run-war (default-cli) @ devel-module-archetype <<<
  181. [INFO]
  182. [INFO] --- tomcat7-maven-plugin:2.0:run-war (default-cli) @ devel-module-archetype ---
  183. [INFO] Running war on http://localhost:8080/devel-module-archetype
  184. [INFO] Creating Tomcat server configuration at /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/tomcat
  185. [INFO] create webapp with contextPath: /devel-module-archetype
  186. Jul 24, 2013 1:59:23 PM org.apache.coyote.AbstractProtocol init
  187. INFO: Initializing ProtocolHandler ["http-bio-8080"]
  188. Jul 24, 2013 1:59:23 PM org.apache.catalina.core.StandardService startInternal
  189. INFO: Starting service Tomcat
  190. Jul 24, 2013 1:59:23 PM org.apache.catalina.core.StandardEngine startInternal
  191. INFO: Starting Servlet Engine: Apache Tomcat/7.0.30
  192. Jul 24, 2013 1:59:23 PM org.apache.catalina.startup.ContextConfig processContextConfig
  193. SEVERE: Missing context.xml: file:/Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/devel-module-archetype-1.0-SNAPSHOT/META-INF/context.xml
  194. java.io.FileNotFoundException: /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/devel-module-archetype-1.0-SNAPSHOT/META-INF/context.xml (No such file or directory)
  195. at java.io.FileInputStream.open(Native Method)
  196. at java.io.FileInputStream.<init>(FileInputStream.java:120)
  197. at java.io.FileInputStream.<init>(FileInputStream.java:79)
  198. at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
  199. at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
  200. at java.net.URL.openStream(URL.java:1010)
  201. at org.apache.catalina.startup.ContextConfig.processContextConfig(ContextConfig.java:618)
  202. at org.apache.catalina.startup.ContextConfig.contextConfig(ContextConfig.java:599)
  203. at org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:837)
  204. at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:387)
  205. at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
  206. at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
  207. at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
  208. at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110)
  209. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
  210. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
  211. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
  212. at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
  213. at java.util.concurrent.FutureTask.run(FutureTask.java:138)
  214. at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  215. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  216. at java.lang.Thread.run(Thread.java:680)
  217. Jul 24, 2013 1:59:23 PM org.apache.catalina.startup.ContextConfig processContextConfig
  218. SEVERE: Parse error in context.xml for /devel-module-archetype
  219. java.io.FileNotFoundException: /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/devel-module-archetype-1.0-SNAPSHOT/META-INF/context.xml (No such file or directory)
  220. at java.io.FileInputStream.open(Native Method)
  221. at java.io.FileInputStream.<init>(FileInputStream.java:120)
  222. at java.io.FileInputStream.<init>(FileInputStream.java:79)
  223. at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
  224. at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
  225. at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:651)
  226. at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186)
  227. at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:772)
  228. at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
  229. at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
  230. at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
  231. at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
  232. at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1537)
  233. at org.apache.catalina.startup.ContextConfig.processContextConfig(ContextConfig.java:635)
  234. at org.apache.catalina.startup.ContextConfig.contextConfig(ContextConfig.java:599)
  235. at org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:837)
  236. at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:387)
  237. at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
  238. at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
  239. at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
  240. at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110)
  241. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
  242. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
  243. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
  244. at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
  245. at java.util.concurrent.FutureTask.run(FutureTask.java:138)
  246. at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  247. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  248. at java.lang.Thread.run(Thread.java:680)
  249. Jul 24, 2013 1:59:24 PM org.apache.catalina.startup.ContextConfig configureStart
  250. SEVERE: Marking this application unavailable due to previous error(s)
  251. Jul 24, 2013 1:59:24 PM org.apache.catalina.startup.TaglibUriRule body
  252. INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
  253. Jul 24, 2013 1:59:24 PM org.apache.catalina.startup.TaglibUriRule body
  254. INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
  255. Jul 24, 2013 1:59:24 PM org.apache.catalina.startup.TaglibUriRule body
  256. INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/response-1.0 is already defined
  257. Jul 24, 2013 1:59:24 PM org.apache.catalina.startup.TaglibUriRule body
  258. INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/page-1.0 is already defined
  259. Jul 24, 2013 1:59:24 PM org.apache.catalina.startup.TaglibUriRule body
  260. INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/request-1.0 is already defined
  261. Jul 24, 2013 1:59:24 PM org.apache.catalina.startup.TaglibUriRule body
  262. INFO: TLD skipped. URI: http://www.springframework.org/tags/form is already defined
  263. Jul 24, 2013 1:59:24 PM org.apache.catalina.startup.TaglibUriRule body
  264. INFO: TLD skipped. URI: http://www.springframework.org/tags is already defined
  265. Jul 24, 2013 1:59:24 PM org.apache.catalina.core.StandardContext startInternal
  266. SEVERE: Error getConfigured
  267. Jul 24, 2013 1:59:24 PM org.apache.catalina.core.StandardContext startInternal
  268. SEVERE: Context [/devel-module-archetype] startup failed due to previous errors
  269. Jul 24, 2013 1:59:25 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
  270. SEVERE: The web application [/devel-module-archetype] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
  271. Jul 24, 2013 1:59:25 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
  272. SEVERE: The web application [/devel-module-archetype] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
  273. Jul 24, 2013 1:59:25 PM org.apache.coyote.AbstractProtocol start
  274. INFO: Starting ProtocolHandler ["http-bio-8080"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement