← Back to team overview

dhis2-devs team mailing list archive

Problem in running DHIS2.15 war file with empty database.


Hello Devs,

When i am running dhis2.15 using $ mvn jetty:run-war on windows 7 machine
with i3 and 4 GB RAM configuration, it appears like posed(stops idle) at
one place ie. at the last line of even trace as you can find below in log

Can someone justify me whats going wrong there in running dhis2 application

$ mvn jetty:run-war
[INFO] Scanning for projects...
[INFO] Building DHIS Web Portal 2.15
[INFO] >>> maven-jetty-plugin:6.1.26:run-war (default-cli) > package @
dhis-web-portal >>>
[WARNING] Could not transfer metadata org.apache.ant:ant/maven-metadata.xml
from/to amplecode_maven2_repo (http://maven.dhis2.org/amplecode-local):
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
dhis-web-portal ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
dhis-web-portal ---
[INFO] Nothing to compile - all classes are up to date
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources)
@ dhis-web-portal ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
dhis-web-portal ---
[INFO] No sources to compile
[INFO] --- maven-surefire-plugin:2.16:test (default-test) @ dhis-web-portal
[INFO] No tests to run.
[INFO] --- maven-war-plugin:2.4:war (default-war) @ dhis-web-portal ---
[INFO] Packaging webapp
[INFO] Assembling webapp [dhis-web-portal] in
[INFO] Processing war project
[INFO] Copying webapp resources
[INFO] Building jar:
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-commons-resources]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-ohie]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-sms]
[INFO] Processing overlay [ id
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-dataset]
[INFO] Processing overlay [ id
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-user]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-dataadmin]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-settings]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-program]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-maintenance-mobile]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-importexport]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-validationrule]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-dataentry]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-dashboard-integration]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-mapping]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-caseentry]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-light]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-mobile]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-reporting]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-visualizer]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-pivot]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-event-capture]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-event-reports]
[INFO] Processing overlay [ id org.hisp.dhis:dhis-web-tracker-capture]
[INFO] Processing overlay [ id
[INFO] Webapp assembled in [10735 msecs]
[INFO] Building war:
[INFO] <<< maven-jetty-plugin:6.1.26:run-war (default-cli) < package @
dhis-web-portal <<<
[WARNING] Failure to transfer org.apache.ant:ant/maven-metadata.xml from
http://maven.dhis2.org/amplecode-local was cached in the local repository,
resolution will not be reattempted until the update interval of
amplecode_maven2_repo has elapsed or updates are forced. Original error:
Could not transfer metadata org.apache.ant:ant/maven-metadata.xml from/to
amplecode_maven2_repo (http://maven.dhis2.org/amplecode-local):
[INFO] --- maven-jetty-plugin:6.1.26:run-war (default-cli) @
dhis-web-portal ---
[INFO] Configuring Jetty for project: DHIS Web Portal
[INFO] Logging to org.slf4j.impl.SimpleLogger(org.mortbay.log) via
[INFO] Context path = /
[INFO] Tmp directory =  determined at runtime
[INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
[INFO] Web overrides =  none
[INFO] Starting jetty 6.1.26 ...
[INFO] jetty-6.1.26
[INFO] Extract
D:\sorce\2.15\dhis-2\dhis-web\dhis-web-portal\target\dhis.war to
[INFO] No Transaction manager found - if your webapp requires one, please
configure one.
[INFO] Initializing Spring root WebApplicationContext
* INFO  2016-09-16 15:03:08,035 System property dhis2.home not set
(DefaultLocationManager.java [main])
* INFO  2016-09-16 15:03:08,038 Environment variable DHIS2_HOME points to
C:\DHIS2_HOME\ (DefaultLocationManager.java [main])
* INFO  2016-09-16 15:03:08,966 Hibernate configuration loaded, using
dialect: org.hibernate.dialect.MySQLDialect
(DefaultHibernateConfigurationProvider.java [main])

Thanks and Regards

Brajesh Murari