using DHIS live with Demo database webserver doesn't start

Dear advisors / helpers;

I am new to this type of forum so, hope that I am doing the right thing here.

Want to learn about and practice with DHIS 2 using the Sierra Leone database off-line.

Have installed all the necessary components (I think) and made the necessary connections (I think).

I did as being told by Knut Staring: starting DHIS 2; a small notice in the bottom tells me to “please(!) be patient”. I was! Then at long last a small notice: “webserver failed to start -see logs for details”

When I go to local host: http://localhost:8082/dhis-web-commons/security/login.action, I CAN log in, but get an empty screen, no database is loaded, no dashboard shows.

Where is the problem?

I did find the log file and attached it

(( you can see I tried more than one time. I admit a sign of stupidity: doing the same thing again and again and still expecting a new result :slight_smile: ))

Please assist

with regards

Aad

dhis_Aad van G Harare.log (58.1 KB)

···

=====================================

Aad van Geldermalsen, MD, DTM, MPH .
Public Health Advisor
Chisipite, Harare
Tel. +263 772 330 002
email: aadvg@healthnet.zw aadvge@gmail.com

=====================================

Hi,
I’m not very familiar with DHIS Live (or DHIS on windows), but looking at the log, it seems:

  • DHIS 2 live started and you could log in with the default empty database

  • The first time you started with a postgres (demo?) database, it also started and you could log in

Then, it looks like DHIS 2 i started again, but I don’t see any sign of the previous instance being shut down first. So (perhaps a stupid question…), but are you sure that there’s not an instance of DHIS 2 running in the background? Safest way to make sure is probably to restart windows.

Olav

···
  1. nov. 2013 kl. 09:43 skrev Aad van Geldermalsen aadvge@gmail.com:

Dear advisors / helpers;

I am new to this type of forum so, hope that I am doing the right thing here.

Want to learn about and practice with DHIS 2 using the Sierra Leone database off-line.

Have installed all the necessary components (I think) and made the necessary connections (I think).

I did as being told by Knut Staring: starting DHIS 2; a small notice in the bottom tells me to “please(!) be patient”. I was! Then at long last a small notice: “webserver failed to start -see logs for details”

When I go to local host: http://localhost:8082/dhis-web-commons/security/login.action, I CAN log in, but get an empty screen, no database is loaded, no dashboard shows.

Where is the problem?

I did find the log file and attached it

(( you can see I tried more than one time. I admit a sign of stupidity: doing the same thing again and again and still expecting a new result :slight_smile: ))

Please assist

with regards

Aad

=====================================

Aad van Geldermalsen, MD, DTM, MPH .
Public Health Advisor
Chisipite, Harare
Tel. +263 772 330 002
email: aadvg@healthnet.zw aadvge@gmail.com

=====================================

<dhis_Aad van G Harare.log>_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp

Aad, you need to right click on that green icon down in the right hand corner in order to Exit the DHIS2 server. Or you could also open Windows Task Manager and kill all java processes.

Knut

···

On Tue, Nov 26, 2013 at 10:19 AM, Olav Poppe olav.poppe@me.com wrote:

Hi,
I’m not very familiar with DHIS Live (or DHIS on windows), but looking at the log, it seems:

  • DHIS 2 live started and you could log in with the default empty database
  • The first time you started with a postgres (demo?) database, it also started and you could log in

Then, it looks like DHIS 2 i started again, but I don’t see any sign of the previous instance being shut down first. So (perhaps a stupid question…), but are you sure that there’s not an instance of DHIS 2 running in the background? Safest way to make sure is probably to restart windows.

Olav

  1. nov. 2013 kl. 09:43 skrev Aad van Geldermalsen aadvge@gmail.com:

Dear advisors / helpers;

I am new to this type of forum so, hope that I am doing the right thing here.

Want to learn about and practice with DHIS 2 using the Sierra Leone database off-line.

Have installed all the necessary components (I think) and made the necessary connections (I think).

I did as being told by Knut Staring: starting DHIS 2; a small notice in the bottom tells me to “please(!) be patient”. I was! Then at long last a small notice: “webserver failed to start -see logs for details”

When I go to local host: http://localhost:8082/dhis-web-commons/security/login.action, I CAN log in, but get an empty screen, no database is loaded, no dashboard shows.

Where is the problem?

I did find the log file and attached it

(( you can see I tried more than one time. I admit a sign of stupidity: doing the same thing again and again and still expecting a new result :slight_smile: ))

Please assist

with regards

Aad

=====================================

Aad van Geldermalsen, MD, DTM, MPH .
Public Health Advisor
Chisipite, Harare
Tel. +263 772 330 002
email: aadvg@healthnet.zw aadvge@gmail.com

=====================================

<dhis_Aad van G Harare.log>_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

Hi Aad,

we have just made a fix to DHIS version 2.13 which solves an issue for
starting up on Live. Could you please download the latest one from here and
try again: http://www.dhis2.org/downloads

Re the database I suspect that you have not connected to Postgres but are
still running on H2.

regards,

Lars

Hi Lars,

I’m also facing a similar problem. The first time I start the service it starts ok and I’m able to authentication with default admin user. If I restart the service although I get a success message on log, trying to access the application I get

HTTP ERROR: 503

Problem accessing /. Reason:

SERVICE_UNAVAILABLE

Powered by Jetty://

Regards,

Paulo Grácio

dhis.log (8.06 KB)

···

From: Dhis2-users [mailto:dhis2-users-bounces+pgracio=criticalsoftware.com@lists.launchpad.net] On Behalf Of Lars Helge Øverland
Sent: quarta-feira, 4 de Dezembro de 2013 18:36
To: Aad van Geldermalsen
Cc: DHIS 2 Users list
Subject: Re: [Dhis2-users] using DHIS live with Demo database webserver doesn’t start

Hi Aad,

we have just made a fix to DHIS version 2.13 which solves an issue for starting up on Live. Could you please download the latest one from here and try again: http://www.dhis2.org/downloads

Re the database I suspect that you have not connected to Postgres but are still running on H2.

regards,

Lars

Okay - did you try the Live download from dhis2.org from last night?

···

On Thu, Dec 5, 2013 at 11:56 AM, Paulo Grácio pgracio@criticalsoftware.com wrote:

Hi Lars,

I’m also facing a similar problem. The first time I start the service it starts ok and I’m able to authentication with default admin user. If I restart the service although I get a success message on log, trying to access the application I get

HTTP ERROR: 503

Problem accessing /. Reason:

SERVICE_UNAVAILABLE

Powered by Jetty://

Regards,

Paulo Grácio

From: Dhis2-users [mailto:dhis2-users-bounces+pgracio=criticalsoftware.com@lists.launchpad.net] On Behalf Of Lars Helge Øverland

Sent: quarta-feira, 4 de Dezembro de 2013 18:36
To: Aad van Geldermalsen
Cc: DHIS 2 Users list
Subject: Re: [Dhis2-users] using DHIS live with Demo database webserver doesn’t start

Hi Aad,

we have just made a fix to DHIS version 2.13 which solves an issue for starting up on Live. Could you please download the latest one from here and try again: http://www.dhis2.org/downloads

Re the database I suspect that you have not connected to Postgres but are still running on H2.

regards,

Lars

I did a merge to our branch a few minutes ago and create a new build. Going to try with your build from last night.

Regards,

Paulo Grácio

···

From: Lars Helge Øverland [mailto:larshelge@gmail.com]
Sent: quinta-feira, 5 de Dezembro de 2013 10:57
To: Paulo Grácio
Cc: Aad van Geldermalsen; DHIS 2 Users list
Subject: Re: [Dhis2-users] using DHIS live with Demo database webserver doesn’t start

Okay - did you try the Live download from dhis2.org from last night?

On Thu, Dec 5, 2013 at 11:56 AM, Paulo Grácio pgracio@criticalsoftware.com wrote:

Hi Lars,

I’m also facing a similar problem. The first time I start the service it starts ok and I’m able to authentication with default admin user. If I restart the service although I get a success message on log, trying to access the application I get

HTTP ERROR: 503

Problem accessing /. Reason:

SERVICE_UNAVAILABLE

Powered by Jetty://

Regards,

Paulo Grácio

From: Dhis2-users [mailto:dhis2-users-bounces+pgracio=criticalsoftware.com@lists.launchpad.net] On Behalf Of Lars Helge Øverland
Sent: quarta-feira, 4 de Dezembro de 2013 18:36
To: Aad van Geldermalsen
Cc: DHIS 2 Users list
Subject: Re: [Dhis2-users] using DHIS live with Demo database webserver doesn’t start

Hi Aad,

we have just made a fix to DHIS version 2.13 which solves an issue for starting up on Live. Could you please download the latest one from here and try again: http://www.dhis2.org/downloads

Re the database I suspect that you have not connected to Postgres but are still running on H2.

regards,

Lars

With yours is working fine… I have missed something during the merge or build process … L

···

From: Dhis2-users [mailto:dhis2-users-bounces+pgracio=criticalsoftware.com@lists.launchpad.net] On Behalf Of Paulo Grácio
Sent: quinta-feira, 5 de Dezembro de 2013 11:00
To: ‘Lars Helge Øverland’
Cc: ‘DHIS 2 Users list’
Subject: Re: [Dhis2-users] using DHIS live with Demo database webserver doesn’t start

I did a merge to our branch a few minutes ago and create a new build. Going to try with your build from last night.

Regards,

Paulo Grácio

From: Lars Helge Øverland [mailto:larshelge@gmail.com]
Sent: quinta-feira, 5 de Dezembro de 2013 10:57
To: Paulo Grácio
Cc: Aad van Geldermalsen; DHIS 2 Users list
Subject: Re: [Dhis2-users] using DHIS live with Demo database webserver doesn’t start

Okay - did you try the Live download from dhis2.org from last night?

On Thu, Dec 5, 2013 at 11:56 AM, Paulo Grácio pgracio@criticalsoftware.com wrote:

Hi Lars,

I’m also facing a similar problem. The first time I start the service it starts ok and I’m able to authentication with default admin user. If I restart the service although I get a success message on log, trying to access the application I get

HTTP ERROR: 503

Problem accessing /. Reason:

SERVICE_UNAVAILABLE

Powered by Jetty://

Regards,

Paulo Grácio

From: Dhis2-users [mailto:dhis2-users-bounces+pgracio=criticalsoftware.com@lists.launchpad.net] On Behalf Of Lars Helge Øverland
Sent: quarta-feira, 4 de Dezembro de 2013 18:36
To: Aad van Geldermalsen
Cc: DHIS 2 Users list
Subject: Re: [Dhis2-users] using DHIS live with Demo database webserver doesn’t start

Hi Aad,

we have just made a fix to DHIS version 2.13 which solves an issue for starting up on Live. Could you please download the latest one from here and try again: http://www.dhis2.org/downloads

Re the database I suspect that you have not connected to Postgres but are still running on H2.

regards,

Lars

Good.

···

On Thu, Dec 5, 2013 at 12:20 PM, Paulo Grácio pgracio@criticalsoftware.com wrote:

With yours is working fine… I have missed something during the merge or build process … L

From: Dhis2-users [mailto:dhis2-users-bounces+pgracio=criticalsoftware.com@lists.launchpad.net] On Behalf Of Paulo Grácio

Sent: quinta-feira, 5 de Dezembro de 2013 11:00
To: ‘Lars Helge Øverland’

Cc: ‘DHIS 2 Users list’
Subject: Re: [Dhis2-users] using DHIS live with Demo database webserver doesn’t start

I did a merge to our branch a few minutes ago and create a new build. Going to try with your build from last night.

Regards,

Paulo Grácio

From: Lars Helge Øverland [mailto:larshelge@gmail.com]

Sent: quinta-feira, 5 de Dezembro de 2013 10:57
To: Paulo Grácio
Cc: Aad van Geldermalsen; DHIS 2 Users list
Subject: Re: [Dhis2-users] using DHIS live with Demo database webserver doesn’t start

Okay - did you try the Live download from dhis2.org from last night?

On Thu, Dec 5, 2013 at 11:56 AM, Paulo Grácio pgracio@criticalsoftware.com wrote:

Hi Lars,

I’m also facing a similar problem. The first time I start the service it starts ok and I’m able to authentication with default admin user. If I restart the service although I get a success message on log, trying to access the application I get

HTTP ERROR: 503

Problem accessing /. Reason:

SERVICE_UNAVAILABLE

Powered by Jetty://

Regards,

Paulo Grácio

From: Dhis2-users [mailto:dhis2-users-bounces+pgracio=criticalsoftware.com@lists.launchpad.net] On Behalf Of Lars Helge Øverland

Sent: quarta-feira, 4 de Dezembro de 2013 18:36
To: Aad van Geldermalsen
Cc: DHIS 2 Users list
Subject: Re: [Dhis2-users] using DHIS live with Demo database webserver doesn’t start

Hi Aad,

we have just made a fix to DHIS version 2.13 which solves an issue for starting up on Live. Could you please download the latest one from here and try again: http://www.dhis2.org/downloads

Re the database I suspect that you have not connected to Postgres but are still running on H2.

regards,

Lars

Is there a maven target to generate the .zip file with all the dhis2-live
bundle?

Do you remember the changes you did so I can check if I have merged the code
correctly?

The problem to me is that I can’t use your version because of the import
problem

https://bugs.launchpad.net/dhis2/+bug/1246220

Regards,

Paulo

···

From: Lars Helge Øverland [mailto:larshelge@gmail.com]
Sent: quinta-feira, 5 de Dezembro de 2013 11:23
To: Paulo Grácio
Cc: DHIS 2 Users list
Subject: Re: [Dhis2-users] using DHIS live with Demo database webserver
doesn't start

Good.

On Thu, Dec 5, 2013 at 12:20 PM, Paulo Grácio <pgracio@criticalsoftware.com> wrote:

With yours is working fine
I have missed something during the merge or
build process
L

From: Dhis2-users [mailto:dhis2-users-bounces+pgracio
<mailto:dhis2-users-bounces%2Bpgracio>
=criticalsoftware.com@lists.launchpad.net] On Behalf Of Paulo Grácio
Sent: quinta-feira, 5 de Dezembro de 2013 11:00
To: 'Lars Helge Øverland'

Hi Paulo,

no sorry no maven goal for Live yet.

To verify the WAR you can check the build number under Help > About > Build revision inside dhis.

The fix was done in trunk in rev 13145:

http://bazaar.launchpad.net/~dhis2-devs-core/dhis2/trunk/revision/13145

and in 2.13 in rev 12908:

http://bazaar.launchpad.net/~dhis2-devs-core/dhis2/2.13/revision/12908

cheers

Lars

···

On Thu, Dec 5, 2013 at 12:33 PM, Paulo Grácio pgracio@criticalsoftware.com wrote:

Is there a maven target to generate the .zip file with all the dhis2-live bundle?

Do you remember the changes you did so I can check if I have merged the code correctly?

The problem to me is that I can’t use your version because of the import problem

https://bugs.launchpad.net/dhis2/+bug/1246220

Regards,

Paulo

From: Lars Helge Øverland [mailto:larshelge@gmail.com]

Sent: quinta-feira, 5 de Dezembro de 2013 11:23
To: Paulo Grácio

Cc: DHIS 2 Users list
Subject: Re: [Dhis2-users] using DHIS live with Demo database webserver doesn’t start

Good.

On Thu, Dec 5, 2013 at 12:20 PM, Paulo Grácio pgracio@criticalsoftware.com wrote:

With yours is working fine… I have missed something during the merge or build process … L

From: Dhis2-users [mailto:dhis2-users-bounces+pgracio=criticalsoftware.com@lists.launchpad.net] On Behalf Of Paulo Grácio

Sent: quinta-feira, 5 de Dezembro de 2013 11:00
To: ‘Lars Helge Øverland’

Cc: ‘DHIS 2 Users list’
Subject: Re: [Dhis2-users] using DHIS live with Demo database webserver doesn’t start

I did a merge to our branch a few minutes ago and create a new build. Going to try with your build from last night.

Regards,

Paulo Grácio

From: Lars Helge Øverland [mailto:larshelge@gmail.com]

Sent: quinta-feira, 5 de Dezembro de 2013 10:57
To: Paulo Grácio
Cc: Aad van Geldermalsen; DHIS 2 Users list
Subject: Re: [Dhis2-users] using DHIS live with Demo database webserver doesn’t start

Okay - did you try the Live download from dhis2.org from last night?

On Thu, Dec 5, 2013 at 11:56 AM, Paulo Grácio pgracio@criticalsoftware.com wrote:

Hi Lars,

I’m also facing a similar problem. The first time I start the service it starts ok and I’m able to authentication with default admin user. If I restart the service although I get a success message on log, trying to access the application I get

HTTP ERROR: 503

Problem accessing /. Reason:

SERVICE_UNAVAILABLE

Powered by Jetty://

Regards,

Paulo Grácio

From: Dhis2-users [mailto:dhis2-users-bounces+pgracio=criticalsoftware.com@lists.launchpad.net] On Behalf Of Lars Helge Øverland

Sent: quarta-feira, 4 de Dezembro de 2013 18:36
To: Aad van Geldermalsen
Cc: DHIS 2 Users list
Subject: Re: [Dhis2-users] using DHIS live with Demo database webserver doesn’t start

Hi Aad,

we have just made a fix to DHIS version 2.13 which solves an issue for starting up on Live. Could you please download the latest one from here and try again: http://www.dhis2.org/downloads

Re the database I suspect that you have not connected to Postgres but are still running on H2.

regards,

Lars