Re: [Dhis2-devs] Strange request from 127.0.0.1

2013-07-19 Thread Jason Pickering
Hi Saptarshi, In my case, Nginx is the forward facing reverse proxy. For security reasons, I do not want to Tomcat to use the public IP directly (which is static), so that is not an option for me. All requests in the access logs are from 127.0.0.1 (the reverse proxy). Of course I can see the clie

Re: [Dhis2-devs] Strange request from 127.0.0.1

2013-07-19 Thread Saptarshi Purkayastha
Hi Thanh, You might want to use the Stuck thread detection valuefor logging, if there is some threads that get stuck. And these might never complete their requests to return back to nginx. --- Regards, Saptars

Re: [Dhis2-devs] Strange request from 127.0.0.1

2013-07-19 Thread Saptarshi Purkayastha
Hi Jason, On 19 July 2013 22:26, Jason Pickering wrote: > > On a related note Bob, do you know how to get the "real IP" of the server > into the Tomcat logs? The header directive is necessary, but does not show > up in my Tomcat logs with the user's IP. I somehow think it is not possible > but

Re: [Dhis2-devs] Strange request from 127.0.0.1

2013-07-19 Thread Bob Jolliffe
Thanh whatt does "top" tell you? Most likely this is java going mental trying to do datamart with too little memory or something similar. If so, you might want to try running jstack to see what the threads are up to, but if you are totally burning out then its possible the jvm won't respond :-(

Re: [Dhis2-devs] Strange request from 127.0.0.1

2013-07-19 Thread Bob Jolliffe
Thinking about the nature of IP this is probably not possible ... the "real" server name from the request is certainly possible, but the destination IP (as used by the client) is not really recoverable - along the way it might well have been natted for example (or even load balanced), so the IP of

[Dhis2-devs] [Bug 1202962] Re: Only assigned datasets can visible in dataset report

2013-07-19 Thread Lars Helge Øverland
Its debatable whether this could be done, but this is intentional and not a bug. ** Changed in: dhis2 Status: New => Invalid -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1202962 Title:

[Dhis2-devs] DHIS 2 trainings in Durban, October 2013

2013-07-19 Thread Lars Helge Øverland
Hi, we are getting a number of inquiries from people who want DHIS 2 training, so forwarding this - Akros now offers training in Durban, South Africa, in October this year. See below for details. regards, Lars ** Stay after the conference and boost your DHIS2 skillsView this email in your bro

Re: [Dhis2-devs] Strange request from 127.0.0.1

2013-07-19 Thread Jason Pickering
I run the same type of setup on a number of production servers. Nginx/Apache are definitely not the problem, as their memory consumption compared to DHIS2 and the database, is negligible. I suspect it is a configuration issue of your server. On a related note Bob, do you know how to get the "real

Re: [Dhis2-devs] Routinely used comboboxes with unique options

2013-07-19 Thread Ngoc Thanh Nguyen
Yes, this definitely makes dhis2 become more user friendly like On Fri, Jul 19, 2013 at 8:05 PM, Knut Staring wrote: > Here is a proposal to improve usability by auto-selection when there is > only one option available. > https://blueprints.launchpad.net/dhis2/+spec/unique-options-as-default >

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11452: (PT) Rounding issue fixed.

2013-07-19 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 11452 [merge] committer: Jan Henrik Overland branch nick: dhis2 timestamp: Fri 2013-07-19 18:43:51 +0200 message: (PT) Rounding issue fixed. modified: dhis-2/dhis-web/

Re: [Dhis2-devs] Monthly completeness of weekly datasets

2013-07-19 Thread Olav Poppe
Hi, thanks for the info, that explains the behaviour. Olav 19. juli 2013 kl. 19:39 skrev Lars Helge Øverland : > Hi Olav, > > we simply use the start date of a week and see which month it falls within. > This applies to all period types. > > This has the consequence, which you point out, t

Re: [Dhis2-devs] Error when importing DHIS1.4 data file.

2013-07-19 Thread Lars Helge Øverland
Hi Farai, I think I have found and fixed the bug in trunk and 2.12 in r 11453. You can get it from dhis2.org/downloads in 30 min or build the source yourself. Let us know if this fixes your problem. Lars On Fri, Jul 19, 2013 at 3:57 PM, Farai Mutero wrote: > Current user:admin Version:2.13

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11453: 1.4 file import, fixed bug related to checking for routine data values out of range.

2013-07-19 Thread noreply
revno: 11453 committer: Lars Helge Øverland branch nick: dhis2 timestamp: Fri 2013-07-19 19:47:03 +0200 message: 1.4 file import, fixed bug related to checking for routine data values out of range. modified: dhis-2/dhis-services/dh

Re: [Dhis2-devs] Complete Fuctionality

2013-07-19 Thread Lars Helge Øverland
Docs here: http://www.dhis2.org/doc/snapshot/en/user/html/ch25s06.html On Fri, Jul 19, 2013 at 6:17 PM, Lars Helge Øverland wrote: > Hi Samuel, > > how is data sent to DHIS 2 ? If you are using the XML datavalue set then > it has two properties "dataSet" which takes the data set UID and a > "c

Re: [Dhis2-devs] Monthly completeness of weekly datasets

2013-07-19 Thread Lars Helge Øverland
Hi Olav, we simply use the start date of a week and see which month it falls within. This applies to all period types. This has the consequence, which you point out, that for a month you the system might include a week which is not currently finished, and hence cannot have any data, making the co

Re: [Dhis2-devs] Complete Fuctionality

2013-07-19 Thread Lars Helge Øverland
Hi Samuel, how is data sent to DHIS 2 ? If you are using the XML datavalue set then it has two properties "dataSet" which takes the data set UID and a "completeDate" which takes a date - by setting these the form will be marked as complete in DHIS. Lars On Fri, Jul 19, 2013 at 10:59 AM, Samuel

Re: [Dhis2-devs] Strange request from 127.0.0.1

2013-07-19 Thread Ngoc Thanh Nguyen
Thanks Bob. That's definitely the case. However, do you think this can affect the performance? In other words, will it cause server memory or cpu problem? Thanh On Fri, Jul 19, 2013 at 7:24 PM, Bob Jolliffe wrote: > I am sure you have a proxy (nginx or apache?) on the same machine. So the > u

Re: [Dhis2-devs] Error when importing DHIS1.4 data file.

2013-07-19 Thread Jason Pickering
Hi Faria, Have you resolved all data integrity violations on your 1.4 database? Regards, Jason On Fri, Jul 19, 2013 at 3:57 PM, Farai Mutero wrote: > Current user:admin Version:2.13-SNAPSHOT Build revision:11315 Build > date:2013-07-03 05:02 > > Hi All > > I'm importing a DHIS1.4 data file i

Re: [Dhis2-devs] Formulas and connections between DataElements and Indicators

2013-07-19 Thread Jason Pickering
Hi Jose, There are many ways to skin a cat, and as Knut says, creating an "App" is one way to possibly achieve this. I personally have no idea how to do this, but could imagine it would be possible in some way. Maybe Lars or the other devs can comment, but I am thinking the easiest way would be t

[Dhis2-devs] Error when importing DHIS1.4 data file.

2013-07-19 Thread Farai Mutero
Current user:admin Version:2.13-SNAPSHOT Build revision:11315 Build date:2013-07-03 05:02 Hi All I'm importing a DHIS1.4 data file into DHIS2 and I'm getting the following error in my log file. Any idea what might be causing the error. Please see my log file details below : * INFO 15:25:40,813

[Dhis2-devs] Routinely used comboboxes with unique options

2013-07-19 Thread Knut Staring
Here is a proposal to improve usability by auto-selection when there is only one option available. https://blueprints.launchpad.net/dhis2/+spec/unique-options-as-default -- Knut Staring Dept. of Informatics, University of Oslo +4791880522 http://dhis2.org __

[Dhis2-devs] [Bug 1201404] Re: Not exporting Data Set Section

2013-07-19 Thread Morten Olav Hansen
** Changed in: dhis2 Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1201404 Title: Not exporting Data Set Section Status in DHIS 2 - District Health Inf

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11451: fixed meta-data export bug, checked/not checked system worked, but value was wrong

2013-07-19 Thread noreply
revno: 11451 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2013-07-19 19:50:17 +0700 message: fixed meta-data export bug, checked/not checked system worked, but value was wrong modified: dhis-2/dhis-web/dhis-web-i

[Dhis2-devs] Monthly completeness of weekly datasets

2013-07-19 Thread Olav Poppe
Hi, I have a question regarding how the monthly completeness figures for weekly datasets are counted. Some users have complained that even in months where all weekly reports are complete, the monthly figure is 85%. What are the criteria for the week to fall within a month for the "target" and "

Re: [Dhis2-devs] Strange request from 127.0.0.1

2013-07-19 Thread Bob Jolliffe
I am sure you have a proxy (nginx or apache?) on the same machine. So the users access the proxy and the proxy accesses tomcat (which sees the request as a local one). You need to add a directive to your proxy to preserve the name of the requesting host. On nginx this is: see http://ashberlin.c

Re: [Dhis2-devs] Strange request from 127.0.0.1

2013-07-19 Thread jeromeshaguy
Hi Ngoc, no my server is not public Sent from my BlackBerry wireless device from MTN -Original Message- From: Ngoc Thanh Nguyen Date: Fri, 19 Jul 2013 18:36:20 To: jerome shaguy Cc: dhis2-devs Subject: Re: [Dhis2-devs] Strange request from 127.0.0.1 Hi Jerome, Is your server public? In

Re: [Dhis2-devs] Strange request from 127.0.0.1

2013-07-19 Thread Ngoc Thanh Nguyen
Hi Jerome, Is your server public? In my case, I am guessing that some bad guys have hacked into the system by exploiting some security holes of the system or probably dhis2 itself. Thanh On Fri, Jul 19, 2013 at 5:05 PM, jerome shaguy wrote: > Hi, > > I have also been experiencing the same prob

Re: [Dhis2-devs] Formulas and connections between DataElements and Indicators

2013-07-19 Thread Knut Staring
Hi Jose, Just a thought - hopefully the developers can chime in on whether this is a good (or terrible) idea: Since you have quite specific needs, I suppose you could build your own Javascript app (see the new App framework, chapter 27 in the manual) to make use of the WebAPI (chapter 25) and cre

Re: [Dhis2-devs] Formulas and connections between DataElements and Indicators

2013-07-19 Thread Jose Garcia Muñoz
Many thanks Jason, we plan to present the information to the users as dataelements associated to a period, Org. unit, and forms. So, we have different forms with a questionnaire and for each one we create also a dataelement, not editable for the users, to store the value of the indicator. This was

Re: [Dhis2-devs] Strange request from 127.0.0.1

2013-07-19 Thread jerome shaguy
Hi, I have also been experiencing the same problem with my tomcat as reported by Ngoc (but in my case it was only after I upgraded my war file to 2.12) I am seeing a lot of requests in the log even though I am on 127.0.0.1 and its constantly exceeding memory and completely halting simple processes

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11449: (PT, DV) Custom orgunit order issue fixed.

2013-07-19 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 11449 [merge] committer: Jan Henrik Overland branch nick: dhis2 timestamp: Fri 2013-07-19 11:16:56 +0200 message: (PT, DV) Custom orgunit order issue fixed. modified:

[Dhis2-devs] [Bug 1202686] Re: Pivot org unit ordering in favorite after load

2013-07-19 Thread Jan Henrik Øverland
Fixed in trunk and 2.12. ** Changed in: dhis2 Status: New => Fix Committed -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1202686 Title: Pivot org unit ordering in favorite after load St

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11450: added F_METADATA_EXPORT as sharing override

2013-07-19 Thread noreply
revno: 11450 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2013-07-19 16:29:54 +0700 message: added F_METADATA_EXPORT as sharing override modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/SharingUtils.jav

[Dhis2-devs] Strange request from 127.0.0.1

2013-07-19 Thread Ngoc Thanh Nguyen
In our server tomcat access log, there are lots of requests from 127.0.0.1 which is obviously local request. However, no one from our team actually working from the server so it must be automatic requests. This might be the reason for our server problems last several days as the system always resul

[Dhis2-devs] Complete Fuctionality

2013-07-19 Thread Samuel Cheburet
Dear all, I have some dataset which require auto complete. How to implement auto complete once data is push to DHIS dataset from another system (Data Interchange) Cheers -- *Mr.Samuel K. Cheburet (Bsc. HRIM,Dip. HRIT)* *Division of Health Information System, ** Afya House, Room LG 37* *PO.

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11448: (PT, DV) Integration fixes.

2013-07-19 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 11448 [merge] committer: Jan Henrik Overland branch nick: dhis2 timestamp: Fri 2013-07-19 10:39:09 +0200 message: (PT, DV) Integration fixes. modified: dhis-2/dhis-web

[Dhis2-devs] [Bug 1202962] [NEW] Only assigned datasets can visible in dataset report

2013-07-19 Thread Thuy Nguyen
Public bug reported: In the dataset report function under Report module, the user can see all datasets and can generate all reports of these datasets. Can we change it to list only datasets which assigned to that user (user role)? ** Affects: dhis2 Importance: Undecided Status: New