Release update

Hi,

the work on the 2.0.5 release is progressing nicely and we aim at releasing a Beta version at July 10. The overview can be found here as usual:

https://blueprints.launchpad.net/dhis2/+milestone/2.0.5

Urging everyone to roll up your sleeves to make this happen :slight_smile:

Re testing we will utilize the newly hired testing engineer in India + the Vietnamese team + all the eager volunteers out there.

regards, Lars

Folks –

As you may have heard, Ghana Health Service is enthusiastic about installing DHIS2. On Thursday and Friday I got to meet with their implementation team and tried to set them up with a working version of DHIS2 with which to practice. The setup instructions are attached.

Although I got the data into the DB (it can be seen using ODBC with the username/password), DHIS2 does not seem to see it, I can’t even get a list of hierarchy levels. Unfortunately, I neglected to get the tomcat log, but will do that right away.

Any help you could give me with resolving this would be great.

Thanks, Roger

Setup Instructions.rtf (8.19 KB)

Good to move to DHIS2. And WELCOME!!

I do not understand, do you have data in a DB (not in DHIS2 format) and you want to move that data to a DHIS2 format?

And DHIS does not use ODBC. You must set the connection on:

hibernate.properties

On your instructions file step 2 has the file
hibernate.properties.mysql or

hibernate.properties.postgreschoose one (according if you use MySQL or PostgreSQL) and rename it to
hibernate.properties and edit it.

Good Luck!
Caveman

···

On Mon, Jul 12, 2010 at 2:04 AM, Friedman, Roger (CDC/OID/NCHHSTP) (CTR) rdf4@cdc.gov wrote:

Folks –

As you may have heard, Ghana Health Service is enthusiastic about installing DHIS2. On Thursday and Friday I got to meet with their implementation team and tried to set them up with a working version of DHIS2 with which to practice. The setup instructions are attached.

Although I got the data into the DB (it can be seen using ODBC with the username/password), DHIS2 does not seem to see it, I can’t even get a list of hierarchy levels. Unfortunately, I neglected to get the tomcat log, but will do that right away.

Any help you could give me with resolving this would be great.

Thanks, Roger


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

Hi Roger,

It is excellent news, f am confident you will have full support
(though people are less available July).

Thank you for the description of steps, will go through in more
detail. Just wanted to quickly say that in my experience, I have often
had to restart Windows after setting the environment variable for
DHIS/Tomcat to "see" it. There are ways to deal with this, one of
which is using the nice BitRock installer that Jason has been working
on. Given the number of steps in your installation guide, I would
recommend using an installer JRE, web server and database engine, and
loads the Ghana database. Such an installer is used for example in
India.

In addition to the Tomcat log, please go to Help -> About DHIS 2 and
check which database you are connecting to?

Knut

···

On Mon, Jul 12, 2010 at 2:04 AM, Friedman, Roger (CDC/OID/NCHHSTP) (CTR) <rdf4@cdc.gov> wrote:

Folks --
As you may haHve heard, Ghana Health Service is enthusiastic about
installing DHIS2. On Thursday and Friday I got to meet with their
implementation team and tried to set them up with a working version of DHIS2
with which to practice. The setup instructions are attached.
Although I got the data into the DB (it can be seen using ODBC with the
username/password), DHIS2 does not seem to see it, I can't even get a list
of hierarchy levels. Unfortunately, I neglected to get the tomcat log, but
will do that right away.
Any help you could give me with resolving this would be great.
Thanks, Roger

--
Cheers,
Knut Staring

One more quick comment - your step 5 is currently redundant, as we do
not rely on Geoserver for the GIS module. It is quite likely we will
make (optional) use of Geoserver to load certain formats in the
future, but right now it is not being used, in fact we are rather
putting administrative boundaries directly in the orgunit table or in
separate GeoJSON files.

Knut

···

Hi Roger,

It is excellent news, f am confident you will have full support
(though people are less available July).

Thank you for the description of steps, will go through in more
detail. Just wanted to quickly say that in my experience, I have often
had to restart Windows after setting the environment variable for
DHIS/Tomcat to "see" it. There are ways to deal with this, one of
which is using the nice BitRock installer that Jason has been working
on. Given the number of steps in your installation guide, I would
recommend using an installer JRE, web server and database engine, and
loads the Ghana database. Such an installer is used for example in
India.

In addition to the Tomcat log, please go to Help -> About DHIS 2 and
check which database you are connecting to?

Knut

On Mon, Jul 12, 2010 at 2:04 AM, Friedman, Roger (CDC/OID/NCHHSTP) > (CTR) <rdf4@cdc.gov> wrote:

Folks --
As you may haHve heard, Ghana Health Service is enthusiastic about
installing DHIS2. On Thursday and Friday I got to meet with their
implementation team and tried to set them up with a working version of DHIS2
with which to practice. The setup instructions are attached.
Although I got the data into the DB (it can be seen using ODBC with the
username/password), DHIS2 does not seem to see it, I can't even get a list
of hierarchy levels. Unfortunately, I neglected to get the tomcat log, but
will do that right away.
Any help you could give me with resolving this would be great.
Thanks, Roger

--
Cheers,
Knut Staring

--
Cheers,
Knut Staring

Hi Roger,

I am not 100% sure why you would need both Postgres and MySQL? Is this
only for the benefit of the implementation team?
I would recommend that a decision be made which one to use, and stick
with either Postgres or MySQL. I myself would recommend Postgres, but
there are others out there that would beg to differ likely. :slight_smile:

As Knut has mentioned, I have put together an installer for a couple
of different scenarios using the BitRock Installer platform. All of
the code is in trunk along with instructions how to build the
installers yourself. If you need an installer and do not want to make
it yourself, I could probably help. I am also working on a completely
portable USB version of DHIS2, which uses an embedded JRE,
FirefoxPortable, and the embedded HSQL db. Initial results seem to be
good, but it needs more testing. There has been some requests for a
Postgresql installer, but I am not convinced (yet) that it is worth
the effort to have a single installer. Installing postgres can be
tricky, and requires admin privileges. So for now, I have left out
this part in the installer, although it could be (and was done a few
years back with another installer) done. If there are some other
installer scenario that you might need, let us know.

I would carefully read all of the documentation when it comes to
setting up a new system. Have you generated all of the resource
tables? Have you provided names to the organizational unit levels?
This may explain why you cannot see them. DHIS2 is not very good at
warning you about all of this stuff. :slight_smile:

Regards,
Jason

···

On Mon, Jul 12, 2010 at 7:02 AM, Knut Staring <knutst@gmail.com> wrote:

Hi Roger,

It is excellent news, f am confident you will have full support
(though people are less available July).

Thank you for the description of steps, will go through in more
detail. Just wanted to quickly say that in my experience, I have often
had to restart Windows after setting the environment variable for
DHIS/Tomcat to "see" it. There are ways to deal with this, one of
which is using the nice BitRock installer that Jason has been working
on. Given the number of steps in your installation guide, I would
recommend using an installer JRE, web server and database engine, and
loads the Ghana database. Such an installer is used for example in
India.

In addition to the Tomcat log, please go to Help -> About DHIS 2 and
check which database you are connecting to?

Knut

On Mon, Jul 12, 2010 at 2:04 AM, Friedman, Roger (CDC/OID/NCHHSTP) > (CTR) <rdf4@cdc.gov> wrote:

Folks --
As you may haHve heard, Ghana Health Service is enthusiastic about
installing DHIS2. On Thursday and Friday I got to meet with their
implementation team and tried to set them up with a working version of DHIS2
with which to practice. The setup instructions are attached.
Although I got the data into the DB (it can be seen using ODBC with the
username/password), DHIS2 does not seem to see it, I can't even get a list
of hierarchy levels. Unfortunately, I neglected to get the tomcat log, but
will do that right away.
Any help you could give me with resolving this would be great.
Thanks, Roger

--
Cheers,
Knut Staring

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help

--
--
Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+260968395190

Hi Roger,
In addition to what Knut and Roger said, I think you should also make sure your hibernate.properties file is ok and dhis2 is able to connect to your db.
It is often easy to make such errors.
Maybe the log will tell us more.
Regards

Edem

···

On 12/07/2010 07:08, Jason Pickering wrote:

Hi Roger,

I am not 100% sure why you would need both Postgres and MySQL? Is this
only for the benefit of the implementation team?
I would recommend that a decision be made which one to use, and stick
with either Postgres or MySQL. I myself would recommend Postgres, but
there are others out there that would beg to differ likely. :slight_smile:

As Knut has mentioned, I have put together an installer for a couple
of different scenarios using the BitRock Installer platform. All of
the code is in trunk along with instructions how to build the
installers yourself. If you need an installer and do not want to make
it yourself, I could probably help. I am also working on a completely
portable USB version of DHIS2, which uses an embedded JRE,
FirefoxPortable, and the embedded HSQL db. Initial results seem to be
good, but it needs more testing. There has been some requests for a
Postgresql installer, but I am not convinced (yet) that it is worth
the effort to have a single installer. Installing postgres can be
tricky, and requires admin privileges. So for now, I have left out
this part in the installer, although it could be (and was done a few
years back with another installer) done. If there are some other
installer scenario that you might need, let us know.

I would carefully read all of the documentation when it comes to
setting up a new system. Have you generated all of the resource
tables? Have you provided names to the organizational unit levels?
This may explain why you cannot see them. DHIS2 is not very good at
warning you about all of this stuff. :slight_smile:

Regards,
Jason

On Mon, Jul 12, 2010 at 7:02 AM, Knut Staring<knutst@gmail.com> wrote:
   

Hi Roger,

It is excellent news, f am confident you will have full support
(though people are less available July).

Thank you for the description of steps, will go through in more
detail. Just wanted to quickly say that in my experience, I have often
had to restart Windows after setting the environment variable for
DHIS/Tomcat to "see" it. There are ways to deal with this, one of
which is using the nice BitRock installer that Jason has been working
on. Given the number of steps in your installation guide, I would
recommend using an installer JRE, web server and database engine, and
loads the Ghana database. Such an installer is used for example in
India.

In addition to the Tomcat log, please go to Help -> About DHIS 2 and
check which database you are connecting to?

Knut

On Mon, Jul 12, 2010 at 2:04 AM, Friedman, Roger (CDC/OID/NCHHSTP) >> (CTR)<rdf4@cdc.gov> wrote:
     

Folks --
     As you may haHve heard, Ghana Health Service is enthusiastic about
installing DHIS2. On Thursday and Friday I got to meet with their
implementation team and tried to set them up with a working version of DHIS2
with which to practice. The setup instructions are attached.
     Although I got the data into the DB (it can be seen using ODBC with the
username/password), DHIS2 does not seem to see it, I can't even get a list
of hierarchy levels. Unfortunately, I neglected to get the tomcat log, but
will do that right away.
     Any help you could give me with resolving this would be great.
Thanks, Roger

--
Cheers,
Knut Staring

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

--
Dr Edem K. Kossi
Phone: +228 9923003
        +47 99252519
Email: ekossi@gmail.com
        edemkk@ifi.uio.no
Skype: mylacas

Hi Roger

Folks --
As you may have heard, Ghana Health Service is enthusiastic about
installing DHIS2. On Thursday and Friday I got to meet with their
implementation team and tried to set them up with a working version of DHIS2
with which to practice. The setup instructions are attached.
Although I got the data into the DB (it can be seen using ODBC with the
username/password), DHIS2 does not seem to see it, I can't even get a list
of hierarchy levels. Unfortunately, I neglected to get the tomcat log, but
will do that right away.
Any help you could give me with resolving this would be great.

As others have pointed out, a view of the tomcat log should give some
indication of what is going on.

If it is just a working implementation you are looking for so that
people can practice on their laptops then by far the easiest
deployment option is to use the dhis2-live setup which is available on
dhis2.org website. It is designed so that you just need to unzip and
go. Because it uses an embedded web and database server there is no
tomcat/mysql/postgres setup to be done. It is also relatively easy to
reconfigure this running setup to use a 'real' database like mysql or
postgres.

If you are looking at more of a production setup then you need to make
some longer term decisions regarding platform stack. I would
recommend that the national setup which is likely to be most robust
(and link you with many others on a similar stack) is to run with
tomcat+postgres+ubuntu linux server. There are places also running
mysql on a windows 2003 platform (notably India) but I would not
really recommend it.

Clearly these sort of decisions will also depend on the hosting
environment, available support skills etc. and would be something
which might need to be planned with the IT support department (such
that it might be). Dorothy Gordon, Edem Kossi and others would be
able to link you up with good ubuntu server support skills if
necessary. But production deployment is probably still a few steps
away from where you are currently. As I say, I would suggest you try
to get dhis2-live to run first - then phase 2 would be to customize
the hibernate.properties to link it to a postgres database.

Regards
Bob

···

On 12 July 2010 01:04, Friedman, Roger (CDC/OID/NCHHSTP) (CTR) <rdf4@cdc.gov> wrote:

Thanks, Roger

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

I want to thank all of you for your quick responses. In Ghana, everybody has Monday morning meetings and I haven’t been able to get in touch with them yet.

The reason for having both databases is that I have been working in MySQL to get actual Ghana data into the system, while Eden’s Sierra Leone data with more complete outputs is in Postgres. This is also one reason for not using the simple setup, along with the fact that they are going to have to understand Tomcat for their operational implementation. This is something new for people like the Ghanaians who are coming from the Microsoft client-server environment.

Hope to see you all in Accra in September!!

From:
dhis2-users-bounces+rdf4=cdc.gov@lists.launchpad.net [mailto:dhis2-users-bounces+rdf4=cdc.gov@lists.launchpad.net] On Behalf Of Friedman, Roger (CDC/OID/NCHHSTP) (CTR)

···

Sent: Sunday, July 11, 2010 8:05 PM

To: Lars Helge Øverland; DHIS 2 developers; dhis2-users@lists.launchpad.net; Knut Staring; Edem Kossi; olatitle@gmail.com

Subject: [Dhis2-users] DHIS2 setup problem

Folks –

As you may have heard, Ghana Health Service is enthusiastic about installing DHIS2. On Thursday and Friday I got to meet with their implementation team and tried to set them up with a working version of DHIS2 with which to practice. The setup instructions are attached.

Although I got the data into the DB (it can be seen using ODBC with the username/password), DHIS2 does not seem to see it, I can’t even get a list of hierarchy levels. Unfortunately, I neglected to get the tomcat log, but will do that right away.

Any help you could give me with resolving this would be great.

Thanks, Roger

OK, I have gotten one machine’s tomcat logs. The critical error message is

  • INFO 10:31:26,302 Environment variable DHIS2_HOME not set (DefaultLocationManager.java [Thread-1])

However, DHIS2_HOME is set, properly, to C:\DHIS2

So is there a problem with the JVM on Windows Vista? Is there a Windows security setting prohibiting access to the system? Any ideas?

Thanks, Roger

···

On Mon, Jul 12, 2010 at 2:04 AM, Friedman, Roger (CDC/OID/NCHHSTP) (CTR) rdf4@cdc.gov wrote:

Folks –

As you may have heard, Ghana Health Service is enthusiastic about installing DHIS2. On Thursday and Friday I got to meet with their implementation team and tried to set them up with a working version of DHIS2 with which to practice. The setup instructions are attached.

Although I got the data into the DB (it can be seen using ODBC with the username/password), DHIS2 does not seem to see it, I can’t even get a list of hierarchy levels. Unfortunately, I neglected to get the tomcat log, but will do that right away.

Any help you could give me with resolving this would be great.

Thanks, Roger


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

I am guessing, only…

May be tomcat is running with a another username.

So set DHIS2_HOME as a system variable. You must be logged as the administrator (NOT AN administrator must be THE administrator).

You might try to place the on begging of startup.sh (on $CATALINA_HOME/bin) on the first lines this:
set DHIS2_HOME=c:\DHIS2

Good luck
Caveman

···

On Wed, Jul 14, 2010 at 4:24 PM, Friedman, Roger (CDC/CGH/DGHA) (CTR) rdf4@cdc.gov wrote:

OK, I have gotten one machine’s tomcat logs. The critical error message is

  • INFO 10:31:26,302 Environment variable DHIS2_HOME not set (DefaultLocationManager.java [Thread-1])

However, DHIS2_HOME is set, properly, to C:\DHIS2

So is there a problem with the JVM on Windows Vista? Is there a Windows security setting prohibiting access to the system? Any ideas?

Thanks, Roger

On Mon, Jul 12, 2010 at 2:04 AM, Friedman, Roger (CDC/OID/NCHHSTP) (CTR) rdf4@cdc.gov wrote:

Folks –

As you may have heard, Ghana Health Service is enthusiastic about installing DHIS2. On Thursday and Friday I got to meet with their implementation team and tried to set them up with a working version of DHIS2 with which to practice. The setup instructions are attached.

Although I got the data into the DB (it can be seen using ODBC with the username/password), DHIS2 does not seem to see it, I can’t even get a list of hierarchy levels. Unfortunately, I neglected to get the tomcat log, but will do that right away.

Any help you could give me with resolving this would be great.

Thanks, Roger


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-devs

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

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

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

Hi Roger,

That looks like the familiar problem where Tomcat/DHIS2 does not
recognize the new environment variable immediately. A surefire way to
deal with this is to reboot Windows. However there are also some batch
commands/scripts that can be run, IIRC, but don't have them available
right now.

Knut

···

On Wed, Jul 14, 2010 at 4:24 PM, Friedman, Roger (CDC/CGH/DGHA) (CTR) <rdf4@cdc.gov> wrote:

OK, I have gotten one machine's tomcat logs. The critical error message is

* INFO 10:31:26,302 Environment variable DHIS2_HOME not set
(DefaultLocationManager.java [Thread-1])

However, DHIS2_HOME is set, properly, to C:\DHIS2

So is there a problem with the JVM on Windows Vista? Is there a Windows
security setting prohibiting access to the system? Any ideas?

Thanks, Roger

On Mon, Jul 12, 2010 at 2:04 AM, Friedman, Roger (CDC/OID/NCHHSTP) (CTR) > <rdf4@cdc.gov> wrote:

Folks --

As you may have heard, Ghana Health Service is enthusiastic about

installing DHIS2. On Thursday and Friday I got to meet with their
implementation team and tried to set them up with a working version of DHIS2
with which to practice. The setup instructions are attached.

Although I got the data into the DB \(it can be seen using ODBC with the

username/password), DHIS2 does not seem to see it, I can't even get a list
of hierarchy levels. Unfortunately, I neglected to get the tomcat log, but
will do that right away.

Any help you could give me with resolving this would be great\.

Thanks, Roger

_______________________________________________
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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp

--
Cheers,
Knut Staring

Thanks, Knut, but the machine was rebooted at least twice after the environment variable was set and still failed. In addition there were several restarts of Tomcat. As I understand it, the environment is passed in when a new process is spawned so a Tomcat bounce should be enough.

···

-----Original Message-----
From: Knut Staring [mailto:knutst@gmail.com]
Sent: Wednesday, July 14, 2010 11:55 AM
To: Friedman, Roger (CDC/CGH/DGHA) (CTR)
Cc: dhis2-users@lists.launchpad.net; DHIS 2 developers
Subject: Re: [Dhis2-devs] [Dhis2-users] DHIS2 setup problem

Hi Roger,

That looks like the familiar problem where Tomcat/DHIS2 does not
recognize the new environment variable immediately. A surefire way to
deal with this is to reboot Windows. However there are also some batch
commands/scripts that can be run, IIRC, but don't have them available
right now.

Knut

On Wed, Jul 14, 2010 at 4:24 PM, Friedman, Roger (CDC/CGH/DGHA) (CTR) <rdf4@cdc.gov> wrote:

OK, I have gotten one machine's tomcat logs. The critical error message is

* INFO 10:31:26,302 Environment variable DHIS2_HOME not set
(DefaultLocationManager.java [Thread-1])

However, DHIS2_HOME is set, properly, to C:\DHIS2

So is there a problem with the JVM on Windows Vista? Is there a Windows
security setting prohibiting access to the system? Any ideas?

Thanks, Roger

On Mon, Jul 12, 2010 at 2:04 AM, Friedman, Roger (CDC/OID/NCHHSTP) (CTR) > <rdf4@cdc.gov> wrote:

Folks --

As you may have heard, Ghana Health Service is enthusiastic about

installing DHIS2. On Thursday and Friday I got to meet with their
implementation team and tried to set them up with a working version of DHIS2
with which to practice. The setup instructions are attached.

Although I got the data into the DB \(it can be seen using ODBC with the

username/password), DHIS2 does not seem to see it, I can't even get a list
of hierarchy levels. Unfortunately, I neglected to get the tomcat log, but
will do that right away.

Any help you could give me with resolving this would be great\.

Thanks, Roger

_______________________________________________
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-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp

--
Cheers,
Knut Staring

Sorry if I insist…
Have set the environment as system variable and as the user administrator?

After the reboot check if it is being defined by opening de command prompt and run the command
set

Caveman

···

On Wed, Jul 14, 2010 at 7:18 PM, Friedman, Roger (CDC/CGH/DGHA) (CTR) rdf4@cdc.gov wrote:

Thanks, Knut, but the machine was rebooted at least twice after the environment variable was set and still failed. In addition there were several restarts of Tomcat. As I understand it, the environment is passed in when a new process is spawned so a Tomcat bounce should be enough.

-----Original Message-----

From: Knut Staring [mailto:knutst@gmail.com]

Sent: Wednesday, July 14, 2010 11:55 AM

To: Friedman, Roger (CDC/CGH/DGHA) (CTR)

Cc: dhis2-users@lists.launchpad.net; DHIS 2 developers

Subject: Re: [Dhis2-devs] [Dhis2-users] DHIS2 setup problem

Hi Roger,

That looks like the familiar problem where Tomcat/DHIS2 does not

recognize the new environment variable immediately. A surefire way to

deal with this is to reboot Windows. However there are also some batch

commands/scripts that can be run, IIRC, but don’t have them available

right now.

Knut

On Wed, Jul 14, 2010 at 4:24 PM, Friedman, Roger (CDC/CGH/DGHA) (CTR) > > rdf4@cdc.gov wrote:

OK, I have gotten one machine’s tomcat logs. The critical error message is

  • INFO 10:31:26,302 Environment variable DHIS2_HOME not set

(DefaultLocationManager.java [Thread-1])

However, DHIS2_HOME is set, properly, to C:\DHIS2

So is there a problem with the JVM on Windows Vista? Is there a Windows

security setting prohibiting access to the system? Any ideas?

Thanks, Roger

On Mon, Jul 12, 2010 at 2:04 AM, Friedman, Roger (CDC/OID/NCHHSTP) (CTR) > > > rdf4@cdc.gov wrote:

Folks –

As you may have heard, Ghana Health Service is enthusiastic about

installing DHIS2. On Thursday and Friday I got to meet with their

implementation team and tried to set them up with a working version of DHIS2

with which to practice. The setup instructions are attached.

Although I got the data into the DB (it can be seen using ODBC with the

username/password), DHIS2 does not seem to see it, I can’t even get a list

of hierarchy levels. Unfortunately, I neglected to get the tomcat log, but

will do that right away.

Any help you could give me with resolving this would be great.

Thanks, Roger


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-devs

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

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

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

Cheers,

Knut Staring


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

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

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

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

Hello Roger,

Was there any resolution to the issue of the DHIS2_HOME environment
variable not being found? Does typing "echo %DHIS2_HOME%" in a command
prompt display the real value? If so, Java/Tomcat must be using a
different user?

It is not strictly necessary to have the environment variable, since
the hibernate.properties can be found through other methods, but it is
preferable, as it is also being used for some other things, e.g.
locating report templates.

Knut

···

On Wed, Jul 14, 2010 at 7:33 PM, Orvalho Augusto <orvaquim@gmail.com> wrote:

Sorry if I insist...
Have set the environment as system variable and as the user administrator?

After the reboot check if it is being defined by opening de command prompt
and run the command
set

Caveman

On Wed, Jul 14, 2010 at 7:18 PM, Friedman, Roger (CDC/CGH/DGHA) (CTR) > <rdf4@cdc.gov> wrote:

Thanks, Knut, but the machine was rebooted at least twice after the
environment variable was set and still failed. In addition there were
several restarts of Tomcat. As I understand it, the environment is passed
in when a new process is spawned so a Tomcat bounce should be enough.

-----Original Message-----
From: Knut Staring [mailto:knutst@gmail.com]
Sent: Wednesday, July 14, 2010 11:55 AM
To: Friedman, Roger (CDC/CGH/DGHA) (CTR)
Cc: dhis2-users@lists.launchpad.net; DHIS 2 developers
Subject: Re: [Dhis2-devs] [Dhis2-users] DHIS2 setup problem

Hi Roger,

That looks like the familiar problem where Tomcat/DHIS2 does not
recognize the new environment variable immediately. A surefire way to
deal with this is to reboot Windows. However there are also some batch
commands/scripts that can be run, IIRC, but don't have them available
right now.

Knut

On Wed, Jul 14, 2010 at 4:24 PM, Friedman, Roger (CDC/CGH/DGHA) (CTR) >> <rdf4@cdc.gov> wrote:
> OK, I have gotten one machine's tomcat logs. The critical error message
> is
>
> * INFO 10:31:26,302 Environment variable DHIS2_HOME not set
> (DefaultLocationManager.java [Thread-1])
>
> However, DHIS2_HOME is set, properly, to C:\DHIS2
>
> So is there a problem with the JVM on Windows Vista? Is there a Windows
> security setting prohibiting access to the system? Any ideas?
>
> Thanks, Roger
>
> On Mon, Jul 12, 2010 at 2:04 AM, Friedman, Roger (CDC/OID/NCHHSTP) (CTR) >> > <rdf4@cdc.gov> wrote:
>
> Folks --
>
> As you may have heard, Ghana Health Service is enthusiastic about
> installing DHIS2. On Thursday and Friday I got to meet with their
> implementation team and tried to set them up with a working version of
> DHIS2
> with which to practice. The setup instructions are attached.
>
> Although I got the data into the DB (it can be seen using ODBC with
> the
> username/password), DHIS2 does not seem to see it, I can't even get a
> list
> of hierarchy levels. Unfortunately, I neglected to get the tomcat log,
> but
> will do that right away.
>
> Any help you could give me with resolving this would be great.
>
> Thanks, Roger
>
>
>
> _______________________________________________
> 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-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help : https://help.launchpad.net/ListHelp
>
>

--
Cheers,
Knut Staring

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

--
Cheers,
Knut Staring