Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [INFO] Packaging webapp
- [INFO] Assembling webapp [devel-module-archetype] in [/Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/devel-module-archetype-1.0-SNAPSHOT]
- [INFO] Processing war project
- [INFO] Processing overlay [ id org.openmrs.web:openmrs-webapp]
- [INFO] Webapp assembled in [5774 msecs]
- [INFO] Building war: /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/devel-module-archetype-1.0-SNAPSHOT.war
- [INFO] WEB-INF/web.xml already added, skipping
- [INFO]
- [INFO] --- maven-dependency-plugin:2.4:copy-dependencies (copy-dependencies) @ devel-module-archetype ---
- [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
- [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
- [INFO]
- [INFO] --- maven-antrun-plugin:1.7:run (rename-jars-to-omod) @ devel-module-archetype ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-antrun-plugin:1.7:run (rename-omods-to-omod) @ devel-module-archetype ---
- [INFO] Executing tasks
- main:
- [move] Moving 1 file to /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/distro
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ devel-module-archetype ---
- [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
- [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
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD SUCCESS
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 23.230s
- [INFO] Finished at: Wed Jul 24 13:54:15 EDT 2013
- [INFO] Final Memory: 8M/81M
- [INFO] ------------------------------------------------------------------------
- macbook:openmrs-devel-module-archetype admin$ mvn tomcat7:deploy
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building Module Development Archetype 1.0-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] >>> tomcat7-maven-plugin:2.0:deploy (default-cli) @ devel-module-archetype >>>
- [INFO]
- [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ devel-module-archetype ---
- [WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent!
- [INFO] skip non existing resourceDirectory /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/src/main/resources
- [INFO]
- [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ devel-module-archetype ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ devel-module-archetype ---
- [WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent!
- [INFO] skip non existing resourceDirectory /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/src/test/resources
- [INFO]
- [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ devel-module-archetype ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ devel-module-archetype ---
- [INFO] No tests to run.
- [INFO] Surefire report directory: /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/surefire-reports
- -------------------------------------------------------
- T E S T S
- -------------------------------------------------------
- There are no tests to run.
- Results :
- Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
- [INFO]
- [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ devel-module-archetype ---
- [INFO] Packaging webapp
- [INFO] Assembling webapp [devel-module-archetype] in [/Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/devel-module-archetype-1.0-SNAPSHOT]
- [INFO] Processing war project
- [INFO] Processing overlay [ id org.openmrs.web:openmrs-webapp]
- [INFO] Webapp assembled in [2809 msecs]
- [INFO] Building war: /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/devel-module-archetype-1.0-SNAPSHOT.war
- [INFO] WEB-INF/web.xml already added, skipping
- [INFO]
- [INFO] --- maven-dependency-plugin:2.4:copy-dependencies (copy-dependencies) @ devel-module-archetype ---
- [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
- [INFO] openmrs-webapp-1.9.4-SNAPSHOT.war already exists in destination.
- [INFO]
- [INFO] --- maven-antrun-plugin:1.7:run (rename-jars-to-omod) @ devel-module-archetype ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-antrun-plugin:1.7:run (rename-omods-to-omod) @ devel-module-archetype ---
- [INFO] Executing tasks
- main:
- [move] Moving 1 file to /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/distro
- [INFO] Executed tasks
- [INFO]
- [INFO] <<< tomcat7-maven-plugin:2.0:deploy (default-cli) @ devel-module-archetype <<<
- [INFO]
- [INFO] --- tomcat7-maven-plugin:2.0:deploy (default-cli) @ devel-module-archetype ---
- [INFO] Deploying war to http://localhost:8080/devel-module-archetype
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 11.926s
- [INFO] Finished at: Wed Jul 24 13:54:36 EDT 2013
- [INFO] Final Memory: 11M/81M
- [INFO] ------------------------------------------------------------------------
- [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]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
- macbook:openmrs-devel-module-archetype admin$ mvn tomcat7:run-war
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building Module Development Archetype 1.0-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] >>> tomcat7-maven-plugin:2.0:run-war (default-cli) @ devel-module-archetype >>>
- [INFO]
- [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ devel-module-archetype ---
- [WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent!
- [INFO] skip non existing resourceDirectory /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/src/main/resources
- [INFO]
- [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ devel-module-archetype ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ devel-module-archetype ---
- [WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent!
- [INFO] skip non existing resourceDirectory /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/src/test/resources
- [INFO]
- [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ devel-module-archetype ---
- [INFO] No sources to compile
- [INFO]
- [INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ devel-module-archetype ---
- [INFO] No tests to run.
- [INFO] Surefire report directory: /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/surefire-reports
- -------------------------------------------------------
- T E S T S
- -------------------------------------------------------
- There are no tests to run.
- Results :
- Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
- [INFO]
- [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ devel-module-archetype ---
- [INFO] Packaging webapp
- [INFO] Assembling webapp [devel-module-archetype] in [/Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/devel-module-archetype-1.0-SNAPSHOT]
- [INFO] Processing war project
- [INFO] Processing overlay [ id org.openmrs.web:openmrs-webapp]
- [INFO] Webapp assembled in [3667 msecs]
- [INFO] Building war: /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/devel-module-archetype-1.0-SNAPSHOT.war
- [INFO] WEB-INF/web.xml already added, skipping
- [INFO]
- [INFO] --- maven-dependency-plugin:2.4:copy-dependencies (copy-dependencies) @ devel-module-archetype ---
- [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
- [INFO] openmrs-webapp-1.9.4-SNAPSHOT.war already exists in destination.
- [INFO]
- [INFO] --- maven-antrun-plugin:1.7:run (rename-jars-to-omod) @ devel-module-archetype ---
- [INFO] Executing tasks
- main:
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-antrun-plugin:1.7:run (rename-omods-to-omod) @ devel-module-archetype ---
- [INFO] Executing tasks
- main:
- [move] Moving 1 file to /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/distro
- [INFO] Executed tasks
- [INFO]
- [INFO] <<< tomcat7-maven-plugin:2.0:run-war (default-cli) @ devel-module-archetype <<<
- [INFO]
- [INFO] --- tomcat7-maven-plugin:2.0:run-war (default-cli) @ devel-module-archetype ---
- [INFO] Running war on http://localhost:8080/devel-module-archetype
- [INFO] Creating Tomcat server configuration at /Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/tomcat
- [INFO] create webapp with contextPath: /devel-module-archetype
- Jul 24, 2013 1:59:23 PM org.apache.coyote.AbstractProtocol init
- INFO: Initializing ProtocolHandler ["http-bio-8080"]
- Jul 24, 2013 1:59:23 PM org.apache.catalina.core.StandardService startInternal
- INFO: Starting service Tomcat
- Jul 24, 2013 1:59:23 PM org.apache.catalina.core.StandardEngine startInternal
- INFO: Starting Servlet Engine: Apache Tomcat/7.0.30
- Jul 24, 2013 1:59:23 PM org.apache.catalina.startup.ContextConfig processContextConfig
- SEVERE: Missing context.xml: file:/Users/admin/openmrs/gsoc/openmrs-devel-module-archetype/target/devel-module-archetype-1.0-SNAPSHOT/META-INF/context.xml
- 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)
- at java.io.FileInputStream.open(Native Method)
- at java.io.FileInputStream.<init>(FileInputStream.java:120)
- at java.io.FileInputStream.<init>(FileInputStream.java:79)
- at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
- at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
- at java.net.URL.openStream(URL.java:1010)
- at org.apache.catalina.startup.ContextConfig.processContextConfig(ContextConfig.java:618)
- at org.apache.catalina.startup.ContextConfig.contextConfig(ContextConfig.java:599)
- at org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:837)
- at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:387)
- at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
- at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
- at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
- at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110)
- at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
- at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
- at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
- at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
- at java.util.concurrent.FutureTask.run(FutureTask.java:138)
- at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
- at java.lang.Thread.run(Thread.java:680)
- Jul 24, 2013 1:59:23 PM org.apache.catalina.startup.ContextConfig processContextConfig
- SEVERE: Parse error in context.xml for /devel-module-archetype
- 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)
- at java.io.FileInputStream.open(Native Method)
- at java.io.FileInputStream.<init>(FileInputStream.java:120)
- at java.io.FileInputStream.<init>(FileInputStream.java:79)
- at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
- at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
- at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:651)
- at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186)
- at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:772)
- at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
- at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
- at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
- at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
- at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1537)
- at org.apache.catalina.startup.ContextConfig.processContextConfig(ContextConfig.java:635)
- at org.apache.catalina.startup.ContextConfig.contextConfig(ContextConfig.java:599)
- at org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:837)
- at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:387)
- at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
- at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
- at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
- at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110)
- at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
- at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
- at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
- at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
- at java.util.concurrent.FutureTask.run(FutureTask.java:138)
- at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
- at java.lang.Thread.run(Thread.java:680)
- Jul 24, 2013 1:59:24 PM org.apache.catalina.startup.ContextConfig configureStart
- SEVERE: Marking this application unavailable due to previous error(s)
- Jul 24, 2013 1:59:24 PM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
- Jul 24, 2013 1:59:24 PM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
- Jul 24, 2013 1:59:24 PM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/response-1.0 is already defined
- Jul 24, 2013 1:59:24 PM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/page-1.0 is already defined
- Jul 24, 2013 1:59:24 PM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/request-1.0 is already defined
- Jul 24, 2013 1:59:24 PM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://www.springframework.org/tags/form is already defined
- Jul 24, 2013 1:59:24 PM org.apache.catalina.startup.TaglibUriRule body
- INFO: TLD skipped. URI: http://www.springframework.org/tags is already defined
- Jul 24, 2013 1:59:24 PM org.apache.catalina.core.StandardContext startInternal
- SEVERE: Error getConfigured
- Jul 24, 2013 1:59:24 PM org.apache.catalina.core.StandardContext startInternal
- SEVERE: Context [/devel-module-archetype] startup failed due to previous errors
- Jul 24, 2013 1:59:25 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
- 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.
- Jul 24, 2013 1:59:25 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
- 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.
- Jul 24, 2013 1:59:25 PM org.apache.coyote.AbstractProtocol start
- INFO: Starting ProtocolHandler ["http-bio-8080"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement