← Back to team overview

dhis2-devs team mailing list archive

Re: USING DHIS-LIVE ON LINUX UBUNTU

 

Dear Lars and Knut,

I have some problem which I hope you can explain or educate me on how to
solve them.

1.  The first time I run the startup.sh, the dhis-live runs well (see
attached) and I have the expected login page.  However, no Sierra Leone
Demo data is loaded into it.  If I add data, these are saved until I exit
from the server.  All that data is lost next time I run the script to start
the application.

2. After the server starts well with "startup.sh" once or twice, the next
time the server is started, it becomes unavailable with error 503 (see
attached).  The only way I was able to overcome this is to delete the
dhis-live directory and re-create it from the zipped file.

I attach the dhis.log file and the output from the terminal.

I expect that it should be possible to restart the server after the first
time without running "startup.sh" as closing the server does not clear some
of the files that are created by the script when it is run the first time.

Can I use it with MySql instead of postgres?

Thanks.

Kayode


Regards.



On Wed, Dec 4, 2013 at 11:56 AM, Knut Staring <knutst@xxxxxxxxx> wrote:

> Hello Kayode,
>
> Of course, you could change the dhis-live/conf/hibernate.properties file
> to link to Postgres rather than H2 if you prefer.
>
> Knut
>
>
> On Wed, Dec 4, 2013 at 8:45 AM, Lars Helge Øverland <larshelge@xxxxxxxxx>wrote:
>
>> Hello Kayode,
>>
>> there should be no need for additional steps. ./startup.sh should be
>> enough. I use Live on ubuntu regularly on my side. Let us know if you get
>> any problems.
>>
>> best regards,
>>
>> Lars
>> On Dec 3, 2013 4:51 PM, "Kayode Odusote" <odusote.kayode@xxxxxxxxx>
>> wrote:
>>
>>> Dear All,
>>>
>>> Is there any additional information required to use the dhis-live CD
>>> on Linux-Ubuntu apart from just running the startup.sh script?
>>>
>>> Is there any need to tweek the h2 database server?
>>>
>>> Thanks.
>>>
>>> Kayode ODUSOTE
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> +4791880522
> http://dhis2.org
>
fshd@ubuntu:~$ cd ~/dhis-live
fshd@ubuntu:~/dhis-live$ bash startup.sh
Starting DHIS2 live ...
* INFO  13:27:59,504 Environment variable DHIS2_HOME: null (TrayApp.java [main])
* INFO  13:27:59,637 Initialising DHIS 2 Live... (TrayApp.java [main])
* INFO  13:27:59,766 Loading DHIS 2 on port: 8082 (WebAppServer.java [main])
2013-12-04 13:27:59.783:INFO::Logging to STDERR via org.mortbay.log.StdErrLog
* INFO  13:27:59,817 Setting DHIS 2 web app context to: /home/fshd/dhis-live/webapps/dhis (WebAppServer.java [main])
* INFO  13:27:59,818 Lifecycle: server starting (TrayApp.java [Thread-2])
2013-12-04 13:27:59.884:INFO::jetty-6.1.x
2013-12-04 13:28:00.168:INFO::NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
2013-12-04 13:28:00.782:INFO:/:Initializing Spring root WebApplicationContext
* INFO  13:28:06,127 System property dhis2.home points to /home/fshd/dhis-live/conf (DefaultLocationManager.java [Thread-2])
* INFO  13:28:08,702 Hibernate configuration loaded, using dialect: org.hibernate.dialect.H2Dialect (DefaultHibernateConfigurationProvider.java [Thread-2])
* ERROR 13:28:16,761 HHH000388: Unsuccessful: alter table dataelementcategoryoption add constraint fk_dataelementcategory_conceptid foreign key (conceptid) references concept (SchemaUpdate.java [Thread-2])
* ERROR 13:28:16,765 Constraint "FK_DATAELEMENTCATEGORY_CONCEPTID" already exists; SQL statement:
alter table dataelementcategoryoption add constraint fk_dataelementcategory_conceptid foreign key (conceptid) references concept [90045-173] (SchemaUpdate.java [Thread-2])
* ERROR 13:28:16,820 HHH000388: Unsuccessful: alter table indicator add constraint fk_indicator_userid foreign key (userid) references userinfo (SchemaUpdate.java [Thread-2])
* ERROR 13:28:16,822 Constraint "FK_INDICATOR_USERID" already exists; SQL statement:
alter table indicator add constraint fk_indicator_userid foreign key (userid) references userinfo [90045-173] (SchemaUpdate.java [Thread-2])
* ERROR 13:28:16,856 HHH000388: Unsuccessful: alter table interpretationcomment add constraint fk_interpretation_userid foreign key (userid) references userinfo (SchemaUpdate.java [Thread-2])
* ERROR 13:28:16,858 Constraint "FK_INTERPRETATION_USERID" already exists; SQL statement:
alter table interpretationcomment add constraint fk_interpretation_userid foreign key (userid) references userinfo [90045-173] (SchemaUpdate.java [Thread-2])
* ERROR 13:28:16,906 HHH000388: Unsuccessful: alter table orgunitgroup add constraint fk_indicator_userid foreign key (userid) references userinfo (SchemaUpdate.java [Thread-2])
* ERROR 13:28:16,908 Constraint "FK_INDICATOR_USERID" already exists; SQL statement:
alter table orgunitgroup add constraint fk_indicator_userid foreign key (userid) references userinfo [90045-173] (SchemaUpdate.java [Thread-2])
* ERROR 13:28:16,987 HHH000388: Unsuccessful: alter table programstageinstance add constraint fk_programinstance_patientcommentid foreign key (patientcommentid) references patientcomment (SchemaUpdate.java [Thread-2])
* ERROR 13:28:16,989 Constraint "FK_PROGRAMINSTANCE_PATIENTCOMMENTID" already exists; SQL statement:
alter table programstageinstance add constraint fk_programinstance_patientcommentid foreign key (patientcommentid) references patientcomment [90045-173] (SchemaUpdate.java [Thread-2])
* ERROR 13:28:17,010 HHH000388: Unsuccessful: alter table report add constraint fk_report_relativeperiodsid foreign key (relativeperiodsid) references relativeperiods (SchemaUpdate.java [Thread-2])
* ERROR 13:28:17,013 Constraint "FK_REPORT_RELATIVEPERIODSID" already exists; SQL statement:
alter table report add constraint fk_report_relativeperiodsid foreign key (relativeperiodsid) references relativeperiods [90045-173] (SchemaUpdate.java [Thread-2])
* ERROR 13:28:17,025 HHH000388: Unsuccessful: alter table reporttable add constraint fk_report_relativeperiodsid foreign key (relativeperiodsid) references relativeperiods (SchemaUpdate.java [Thread-2])
* ERROR 13:28:17,027 Constraint "FK_REPORT_RELATIVEPERIODSID" already exists; SQL statement:
alter table reporttable add constraint fk_report_relativeperiodsid foreign key (relativeperiodsid) references relativeperiods [90045-173] (SchemaUpdate.java [Thread-2])
* ERROR 13:28:17,073 HHH000388: Unsuccessful: alter table usergroupmembers add constraint fk_usergroup_userid foreign key (userid) references userinfo (SchemaUpdate.java [Thread-2])
* ERROR 13:28:17,075 Constraint "FK_USERGROUP_USERID" already exists; SQL statement:
alter table usergroupmembers add constraint fk_usergroup_userid foreign key (userid) references userinfo [90045-173] (SchemaUpdate.java [Thread-2])
* INFO  13:28:21,301 Found the following message senders: [org.hisp.dhis.message.EmailMessageSender@1148845, org.hisp.dhis.sms.SmsMessageSender@fe7e0e] (DefaultMessageService.java [Thread-2])
* INFO  13:28:32,563 Detecting apps: [] (DefaultAppManager.java [Thread-2])
* INFO  13:28:35,334 Executing startup routine [1 of 11, runlevel 1]: TableAlteror (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  13:28:35,827 Tables updated (TableAlteror.java [Thread-2])
* INFO  13:28:35,828 Executing startup routine [2 of 11, runlevel 1]: MapViewUpgrader (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  13:28:35,836 Executing startup routine [3 of 11, runlevel 2]: IdentityPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  13:28:36,074 Executing startup routine [4 of 11, runlevel 2]: PeriodTypePopulator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  13:28:36,168 Executing startup routine [5 of 11, runlevel 3]: TableCreator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  13:28:36,173 Created table/index crosstab (TableCreator.java [Thread-2])
* INFO  13:28:36,173 Created table/index messageconversation_lastmessage (TableCreator.java [Thread-2])
* INFO  13:28:36,174 Created table/index interpretation_lastupdated (TableCreator.java [Thread-2])
* INFO  13:28:36,174 Executing startup routine [6 of 11, runlevel 3]: DataElementDefaultDimensionPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  13:28:36,210 Added default concept (DataElementDefaultDimensionPopulator.java [Thread-2])
* INFO  13:28:36,434 Added default category (DataElementDefaultDimensionPopulator.java [Thread-2])
* INFO  13:28:36,455 Linked default category with default concept (DataElementDefaultDimensionPopulator.java [Thread-2])
* INFO  13:28:36,462 Executing startup routine [7 of 11, runlevel 4]: PatientTableAlteror (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  13:28:36,562 Executing startup routine [8 of 11, runlevel 5]: DataEntryFormUpgrader (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  13:28:36,564 Upgraded custom case entry form identifiers: 0 (DataEntryFormUpgrader.java [Thread-2])
* INFO  13:28:36,564 Executing startup routine [9 of 11, runlevel 6]: ExpressionUpgrader (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  13:28:36,572 Executing startup routine [10 of 11, runlevel 7]: ConfigurationPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  13:28:36,578 Executing startup routine [11 of 11, runlevel 7]: I18nLocalePopulator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  13:28:36,632 Populated default locales (I18nLocalePopulator.java [Thread-2])
* INFO  13:28:36,633 All startup routines done (DefaultStartupRoutineExecutor.java [Thread-2])
2013-12-04 13:28:38.463:INFO:/:Initializing Spring FrameworkServlet 'mobile'
2013-12-04 13:28:38.788:INFO:/:Initializing Spring FrameworkServlet 'webapi'
2013-12-04 13:28:42.216:INFO:/:Initializing Spring FrameworkServlet 'webapi-fred'
2013-12-04 13:28:42.916:INFO::Started SelectChannelConnector@0.0.0.0:8082
* INFO  13:28:42,916 Lifecycle: server started (TrayApp.java [Thread-2])
* INFO  13:29:27,105 Login failure for user: 'kayode', ip: '127.0.0.1' (DefaultUserAuditService.java [12985263@qtp-20000831-0])
* INFO  13:29:38,930 Login success for user: 'admin', ip: '127.0.0.1' (DefaultUserAuditService.java [12985263@qtp-20000831-0])
NOTE: child process received `Goodbye', closing down
* INFO  15:00:45,734 Graceful shutdown... (TrayApp.java [AWT-EventQueue-0])
* INFO  15:00:45,736 Lifecycle: server stopping (TrayApp.java [AWT-EventQueue-0])
2013-12-04 15:00:46.007:INFO::Stopped SelectChannelConnector@0.0.0.0:8082
2013-12-04 15:00:46.011:INFO:/:Destroying Spring FrameworkServlet 'webapi-fred'
2013-12-04 15:00:46.017:INFO:/:Destroying Spring FrameworkServlet 'mobile'
2013-12-04 15:00:46.018:INFO:/:Destroying Spring FrameworkServlet 'webapi'
* INFO  15:00:46,035 De-registering jdbc driver: com.mysql.jdbc.Driver@1e2ee3f (StartupListener.java [AWT-EventQueue-0])
* INFO  15:00:46,035 De-registering jdbc driver: org.hsqldb.jdbc.JDBCDriver@1941dc9 (StartupListener.java [AWT-EventQueue-0])
* INFO  15:00:46,036 De-registering jdbc driver: org.postgresql.Driver@1d7bd04 (StartupListener.java [AWT-EventQueue-0])
* INFO  15:00:46,036 De-registering jdbc driver: org.h2.Driver@ba8af9 (StartupListener.java [AWT-EventQueue-0])
2013-12-04 15:00:46.037:INFO:/:Closing Spring root WebApplicationContext
* INFO  15:00:46,261 Lifecycle: server stopped (TrayApp.java [AWT-EventQueue-0])
* INFO  15:00:46,262 Exiting... (TrayApp.java [AWT-EventQueue-0])
DHIS2 live exited normally
fshd@ubuntu:~/dhis-live$ bash startup.sh
Starting DHIS2 live ...
* INFO  15:07:29,798 Environment variable DHIS2_HOME: null (TrayApp.java [main])
* INFO  15:07:29,938 Initialising DHIS 2 Live... (TrayApp.java [main])
* INFO  15:07:30,044 Loading DHIS 2 on port: 8082 (WebAppServer.java [main])
2013-12-04 15:07:30.062:INFO::Logging to STDERR via org.mortbay.log.StdErrLog
* INFO  15:07:30,112 Setting DHIS 2 web app context to: /home/fshd/dhis-live/webapps/dhis (WebAppServer.java [main])
* INFO  15:07:30,113 Lifecycle: server starting (TrayApp.java [Thread-2])
2013-12-04 15:07:30.181:INFO::jetty-6.1.x
2013-12-04 15:07:30.457:INFO::NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
2013-12-04 15:07:31.135:INFO:/:Initializing Spring root WebApplicationContext
* INFO  15:07:36,390 System property dhis2.home points to /home/fshd/dhis-live/conf (DefaultLocationManager.java [Thread-2])
* INFO  15:07:38,873 Hibernate configuration loaded, using dialect: org.hibernate.dialect.H2Dialect (DefaultHibernateConfigurationProvider.java [Thread-2])
* ERROR 15:07:52,241 HHH000388: Unsuccessful: alter table dataelementcategoryoption add constraint fk_dataelementcategory_conceptid foreign key (conceptid) references concept (SchemaUpdate.java [Thread-2])
* ERROR 15:07:52,243 Constraint "FK_DATAELEMENTCATEGORY_CONCEPTID" already exists; SQL statement:
alter table dataelementcategoryoption add constraint fk_dataelementcategory_conceptid foreign key (conceptid) references concept [90045-173] (SchemaUpdate.java [Thread-2])
* ERROR 15:07:52,280 HHH000388: Unsuccessful: alter table indicator add constraint fk_indicator_userid foreign key (userid) references userinfo (SchemaUpdate.java [Thread-2])
* ERROR 15:07:52,283 Constraint "FK_INDICATOR_USERID" already exists; SQL statement:
alter table indicator add constraint fk_indicator_userid foreign key (userid) references userinfo [90045-173] (SchemaUpdate.java [Thread-2])
* ERROR 15:07:52,296 HHH000388: Unsuccessful: alter table interpretationcomment add constraint fk_interpretation_userid foreign key (userid) references userinfo (SchemaUpdate.java [Thread-2])
* ERROR 15:07:52,299 Constraint "FK_INTERPRETATION_USERID" already exists; SQL statement:
alter table interpretationcomment add constraint fk_interpretation_userid foreign key (userid) references userinfo [90045-173] (SchemaUpdate.java [Thread-2])
* ERROR 15:07:52,316 HHH000388: Unsuccessful: alter table orgunitgroup add constraint fk_indicator_userid foreign key (userid) references userinfo (SchemaUpdate.java [Thread-2])
* ERROR 15:07:52,319 Constraint "FK_INDICATOR_USERID" already exists; SQL statement:
alter table orgunitgroup add constraint fk_indicator_userid foreign key (userid) references userinfo [90045-173] (SchemaUpdate.java [Thread-2])
* ERROR 15:07:52,336 HHH000388: Unsuccessful: alter table programstageinstance add constraint fk_programinstance_patientcommentid foreign key (patientcommentid) references patientcomment (SchemaUpdate.java [Thread-2])
* ERROR 15:07:52,340 Constraint "FK_PROGRAMINSTANCE_PATIENTCOMMENTID" already exists; SQL statement:
alter table programstageinstance add constraint fk_programinstance_patientcommentid foreign key (patientcommentid) references patientcomment [90045-173] (SchemaUpdate.java [Thread-2])
* ERROR 15:07:52,352 HHH000388: Unsuccessful: alter table report add constraint fk_report_relativeperiodsid foreign key (relativeperiodsid) references relativeperiods (SchemaUpdate.java [Thread-2])
* ERROR 15:07:52,356 Constraint "FK_REPORT_RELATIVEPERIODSID" already exists; SQL statement:
alter table report add constraint fk_report_relativeperiodsid foreign key (relativeperiodsid) references relativeperiods [90045-173] (SchemaUpdate.java [Thread-2])
* ERROR 15:07:52,371 HHH000388: Unsuccessful: alter table reporttable add constraint fk_report_relativeperiodsid foreign key (relativeperiodsid) references relativeperiods (SchemaUpdate.java [Thread-2])
* ERROR 15:07:52,373 Constraint "FK_REPORT_RELATIVEPERIODSID" already exists; SQL statement:
alter table reporttable add constraint fk_report_relativeperiodsid foreign key (relativeperiodsid) references relativeperiods [90045-173] (SchemaUpdate.java [Thread-2])
* ERROR 15:07:52,382 HHH000388: Unsuccessful: alter table usergroupmembers add constraint fk_usergroup_userid foreign key (userid) references userinfo (SchemaUpdate.java [Thread-2])
* ERROR 15:07:52,384 Constraint "FK_USERGROUP_USERID" already exists; SQL statement:
alter table usergroupmembers add constraint fk_usergroup_userid foreign key (userid) references userinfo [90045-173] (SchemaUpdate.java [Thread-2])
* INFO  15:07:56,370 Found the following message senders: [org.hisp.dhis.message.EmailMessageSender@85968b, org.hisp.dhis.sms.SmsMessageSender@5eb12e] (DefaultMessageService.java [Thread-2])
* INFO  15:08:08,199 Detecting apps: [] (DefaultAppManager.java [Thread-2])
* INFO  15:08:09,995 Executing startup routine [1 of 11, runlevel 1]: TableAlteror (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  15:08:10,379 Tables updated (TableAlteror.java [Thread-2])
* INFO  15:08:10,380 Executing startup routine [2 of 11, runlevel 1]: MapViewUpgrader (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  15:08:10,393 Executing startup routine [3 of 11, runlevel 2]: IdentityPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
2013-12-04 15:08:10.622:WARN::Failed startup of context org.mortbay.jetty.webapp.WebAppContext@208678{/,/home/fshd/dhis-live/webapps/dhis}
java.lang.RuntimeException: Failed to run startup routines: StatementCallback; uncategorized SQLException for SQL [ALTER TABLE chart ADD CONSTRAINT chart_uid_key UNIQUE(uid)]; SQL state [90045]; error code [90045]; Constraint "CHART_UID_KEY" already exists; SQL statement:|ALTER TABLE chart ADD CONSTRAINT chart_uid_key UNIQUE(uid) [90045-173]; nested exception is org.h2.jdbc.JdbcSQLException: Constraint "CHART_UID_KEY" already exists; SQL statement:|ALTER TABLE chart ADD CONSTRAINT chart_uid_key UNIQUE(uid) [90045-173]
	at org.hisp.dhis.system.startup.StartupListener.contextInitialized(StartupListener.java:71)
	at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
	at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1272)
	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:489)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
	at org.mortbay.jetty.Server.doStart(Server.java:224)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at org.hisp.dhis.WebAppServer.run(WebAppServer.java:110)
2013-12-04 15:08:10.642:INFO::Started SelectChannelConnector@0.0.0.0:8082
* INFO  15:08:10,644 Lifecycle: server started (TrayApp.java [Thread-2])
NOTE: child process received `Goodbye', closing down

Attachment: normal_service_login.png
Description: PNG image

Attachment: Service_Error.png
Description: PNG image

* INFO  07:24:32,990 Environment variable DHIS2_HOME: null (TrayApp.java [main])
* INFO  13:27:59,504 Environment variable DHIS2_HOME: null (TrayApp.java [main])
* INFO  13:27:59,637 Initialising DHIS 2 Live... (TrayApp.java [main])
* INFO  13:27:59,766 Loading DHIS 2 on port: 8082 (WebAppServer.java [main])
* INFO  13:27:59,817 Setting DHIS 2 web app context to: /home/fshd/dhis-live/webapps/dhis (WebAppServer.java [main])
* INFO  13:27:59,818 Lifecycle: server starting (TrayApp.java [Thread-2])
* INFO  13:28:06,127 System property dhis2.home points to /home/fshd/dhis-live/conf (DefaultLocationManager.java [Thread-2])
* INFO  13:28:08,702 Hibernate configuration loaded, using dialect: org.hibernate.dialect.H2Dialect (DefaultHibernateConfigurationProvider.java [Thread-2])
* INFO  13:28:21,301 Found the following message senders: [org.hisp.dhis.message.EmailMessageSender@1148845, org.hisp.dhis.sms.SmsMessageSender@fe7e0e] (DefaultMessageService.java [Thread-2])
* INFO  13:28:32,563 Detecting apps: [] (DefaultAppManager.java [Thread-2])
* INFO  13:28:35,334 Executing startup routine [1 of 11, runlevel 1]: TableAlteror (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  13:28:35,827 Tables updated (TableAlteror.java [Thread-2])
* INFO  13:28:35,828 Executing startup routine [2 of 11, runlevel 1]: MapViewUpgrader (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  13:28:35,836 Executing startup routine [3 of 11, runlevel 2]: IdentityPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  13:28:36,074 Executing startup routine [4 of 11, runlevel 2]: PeriodTypePopulator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  13:28:36,168 Executing startup routine [5 of 11, runlevel 3]: TableCreator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  13:28:36,173 Created table/index crosstab (TableCreator.java [Thread-2])
* INFO  13:28:36,173 Created table/index messageconversation_lastmessage (TableCreator.java [Thread-2])
* INFO  13:28:36,174 Created table/index interpretation_lastupdated (TableCreator.java [Thread-2])
* INFO  13:28:36,174 Executing startup routine [6 of 11, runlevel 3]: DataElementDefaultDimensionPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  13:28:36,210 Added default concept (DataElementDefaultDimensionPopulator.java [Thread-2])
* INFO  13:28:36,434 Added default category (DataElementDefaultDimensionPopulator.java [Thread-2])
* INFO  13:28:36,455 Linked default category with default concept (DataElementDefaultDimensionPopulator.java [Thread-2])
* INFO  13:28:36,462 Executing startup routine [7 of 11, runlevel 4]: PatientTableAlteror (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  13:28:36,562 Executing startup routine [8 of 11, runlevel 5]: DataEntryFormUpgrader (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  13:28:36,564 Upgraded custom case entry form identifiers: 0 (DataEntryFormUpgrader.java [Thread-2])
* INFO  13:28:36,564 Executing startup routine [9 of 11, runlevel 6]: ExpressionUpgrader (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  13:28:36,572 Executing startup routine [10 of 11, runlevel 7]: ConfigurationPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  13:28:36,578 Executing startup routine [11 of 11, runlevel 7]: I18nLocalePopulator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  13:28:36,632 Populated default locales (I18nLocalePopulator.java [Thread-2])
* INFO  13:28:36,633 All startup routines done (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  13:28:42,916 Lifecycle: server started (TrayApp.java [Thread-2])
* INFO  13:29:27,105 Login failure for user: 'kayode', ip: '127.0.0.1' (DefaultUserAuditService.java [12985263@qtp-20000831-0])
* INFO  13:29:38,930 Login success for user: 'admin', ip: '127.0.0.1' (DefaultUserAuditService.java [12985263@qtp-20000831-0])
* INFO  15:00:45,734 Graceful shutdown... (TrayApp.java [AWT-EventQueue-0])
* INFO  15:00:45,736 Lifecycle: server stopping (TrayApp.java [AWT-EventQueue-0])
* INFO  15:00:46,035 De-registering jdbc driver: com.mysql.jdbc.Driver@1e2ee3f (StartupListener.java [AWT-EventQueue-0])
* INFO  15:00:46,035 De-registering jdbc driver: org.hsqldb.jdbc.JDBCDriver@1941dc9 (StartupListener.java [AWT-EventQueue-0])
* INFO  15:00:46,036 De-registering jdbc driver: org.postgresql.Driver@1d7bd04 (StartupListener.java [AWT-EventQueue-0])
* INFO  15:00:46,036 De-registering jdbc driver: org.h2.Driver@ba8af9 (StartupListener.java [AWT-EventQueue-0])
* INFO  15:00:46,261 Lifecycle: server stopped (TrayApp.java [AWT-EventQueue-0])
* INFO  15:00:46,262 Exiting... (TrayApp.java [AWT-EventQueue-0])
* INFO  15:07:29,798 Environment variable DHIS2_HOME: null (TrayApp.java [main])
* INFO  15:07:29,938 Initialising DHIS 2 Live... (TrayApp.java [main])
* INFO  15:07:30,044 Loading DHIS 2 on port: 8082 (WebAppServer.java [main])
* INFO  15:07:30,112 Setting DHIS 2 web app context to: /home/fshd/dhis-live/webapps/dhis (WebAppServer.java [main])
* INFO  15:07:30,113 Lifecycle: server starting (TrayApp.java [Thread-2])
* INFO  15:07:36,390 System property dhis2.home points to /home/fshd/dhis-live/conf (DefaultLocationManager.java [Thread-2])
* INFO  15:07:38,873 Hibernate configuration loaded, using dialect: org.hibernate.dialect.H2Dialect (DefaultHibernateConfigurationProvider.java [Thread-2])
* INFO  15:07:56,370 Found the following message senders: [org.hisp.dhis.message.EmailMessageSender@85968b, org.hisp.dhis.sms.SmsMessageSender@5eb12e] (DefaultMessageService.java [Thread-2])
* INFO  15:08:08,199 Detecting apps: [] (DefaultAppManager.java [Thread-2])
* INFO  15:08:09,995 Executing startup routine [1 of 11, runlevel 1]: TableAlteror (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  15:08:10,379 Tables updated (TableAlteror.java [Thread-2])
* INFO  15:08:10,380 Executing startup routine [2 of 11, runlevel 1]: MapViewUpgrader (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  15:08:10,393 Executing startup routine [3 of 11, runlevel 2]: IdentityPopulator (DefaultStartupRoutineExecutor.java [Thread-2])
* INFO  15:08:10,644 Lifecycle: server started (TrayApp.java [Thread-2])
* INFO  15:16:32,181 Graceful shutdown... (TrayApp.java [AWT-EventQueue-0])
* INFO  15:16:32,183 Lifecycle: server stopping (TrayApp.java [AWT-EventQueue-0])
* INFO  15:16:32,189 De-registering jdbc driver: com.mysql.jdbc.Driver@cae5b8 (StartupListener.java [AWT-EventQueue-0])
* INFO  15:16:32,190 De-registering jdbc driver: org.hsqldb.jdbc.JDBCDriver@7262b6 (StartupListener.java [AWT-EventQueue-0])
* INFO  15:16:32,192 De-registering jdbc driver: org.postgresql.Driver@1e9c3f (StartupListener.java [AWT-EventQueue-0])
* INFO  15:16:32,193 De-registering jdbc driver: org.h2.Driver@1a40cfc (StartupListener.java [AWT-EventQueue-0])
* INFO  15:16:32,374 Lifecycle: server stopped (TrayApp.java [AWT-EventQueue-0])
* INFO  15:16:32,377 Exiting... (TrayApp.java [AWT-EventQueue-0])

Follow ups

References