← Back to team overview

dhis2-devs team mailing list archive

[Bug 1244140] [NEW] dhis live doesn't startup succesfully

 

Public bug reported:

DHIS live won't startup successfully after a shutdown.

Steps to reproduce the problem:

1) Download DHIS live from:
http://www.dhis2.org/download/live/dhis2-live.zip

2) Extract to a folder where user has full access.

3) Verify that no DHIS2_HOME environment variable is set.

4) Run the DHIS Live executable file. A browser opens and asks for user
credentials as expected.

5) Login into the application...navigate....and perform a logout.

6) Stop the application (right button on top of icon that says: "DHIS2
server running").

7) Check DHIS log to be sure shutdown has completed and perform step 4
again.

8) A browser is opened with an error:

HTTP ERROR: 503

Problem accessing /. Reason:

    SERVICE_UNAVAILABLE
Powered by Jetty://


Checking log we can see that no all startup routines have been
performed:


* INFO  19:59:51,398 Executing startup routine [11 of 11, runlevel 7]: I18nLocalePopulator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  19:59:51,462 Populated default locales (I18nLocalePopulator.java [Thread-2])
* INFO  19:59:51,462 All startup routines done (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  19:59:57,188 Lifecycle: server started (TrayApp.java [Thread-2])
* INFO  20:00:13,102 Login success for user: 'admin', ip: '0:0:0:0:0:0:0:1' (DefaultUserAuditService.java [318050160@qtp-242191230-3])
* INFO  20:01:19,183 Graceful shutdown... (TrayApp.java [AWT-EventQueue-0])
* INFO  20:01:19,183 Lifecycle: server stopping (TrayApp.java [AWT-EventQueue-0])
* INFO  20:01:19,206 De-registering jdbc driver: sun.jdbc.odbc.JdbcOdbcDriver@ddc7a0d (StartupListener.java [AWT-EventQueue-0])
* INFO  20:01:19,206 De-registering jdbc driver: org.hsqldb.jdbc.JDBCDriver@6aea2132 (StartupListener.java [AWT-EventQueue-0])
* INFO  20:01:19,206 De-registering jdbc driver: com.mysql.jdbc.Driver@161020ce (StartupListener.java [AWT-EventQueue-0])
* INFO  20:01:19,207 De-registering jdbc driver: org.postgresql.Driver@3af0f8b8 (StartupListener.java [AWT-EventQueue-0])
* INFO  20:01:19,207 De-registering jdbc driver: org.h2.Driver@22591643 (StartupListener.java [AWT-EventQueue-0])
* INFO  20:01:19,374 Lifecycle: server stopped (TrayApp.java [AWT-EventQueue-0])
* INFO  20:01:19,378 Exiting... (TrayApp.java [AWT-EventQueue-0])
* INFO  20:01:44,713 Environment variable DHIS2_HOME: C:\Users\lssoares\Projects\SIS-MA\DHIS2 (TrayApp.java [main])
* INFO  20:01:44,738 Initialising DHIS 2 Live... (TrayApp.java [main])
* INFO  20:01:44,808 Loading DHIS 2 on port: 8082 (WebAppServer.java [main])
* INFO  20:01:44,841 Setting DHIS 2 web app context to: /C:/Program Files (x86)/SIS-MA/webapps/dhis (WebAppServer.java [main])
* INFO  20:01:44,842 Lifecycle: server starting (TrayApp.java [Thread-2])
* INFO  20:01:49,111 System property dhis2.home points to /C:/Program Files (x86)/SIS-MA/conf (DefaultLocationManager.java [Thread-2])
* INFO  20:01:50,316 Hibernate configuration loaded, using dialect: org.hibernate.dialect.H2Dialect (DefaultHibernateConfigurationProvider.java [Thread-2])
* INFO  20:01:59,849 Found the following message senders: [org.hisp.dhis.message.EmailMessageSender@7e6d71f6, org.hisp.dhis.sms.SmsMessageSender@43550e52] (DefaultMessageService.java [Thread-2])
* INFO  20:02:03,699 Detecting apps: [] (DefaultAppManager.java [Thread-2])
* INFO  20:02:07,198 Executing startup routine [1 of 11, runlevel 1]: TableAlteror (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  20:02:07,454 Tables updated (TableAlteror.java [Thread-2])
* INFO  20:02:07,454 Executing startup routine [2 of 11, runlevel 1]: MapViewUpgrader (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  20:02:07,462 Executing startup routine [3 of 11, runlevel 2]: IdentityPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  20:02:07,640 Lifecycle: server started (TrayApp.java [Thread-2])

** Affects: dhis2
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1244140

Title:
  dhis live doesn't startup succesfully

Status in DHIS 2:
  New

Bug description:
  DHIS live won't startup successfully after a shutdown.

  Steps to reproduce the problem:

  1) Download DHIS live from:
  http://www.dhis2.org/download/live/dhis2-live.zip

  2) Extract to a folder where user has full access.

  3) Verify that no DHIS2_HOME environment variable is set.

  4) Run the DHIS Live executable file. A browser opens and asks for
  user credentials as expected.

  5) Login into the application...navigate....and perform a logout.

  6) Stop the application (right button on top of icon that says: "DHIS2
  server running").

  7) Check DHIS log to be sure shutdown has completed and perform step 4
  again.

  8) A browser is opened with an error:

  HTTP ERROR: 503

  Problem accessing /. Reason:

      SERVICE_UNAVAILABLE
  Powered by Jetty://


  Checking log we can see that no all startup routines have been
  performed:

  
  * INFO  19:59:51,398 Executing startup routine [11 of 11, runlevel 7]: I18nLocalePopulator (DefaultStartupRoutineExecutor.java [Thread-2])
  * INFO  19:59:51,462 Populated default locales (I18nLocalePopulator.java [Thread-2])
  * INFO  19:59:51,462 All startup routines done (DefaultStartupRoutineExecutor.java [Thread-2])
  * INFO  19:59:57,188 Lifecycle: server started (TrayApp.java [Thread-2])
  * INFO  20:00:13,102 Login success for user: 'admin', ip: '0:0:0:0:0:0:0:1' (DefaultUserAuditService.java [318050160@qtp-242191230-3])
  * INFO  20:01:19,183 Graceful shutdown... (TrayApp.java [AWT-EventQueue-0])
  * INFO  20:01:19,183 Lifecycle: server stopping (TrayApp.java [AWT-EventQueue-0])
  * INFO  20:01:19,206 De-registering jdbc driver: sun.jdbc.odbc.JdbcOdbcDriver@ddc7a0d (StartupListener.java [AWT-EventQueue-0])
  * INFO  20:01:19,206 De-registering jdbc driver: org.hsqldb.jdbc.JDBCDriver@6aea2132 (StartupListener.java [AWT-EventQueue-0])
  * INFO  20:01:19,206 De-registering jdbc driver: com.mysql.jdbc.Driver@161020ce (StartupListener.java [AWT-EventQueue-0])
  * INFO  20:01:19,207 De-registering jdbc driver: org.postgresql.Driver@3af0f8b8 (StartupListener.java [AWT-EventQueue-0])
  * INFO  20:01:19,207 De-registering jdbc driver: org.h2.Driver@22591643 (StartupListener.java [AWT-EventQueue-0])
  * INFO  20:01:19,374 Lifecycle: server stopped (TrayApp.java [AWT-EventQueue-0])
  * INFO  20:01:19,378 Exiting... (TrayApp.java [AWT-EventQueue-0])
  * INFO  20:01:44,713 Environment variable DHIS2_HOME: C:\Users\lssoares\Projects\SIS-MA\DHIS2 (TrayApp.java [main])
  * INFO  20:01:44,738 Initialising DHIS 2 Live... (TrayApp.java [main])
  * INFO  20:01:44,808 Loading DHIS 2 on port: 8082 (WebAppServer.java [main])
  * INFO  20:01:44,841 Setting DHIS 2 web app context to: /C:/Program Files (x86)/SIS-MA/webapps/dhis (WebAppServer.java [main])
  * INFO  20:01:44,842 Lifecycle: server starting (TrayApp.java [Thread-2])
  * INFO  20:01:49,111 System property dhis2.home points to /C:/Program Files (x86)/SIS-MA/conf (DefaultLocationManager.java [Thread-2])
  * INFO  20:01:50,316 Hibernate configuration loaded, using dialect: org.hibernate.dialect.H2Dialect (DefaultHibernateConfigurationProvider.java [Thread-2])
  * INFO  20:01:59,849 Found the following message senders: [org.hisp.dhis.message.EmailMessageSender@7e6d71f6, org.hisp.dhis.sms.SmsMessageSender@43550e52] (DefaultMessageService.java [Thread-2])
  * INFO  20:02:03,699 Detecting apps: [] (DefaultAppManager.java [Thread-2])
  * INFO  20:02:07,198 Executing startup routine [1 of 11, runlevel 1]: TableAlteror (DefaultStartupRoutineExecutor.java [Thread-2])
  * INFO  20:02:07,454 Tables updated (TableAlteror.java [Thread-2])
  * INFO  20:02:07,454 Executing startup routine [2 of 11, runlevel 1]: MapViewUpgrader (DefaultStartupRoutineExecutor.java [Thread-2])
  * INFO  20:02:07,462 Executing startup routine [3 of 11, runlevel 2]: IdentityPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
  * INFO  20:02:07,640 Lifecycle: server started (TrayApp.java [Thread-2])

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1244140/+subscriptions


Follow ups

References