Cannot load DHIS2 live in the browser

Dear all,
Am trying to configure dhis2 live locally on my ubuntu machine.
I have installed postgres, apache tomcat and alos dhis2-live (the war file). As I try to reload http://localhost:8080/ it loads "It works" showing some documentation on apache tomcat.

When I check the logs in tomcat (cataline.out) I get
/usr/share/tomcat7/bin/catalina.sh: 1: eval: /usr/lib/jvm/java-7-openjdk/bin/java: not found
/usr/share/tomcat7/bin/catalina.sh: 1: eval: /usr/lib/jvm/java-7-openjdk/bin/java: not found

What could I have done wrong? Please help.

Thanks

Did you install Java first?

···

On Jun 30, 2015 10:28 AM, bridgetmagoba@mifumi.org wrote:

Dear all,

Am trying to configure dhis2 live locally on my ubuntu machine.

I have installed postgres, apache tomcat and alos dhis2-live (the war file). As I try to reload http://localhost:8080/ it loads “It works” showing some documentation on apache tomcat.

When I check the logs in tomcat (cataline.out) I get

/usr/share/tomcat7/bin/catalina.sh: 1: eval: /usr/lib/jvm/java-7-openjdk/bin/java: not found

/usr/share/tomcat7/bin/catalina.sh: 1: eval: /usr/lib/jvm/java-7-openjdk/bin/java: not found

What could I have done wrong? Please help.

Thanks


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

Yes I did.

···

On 2015-06-30 12:17, Knut Staring wrote:

Did you install Java first?
On Jun 30, 2015 10:28 AM, <bridgetmagoba@mifumi.org> wrote:

Dear all,
Am trying to configure dhis2 live locally on my ubuntu machine.
I have installed postgres, apache tomcat and alos dhis2-live (the
war file). As I try to reload http://localhost:8080/ [1] it loads
"It works" showing some documentation on apache tomcat.

When I check the logs in tomcat (cataline.out) I get
/usr/share/tomcat7/bin/catalina.sh: 1: eval:
/usr/lib/jvm/java-7-openjdk/bin/java: not found
/usr/share/tomcat7/bin/catalina.sh: 1: eval:
/usr/lib/jvm/java-7-openjdk/bin/java: not found

What could I have done wrong? Please help.

Thanks

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users [2]
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users [2]
More help : ListHelp - Launchpad Help [3]

Links:
------
[1] http://localhost:8080/
[2] https://launchpad.net/~dhis2-users
[3] ListHelp - Launchpad Help

You should use what Bob mentioned in his reply to Joao:

ecause there are so many variations on this theme I try to encourage folk to follow the process described in https://www.dhis2.org/doc/snapshot/en/implementer/html/ch20.html

The install.sh script in mentioned in that documentation (which somehow doesn’t appear) is available at https://github.com/dhis2/dhis2-tools.

···

On Jun 30, 2015 11:19 AM, bridgetmagoba@mifumi.org wrote:

On 2015-06-30 12:17, Knut Staring wrote:

Did you install Java first?

On Jun 30, 2015 10:28 AM, bridgetmagoba@mifumi.org wrote:

Dear all,

Am trying to configure dhis2 live locally on my ubuntu machine.

I have installed postgres, apache tomcat and alos dhis2-live (the

war file). As I try to reload http://localhost:8080/ [1] it loads

“It works” showing some documentation on apache tomcat.

When I check the logs in tomcat (cataline.out) I get

/usr/share/tomcat7/bin/catalina.sh: 1: eval:

/usr/lib/jvm/java-7-openjdk/bin/java: not found

/usr/share/tomcat7/bin/catalina.sh: 1: eval:

/usr/lib/jvm/java-7-openjdk/bin/java: not found

What could I have done wrong? Please help.

Thanks


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

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

Unsubscribe : https://launchpad.net/~dhis2-users [2]

More help : https://help.launchpad.net/ListHelp [3]

Links:


[1] http://localhost:8080/

[2] https://launchpad.net/~dhis2-users

[3] https://help.launchpad.net/ListHelp
Yes I did.

java must be installed as she is seeing the tomcat default page.
Bridget i don't understand the "dhis2-live" thing. What you should
have downloaded is just the war file and installed that on tomcat.

···

On 30 June 2015 at 10:19, <bridgetmagoba@mifumi.org> wrote:

On 2015-06-30 12:17, Knut Staring wrote:

Did you install Java first?
On Jun 30, 2015 10:28 AM, <bridgetmagoba@mifumi.org> wrote:

Dear all,
Am trying to configure dhis2 live locally on my ubuntu machine.
I have installed postgres, apache tomcat and alos dhis2-live (the
war file). As I try to reload http://localhost:8080/ [1] it loads
"It works" showing some documentation on apache tomcat.

When I check the logs in tomcat (cataline.out) I get
/usr/share/tomcat7/bin/catalina.sh: 1: eval:
/usr/lib/jvm/java-7-openjdk/bin/java: not found
/usr/share/tomcat7/bin/catalina.sh: 1: eval:
/usr/lib/jvm/java-7-openjdk/bin/java: not found

What could I have done wrong? Please help.

Thanks

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users [2]
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users [2]
More help : ListHelp - Launchpad Help [3]

Links:
------
[1] http://localhost:8080/
[2] https://launchpad.net/~dhis2-users
[3] ListHelp - Launchpad Help

Yes I did.

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : ListHelp - Launchpad Help

Hi Bridget,

We may have confused you with talk about both DHIS2 Live, Tomcat and Bob’s script.

Since you have java installed, you should be able to just start dhis live from a terminal window like this:

java -jar dhis2-live.jar

Knut

···

On Tue, Jun 30, 2015 at 10:28 AM, bridgetmagoba@mifumi.org wrote:

Dear all,

Am trying to configure dhis2 live locally on my ubuntu machine.

I have installed postgres, apache tomcat and alos dhis2-live (the war file). As I try to reload http://localhost:8080/ it loads “It works” showing some documentation on apache tomcat.

When I check the logs in tomcat (cataline.out) I get

/usr/share/tomcat7/bin/catalina.sh: 1: eval: /usr/lib/jvm/java-7-openjdk/bin/java: not found

/usr/share/tomcat7/bin/catalina.sh: 1: eval: /usr/lib/jvm/java-7-openjdk/bin/java: not found

What could I have done wrong? Please help.

Thanks


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

Norway: +4791880522

Skype: knutstar

http://dhis2.org