← Back to team overview

dhis2-devs team mailing list archive

DHIS2 Live Problem on Windows

 

Hi team,

Dr.HansB-RM from Tanzania and me have the same problem with DHIS2 Live (the latest version). The first time we run it, it works just fine but when we stop it and start again, we got the "503 SERVICE_UNAVAILABLE". I try to change the port of jetty but it still doesn't work.

Note that both of us are using Windows (Dr.HansB is using Windows XP and I'm using Windows 7 64bits). Attached is the dhis.log file

If anyone has experience about this, please share with us.

Best regards,
Long
* INFO  07:24:32,990 Environment variable DHIS2_HOME: null (TrayApp.java [main])
* INFO  14:16:33,009 Environment variable DHIS2_HOME: D:\My Document\DHIS2-Config (TrayApp.java [main])
* INFO  14:16:33,248 Initialising DHIS 2 Live... (TrayApp.java [main])
* INFO  14:16:33,623 Loading DHIS 2 on port: 8082 (WebAppServer.java [main])
* INFO  14:16:33,721 Setting DHIS 2 web app context to: /D:/dhis-live/webapps/dhis (WebAppServer.java [main])
* INFO  14:16:33,729 Lifecycle: server starting (TrayApp.java [Thread-2])
* INFO  14:16:40,624 System property dhis2.home points to /D:/dhis-live/conf (DefaultLocationManager.java [Thread-2])
* INFO  14:17:03,465 Found the following message senders: [org.hisp.dhis.message.EmailMessageSender@13efffd, org.hisp.dhis.sms.outbound.SmsSender@1186fff] (DefaultMessageService.java [Thread-2])
* INFO  14:17:20,868 Camel context started (DHIS2LifecycleStrategy.java [Thread-2])
* INFO  14:17:20,869 Searching for routes in directory: D:\dhis-live\conf\routes (DHIS2LifecycleStrategy.java [Thread-2])
* INFO  14:17:22,196 Executing startup routine [1 of 10, runlevel 1]: TableAlteror (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  14:17:22,632 Tables updated (TableAlteror.java [Thread-2])
* INFO  14:17:22,633 Executing startup routine [2 of 10, runlevel 1]: MapViewUpgrader (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  14:17:22,645 Executing startup routine [3 of 10, runlevel 2]: IdentityPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  14:17:23,870 Executing startup routine [4 of 10, runlevel 2]: PeriodTypePopulator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  14:17:23,939 Executing startup routine [5 of 10, runlevel 3]: TableCreator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  14:17:23,940 Created table/index aggregateddatavalue (TableCreator.java [Thread-2])
* INFO  14:17:23,940 Created table/index aggregatedorgunitdatavalue (TableCreator.java [Thread-2])
* INFO  14:17:23,941 Created table/index aggregatedindicatorvalue (TableCreator.java [Thread-2])
* INFO  14:17:23,942 Created table/index aggregatedorgunitindicatorvalue (TableCreator.java [Thread-2])
* INFO  14:17:23,943 Created table/index aggregateddatasetcompleteness (TableCreator.java [Thread-2])
* INFO  14:17:23,943 Created table/index aggregatedorgunitdatasetcompleteness (TableCreator.java [Thread-2])
* INFO  14:17:23,944 Created table/index crosstab (TableCreator.java [Thread-2])
* INFO  14:17:23,944 Created table/index messageconversation_lastmessage (TableCreator.java [Thread-2])
* INFO  14:17:23,945 Created table/index interpretation_lastupdated (TableCreator.java [Thread-2])
* INFO  14:17:23,945 Executing startup routine [6 of 10, runlevel 3]: DataElementDefaultDimensionPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  14:17:23,975 Added default concept (DataElementDefaultDimensionPopulator.java [Thread-2])
* INFO  14:17:24,174 Added default category (DataElementDefaultDimensionPopulator.java [Thread-2])
* INFO  14:17:24,200 Linked default category with default concept (DataElementDefaultDimensionPopulator.java [Thread-2])
* INFO  14:17:24,209 Executing startup routine [7 of 10, runlevel 4]: PatientTableAlteror (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  14:17:24,282 Executing startup routine [8 of 10, runlevel 5]: OrganisationUnitGroupSetPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  14:17:24,300 Executing startup routine [9 of 10, runlevel 5]: DataEntryFormUpgrader (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  14:17:24,302 Upgraded custom case entry form identifiers: 0 (DataEntryFormUpgrader.java [Thread-2])
* INFO  14:17:24,303 Executing startup routine [10 of 10, runlevel 6]: ExpressionUpgrader (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  14:17:24,322 All startup routines done (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  14:17:43,336 Lifecycle: server started (TrayApp.java [Thread-2])
* INFO  15:07:09,555 Environment variable DHIS2_HOME: D:\My Document\DHIS2-Config (TrayApp.java [main])
* INFO  15:07:10,082 Initialising DHIS 2 Live... (TrayApp.java [main])
* INFO  15:07:11,278 Loading DHIS 2 on port: 8082 (WebAppServer.java [main])
* INFO  15:07:11,587 Setting DHIS 2 web app context to: /D:/dhis-live/webapps/dhis (WebAppServer.java [main])
* INFO  15:07:11,777 Lifecycle: server starting (TrayApp.java [Thread-2])
* INFO  15:08:06,920 System property dhis2.home points to /D:/dhis-live/conf (DefaultLocationManager.java [Thread-2])
* INFO  15:08:57,559 Found the following message senders: [org.hisp.dhis.message.EmailMessageSender@10708b5, org.hisp.dhis.sms.outbound.SmsSender@ccb403] (DefaultMessageService.java [Thread-2])
* INFO  15:09:24,262 Camel context started (DHIS2LifecycleStrategy.java [Thread-2])
* INFO  15:09:24,264 Searching for routes in directory: D:\dhis-live\conf\routes (DHIS2LifecycleStrategy.java [Thread-2])
* INFO  15:09:26,052 Executing startup routine [1 of 10, runlevel 1]: TableAlteror (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  15:09:26,428 Tables updated (TableAlteror.java [Thread-2])
* INFO  15:09:26,429 Executing startup routine [2 of 10, runlevel 1]: MapViewUpgrader (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  15:09:26,441 Executing startup routine [3 of 10, runlevel 2]: IdentityPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  15:09:27,938 Lifecycle: server started (TrayApp.java [Thread-2])
* INFO  15:12:16,903 Graceful shutdown... (TrayApp.java [AWT-EventQueue-0])
* INFO  15:12:16,903 Lifecycle: server stopping (TrayApp.java [AWT-EventQueue-0])
* INFO  15:12:16,906 De-registering jdbc driver: sun.jdbc.odbc.JdbcOdbcDriver@1c0026e (StartupListener.java [AWT-EventQueue-0])
* INFO  15:12:16,907 De-registering jdbc driver: org.hsqldb.jdbc.JDBCDriver@f0461e (StartupListener.java [AWT-EventQueue-0])
* INFO  15:12:16,907 De-registering jdbc driver: com.mysql.jdbc.Driver@b31d47 (StartupListener.java [AWT-EventQueue-0])
* INFO  15:12:16,908 De-registering jdbc driver: org.postgresql.Driver@1cb18a4 (StartupListener.java [AWT-EventQueue-0])
* INFO  15:12:16,908 De-registering jdbc driver: org.h2.Driver@292188 (StartupListener.java [AWT-EventQueue-0])
* INFO  15:12:17,847 Camel context stopped (DHIS2LifecycleStrategy.java [AWT-EventQueue-0])
* INFO  15:12:18,072 Lifecycle: server stopped (TrayApp.java [AWT-EventQueue-0])
* INFO  15:12:18,083 Exiting... (TrayApp.java [AWT-EventQueue-0])
* INFO  15:13:14,981 Environment variable DHIS2_HOME: D:\My Document\DHIS2-Config (TrayApp.java [main])
* INFO  15:13:15,039 Initialising DHIS 2 Live... (TrayApp.java [main])
* INFO  15:13:16,311 Loading DHIS 2 on port: 8081 (WebAppServer.java [main])
* INFO  15:13:16,462 Setting DHIS 2 web app context to: /D:/dhis-live/webapps/dhis (WebAppServer.java [main])
* INFO  15:13:16,512 Lifecycle: server starting (TrayApp.java [Thread-2])
* INFO  15:13:33,496 System property dhis2.home points to /D:/dhis-live/conf (DefaultLocationManager.java [Thread-2])
* INFO  15:14:12,017 Found the following message senders: [org.hisp.dhis.message.EmailMessageSender@a9bc6f, org.hisp.dhis.sms.outbound.SmsSender@1922e37] (DefaultMessageService.java [Thread-2])
* INFO  15:14:41,706 Camel context started (DHIS2LifecycleStrategy.java [Thread-2])
* INFO  15:14:41,707 Searching for routes in directory: D:\dhis-live\conf\routes (DHIS2LifecycleStrategy.java [Thread-2])
* INFO  15:14:44,082 Executing startup routine [1 of 10, runlevel 1]: TableAlteror (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  15:14:44,379 Tables updated (TableAlteror.java [Thread-2])
* INFO  15:14:44,380 Executing startup routine [2 of 10, runlevel 1]: MapViewUpgrader (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  15:14:44,393 Executing startup routine [3 of 10, runlevel 2]: IdentityPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  15:14:44,637 Lifecycle: server started (TrayApp.java [Thread-2])
* INFO  15:15:28,210 Graceful shutdown... (TrayApp.java [AWT-EventQueue-0])
* INFO  15:15:28,210 Lifecycle: server stopping (TrayApp.java [AWT-EventQueue-0])
* INFO  15:15:28,212 De-registering jdbc driver: sun.jdbc.odbc.JdbcOdbcDriver@1b4b8e1 (StartupListener.java [AWT-EventQueue-0])
* INFO  15:15:28,213 De-registering jdbc driver: org.hsqldb.jdbc.JDBCDriver@1646aeb (StartupListener.java [AWT-EventQueue-0])
* INFO  15:15:28,213 De-registering jdbc driver: com.mysql.jdbc.Driver@16e6aa3 (StartupListener.java [AWT-EventQueue-0])
* INFO  15:15:28,213 De-registering jdbc driver: org.postgresql.Driver@1218766 (StartupListener.java [AWT-EventQueue-0])
* INFO  15:15:28,214 De-registering jdbc driver: org.h2.Driver@a7a886 (StartupListener.java [AWT-EventQueue-0])
* INFO  15:15:28,318 Camel context stopped (DHIS2LifecycleStrategy.java [AWT-EventQueue-0])
* INFO  15:15:28,525 Lifecycle: server stopped (TrayApp.java [AWT-EventQueue-0])
* INFO  15:15:28,537 Exiting... (TrayApp.java [AWT-EventQueue-0])
* INFO  15:18:21,255 Environment variable DHIS2_HOME: D:\My Document\DHIS2-Config (TrayApp.java [main])
* INFO  15:18:21,885 Initialising DHIS 2 Live... (TrayApp.java [main])
* INFO  15:18:23,517 Loading DHIS 2 on port: 8081 (WebAppServer.java [main])
* INFO  15:18:23,666 Setting DHIS 2 web app context to: /D:/dhis-live/webapps/dhis (WebAppServer.java [main])
* INFO  15:18:23,694 Lifecycle: server starting (TrayApp.java [Thread-2])
* INFO  15:18:35,691 System property dhis2.home points to /D:/dhis-live/conf (DefaultLocationManager.java [Thread-2])
* INFO  15:19:07,648 Found the following message senders: [org.hisp.dhis.message.EmailMessageSender@873edb, org.hisp.dhis.sms.outbound.SmsSender@12fd280] (DefaultMessageService.java [Thread-2])
* INFO  15:19:32,043 Camel context started (DHIS2LifecycleStrategy.java [Thread-2])
* INFO  15:19:32,044 Searching for routes in directory: D:\dhis-live\conf\routes (DHIS2LifecycleStrategy.java [Thread-2])
* INFO  15:19:35,400 Executing startup routine [1 of 10, runlevel 1]: TableAlteror (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  15:19:35,941 Tables updated (TableAlteror.java [Thread-2])
* INFO  15:19:35,942 Executing startup routine [2 of 10, runlevel 1]: MapViewUpgrader (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  15:19:35,978 Executing startup routine [3 of 10, runlevel 2]: IdentityPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  15:19:37,379 Lifecycle: server started (TrayApp.java [Thread-2])