[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 1764: (GIS) Changed the output order to title - indicator - period in exported image.

2010-04-10 Thread noreply
revno: 1764 committer: Jan Henrik Overland janhenrik.overl...@gmail.com branch nick: trunk timestamp: Sat 2010-04-10 14:08:02 +0200 message: (GIS) Changed the output order to title - indicator - period in exported image. modified:

[Dhis2-devs] Multiple connections to H2

2010-04-10 Thread Knut Staring
I am unable to connect to the H2 database through the H2 console while DHIS2 is running, despite AUTO_SERVER being indicated in hibernate.properties (default for DHIS Live). From the following message, it seems that perhaps we need to set System.setProperty(h2.bindAddress, ...) before loading

Re: [Dhis2-devs] Multiple connections to H2

2010-04-10 Thread Lars Helge Øverland
I have had the same problem. Why don't you test it, you can set props from the command line when starting live.. 2010/4/10, Knut Staring knu...@gmail.com: I am unable to connect to the H2 database through the H2 console while DHIS2 is running, despite AUTO_SERVER being indicated in

Re: [Dhis2-devs] Multiple connections to H2

2010-04-10 Thread Bob Jolliffe
I've also had this problem but I doubt if the bindaddress has anything to do with it. By default the server socket will be bound to INADDR_ANY. (This is the same as the tomcat security issue I referred to some time back). Will investigate ... Bob 2010/4/10 Lars Helge Øverland

[Dhis2-devs] [Bug 560080] [NEW] Report table exports all produce Excel

2010-04-10 Thread Knut Staring
Public bug reported: The CSV and HTML exports used to work fine, but with revision 1742 both buttons produce Excel output instead of what they should produce. ** Affects: dhis2 Importance: Low Status: New ** Changed in: dhis2 Milestone: None = 2.0.5 ** Changed in: dhis2

Re: [Dhis2-devs] [Dhis2-users] Changing DBs

2010-04-10 Thread Knut Staring
Hi Roger, It does certainly sound like a problem with your hibernate.properties. Are you perchance running Postgres on a nonstandard port (not 5432)? If you have a Postgres user called dhis with password dhis running on port 5433 on your local machine, the following should be correct:

Re: [Dhis2-devs] [Dhis2-users] Changing DBs

2010-04-10 Thread Knut Staring
You could also try changing the owner of the database (easy to do in PgAdmin III) to the dhis user. On Sat, Apr 10, 2010 at 5:32 PM, Knut Staring knu...@gmail.com wrote: Hi Roger, It does certainly sound like a problem with your hibernate.properties. Are you perchance running Postgres on a

Re: [Dhis2-devs] any presentation material about DHIS2?

2010-04-10 Thread Knut Staring
Pics also on hispindia.org, including Stallman, but not really field: http://hispindia.org/index.php?option=com_contentview=articleid=71Itemid=60 k 2010/4/9 Lars Helge Øverland larshe...@gmail.com On Fri, Apr 9, 2010 at 6:06 PM, Bob Jolliffe bobjolli...@gmail.comwrote: Hi All Similar

[Dhis2-devs] Slitaz and Midori

2010-04-10 Thread Knut Staring
The ultra-lightweight Slitaz Linux distro is an interesting alternative for bootable USB sticks. I got DHIS Live up and running quickly: tazpkg recharge tazpkg get-install java6-jre And it comes with an easy utility to create a new Live CD/USB which includes java and DHIS. Understandably, with

Re: [Dhis2-devs] Multiple connections to H2

2010-04-10 Thread Bob Jolliffe
2010/4/10 Bob Jolliffe bobjolli...@gmail.com: I've also had this problem but I doubt if the bindaddress has anything to do with it.  By default the server socket will be bound to INADDR_ANY.  (This is the same as the tomcat security issue I referred to some time back).  Will investigate ...

Re: [Dhis2-devs] Multiple connections to H2

2010-04-10 Thread Knut Staring
Almost...maybe it is subtly different on Windows? If I start the H2 console first like below, I can then proceed to also start DHIS Live, and I see changes I make in DHIS show up in the console: jdbc:h2:tcp://localhost/V:/dhis/dhis2-live/database/kenya7;AUTO_SERVER=TRUE However, if I start DHIS2

Re: [Dhis2-devs] Multiple connections to H2

2010-04-10 Thread Knut Staring
Ok, it works now - the trick was to use the same URL also in hibernate.properties, i.e. jdbc:h2:tcp://localhost/V:/dhis/dhis2-live/database/kenya7;AUTO_SERVER=TRUE On Sat, Apr 10, 2010 at 11:23 PM, Knut Staring knu...@gmail.com wrote: Almost...maybe it is subtly different on Windows? If I

Re: [Dhis2-devs] Multiple connections to H2

2010-04-10 Thread Bob Jolliffe
On 10 April 2010 22:26, Knut Staring knu...@gmail.com wrote: Ok, it works now - the trick was to use the same URL also in hibernate.properties, i.e. jdbc:h2:tcp://localhost/V:/dhis/dhis2-live/database/kenya7;AUTO_SERVER=TRUE No that's not the trick!! In hibernate properties you want:

Re: [Dhis2-devs] Multiple connections to H2

2010-04-10 Thread Knut Staring
Well, if I start DHIS Live with the following URL in hibernate.properites jdbc:h2:tcp://localhost/V:/dhis/dhis2-live/database/kenya7;AUTO_SERVER=TRUE I am then able to connect from H2 console with: jdbc:h2:tcp://localhost/V:/dhis/dhis2-live/database/kenya7 This at least works for my needs - do

Re: [Dhis2-devs] Multiple connections to H2

2010-04-10 Thread Bob Jolliffe
On 10 April 2010 22:41, Knut Staring knu...@gmail.com wrote: Well, if I start DHIS Live with the following URL in hibernate.properites jdbc:h2:tcp://localhost/V:/dhis/dhis2-live/database/kenya7;AUTO_SERVER=TRUE I am then able to connect from H2 console with: