Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hillary@hillary-Inspiron-5423:~$ cp ~/Downloads/legacyui-1.2.omod ~/.OpenMRS/modules
- hillary@hillary-Inspiron-5423:~$ cd Desktop/
- hillary@hillary-Inspiron-5423:~/Desktop$ cd openmrs-core
- hillary@hillary-Inspiron-5423:~/Desktop/openmrs-core$ cd webapp
- hillary@hillary-Inspiron-5423:~/Desktop/openmrs-core/webapp$ mvn jetty:run
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building openmrs-webapp 2.1.0-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] >>> jetty-maven-plugin:9.3.3.v20150827:run (default-cli) @ openmrs-webapp >>>
- [INFO]
- [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs-webapp ---
- [INFO] Checking for local modifications: skipped.
- [INFO] Updating project files from SCM: skipped.
- [INFO] ShortRevision tag detected. The value is '6'.
- [INFO] Executing: /bin/sh -c cd /home/hillary/Desktop/openmrs-core/webapp && git rev-parse --verify --short=6 HEAD
- [INFO] Working directory: /home/hillary/Desktop/openmrs-core/webapp
- [INFO] Storing buildNumber: 0 at timestamp: 1476714826256
- [INFO] ShortRevision tag detected. The value is '6'.
- [INFO] Executing: /bin/sh -c cd /home/hillary/Desktop/openmrs-core/webapp && git rev-parse --verify --short=6 HEAD
- [INFO] Working directory: /home/hillary/Desktop/openmrs-core/webapp
- [INFO] Storing buildScmBranch: UNKNOWN_BRANCH
- [INFO]
- [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-webapp ---
- [INFO]
- [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ openmrs-webapp ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 2 resources
- [INFO] Copying 1 resource to ../jetty
- [INFO]
- [INFO] --- maven-antrun-plugin:1.4:run (default) @ openmrs-webapp ---
- project.artifactId
- [INFO] Executing tasks
- [unzip] Expanding: /home/hillary/Desktop/openmrs-core/webapp/src/main/resources/liquibase-demo-data.zip into /home/hillary/Desktop/openmrs-core/webapp/target/classes
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ openmrs-webapp ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-resources-plugin:2.4:testResources (default-testResources) @ openmrs-webapp ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 1 resource
- [INFO]
- [INFO] --- maven-compiler-plugin:2.1:testCompile (default-testCompile) @ openmrs-webapp ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] <<< jetty-maven-plugin:9.3.3.v20150827:run (default-cli) @ openmrs-webapp <<<
- [INFO]
- [INFO] --- jetty-maven-plugin:9.3.3.v20150827:run (default-cli) @ openmrs-webapp ---
- 2016-10-17 17:33:48.575:INFO::main: Logging initialized @6184ms
- [INFO] Configuring Jetty for project: openmrs-webapp
- [INFO] webAppSourceDirectory not set. Trying src/main/webapp
- [INFO] Reload Mechanic: automatic
- [INFO] Classes = /home/hillary/Desktop/openmrs-core/webapp/target/classes
- [INFO] Context path = /openmrs
- [INFO] Tmp directory = /home/hillary/Desktop/openmrs-core/webapp/target/tmp
- [INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
- [INFO] Web overrides = src/test/resources/override-web.xml
- [INFO] web.xml file = /home/hillary/Desktop/openmrs-core/webapp/target/jetty/WEB-INF/web.xml
- [INFO] Webapp directory = /home/hillary/Desktop/openmrs-core/webapp/src/main/webapp
- 2016-10-17 17:33:48.748:INFO:oejs.Server:main: jetty-9.3.3.v20150827
- 2016-10-17 17:34:06.164:INFO:/openmrs:main: No Spring WebApplicationInitializer types detected on classpath
- 2016-10-17 17:34:11.855:INFO:/openmrs:main: Initializing log4j from [classpath:log4j.xml]
- 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
- 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
- INFO - Listener.contextInitialized(174) |2016-10-17 17:34:12,881| Using runtime properties file: /home/hillary/.OpenMRS/openmrs-runtime.properties
- INFO 10/17/16 5:34 PM:liquibase: Reading from `liquibasechangelog`
- 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
- 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
- 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
- WARN - SimpleUrlHandlerMapping.registerHandlers(115) |2016-10-17 17:34:39,295| Neither 'urlMap' nor 'mappings' set on SimpleUrlHandlerMapping
- 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
- 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
- INFO 10/17/16 5:34 PM:liquibase: Reading from `liquibasechangelog`
- 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
- 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
- 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
- WARN - ModuleFactory.startModuleInternal(822) |2016-10-17 17:34:41,809| Error while trying to start module: legacyui
- org.openmrs.module.ModuleException: Module requires version matching 2.0.0. Current code version is ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}-${revisionNumber}
- at org.openmrs.module.ModuleUtil.checkRequiredVersion(ModuleUtil.java:402)
- at org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:675)
- at org.openmrs.api.context.Daemon$1.run(Daemon.java:74)
- INFO - LoggingAdvice.invoke(115) |2016-10-17 17:34:42,226| In method AlertService.saveAlert. Arguments: Alert=Alert: #null,
- INFO - LoggingAdvice.invoke(155) |2016-10-17 17:34:42,295| Exiting method saveAlert
- 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
- 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
- INFO 10/17/16 5:34 PM:liquibase: Reading from `liquibasechangelog`
- 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
- 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
- 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
- INFO 10/17/16 5:34 PM:liquibase: Reading from `liquibasechangelog`
- 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
- 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
- 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
- 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/}
- [INFO] Jetty server exiting.
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 1:00.984s
- [INFO] Finished at: Mon Oct 17 17:34:45 EAT 2016
- [INFO] Final Memory: 65M/435M
- [INFO] ------------------------------------------------------------------------
- [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]
- [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
- hillary@hillary-Inspiron-5423:~/Desktop/openmrs-core/webapp$ mvn jetty:run
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building openmrs-webapp 2.1.0-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] >>> jetty-maven-plugin:9.3.3.v20150827:run (default-cli) @ openmrs-webapp >>>
- [INFO]
- [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs-webapp ---
- [INFO] Checking for local modifications: skipped.
- [INFO] Updating project files from SCM: skipped.
- [INFO] ShortRevision tag detected. The value is '6'.
- [INFO] Executing: /bin/sh -c cd /home/hillary/Desktop/openmrs-core/webapp && git rev-parse --verify --short=6 HEAD
- [INFO] Working directory: /home/hillary/Desktop/openmrs-core/webapp
- [INFO] Storing buildNumber: 0 at timestamp: 1476714976619
- [INFO] ShortRevision tag detected. The value is '6'.
- [INFO] Executing: /bin/sh -c cd /home/hillary/Desktop/openmrs-core/webapp && git rev-parse --verify --short=6 HEAD
- [INFO] Working directory: /home/hillary/Desktop/openmrs-core/webapp
- [INFO] Storing buildScmBranch: UNKNOWN_BRANCH
- [INFO]
- [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-webapp ---
- [INFO]
- [INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ openmrs-webapp ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 2 resources
- [INFO] Copying 1 resource to ../jetty
- [INFO]
- [INFO] --- maven-antrun-plugin:1.4:run (default) @ openmrs-webapp ---
- project.artifactId
- [INFO] Executing tasks
- [unzip] Expanding: /home/hillary/Desktop/openmrs-core/webapp/src/main/resources/liquibase-demo-data.zip into /home/hillary/Desktop/openmrs-core/webapp/target/classes
- [INFO] Executed tasks
- [INFO]
- [INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ openmrs-webapp ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-resources-plugin:2.4:testResources (default-testResources) @ openmrs-webapp ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 1 resource
- [INFO]
- [INFO] --- maven-compiler-plugin:2.1:testCompile (default-testCompile) @ openmrs-webapp ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] <<< jetty-maven-plugin:9.3.3.v20150827:run (default-cli) @ openmrs-webapp <<<
- [INFO]
- [INFO] --- jetty-maven-plugin:9.3.3.v20150827:run (default-cli) @ openmrs-webapp ---
- 2016-10-17 17:36:21.001:INFO::main: Logging initialized @12761ms
- [INFO] Configuring Jetty for project: openmrs-webapp
- [INFO] webAppSourceDirectory not set. Trying src/main/webapp
- [INFO] Reload Mechanic: automatic
- [INFO] Classes = /home/hillary/Desktop/openmrs-core/webapp/target/classes
- [INFO] Context path = /openmrs
- [INFO] Tmp directory = /home/hillary/Desktop/openmrs-core/webapp/target/tmp
- [INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
- [INFO] Web overrides = src/test/resources/override-web.xml
- [INFO] web.xml file = /home/hillary/Desktop/openmrs-core/webapp/target/jetty/WEB-INF/web.xml
- [INFO] Webapp directory = /home/hillary/Desktop/openmrs-core/webapp/src/main/webapp
- 2016-10-17 17:36:21.213:INFO:oejs.Server:main: jetty-9.3.3.v20150827
- 2016-10-17 17:36:29.505:INFO:/openmrs:main: No Spring WebApplicationInitializer types detected on classpath
- 2016-10-17 17:36:29.550:INFO:/openmrs:main: Initializing log4j from [classpath:log4j.xml]
- 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
- 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
- INFO - Listener.contextInitialized(174) |2016-10-17 17:36:29,704| Using runtime properties file: /home/hillary/.OpenMRS/openmrs-runtime.properties
- INFO 10/17/16 5:36 PM:liquibase: Reading from `liquibasechangelog`
- 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
- 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
- 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
- WARN - SimpleUrlHandlerMapping.registerHandlers(115) |2016-10-17 17:36:44,261| Neither 'urlMap' nor 'mappings' set on SimpleUrlHandlerMapping
- 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
- 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
- INFO 10/17/16 5:36 PM:liquibase: Reading from `liquibasechangelog`
- 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
- 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
- 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
- WARN - ModuleFactory.startModuleInternal(822) |2016-10-17 17:36:47,533| Error while trying to start module: legacyui
- org.openmrs.module.ModuleException: Module requires version matching 2.0.0. Current code version is ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}-${revisionNumber}
- at org.openmrs.module.ModuleUtil.checkRequiredVersion(ModuleUtil.java:402)
- at org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:675)
- at org.openmrs.api.context.Daemon$1.run(Daemon.java:74)
- INFO - LoggingAdvice.invoke(115) |2016-10-17 17:36:47,827| In method AlertService.saveAlert. Arguments: Alert=Alert: #null,
- INFO - LoggingAdvice.invoke(155) |2016-10-17 17:36:47,871| Exiting method saveAlert
- 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
- 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
- INFO 10/17/16 5:36 PM:liquibase: Reading from `liquibasechangelog`
- 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
- 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
- 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
- INFO 10/17/16 5:36 PM:liquibase: Reading from `liquibasechangelog`
- 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
- 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
- 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
- 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/}
- 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}
- 2016-10-17 17:36:49.858:INFO:oejs.Server:main: Started @41619ms
- [INFO] Started Jetty Server
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement