Re: [Dhis2-devs] DHIS2 Live / Jetty v.3 / CORS

2017-12-20 Thread Freeman, Chase
er...@gmail.com>; dhis2-devs@lists.launchpad.net Subject: Re: [Dhis2-devs] DHIS2 Live / Jetty v.3 / CORS Ok, so are you successful or not? :) Adding in frontend team just in case.. -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Tue, Dec 19, 2017 at 10:44

Re: [Dhis2-devs] DHIS2 Live / Jetty v.3 / CORS

2017-12-20 Thread Morten Olav Hansen
s unaware of this! > > > > Chase > > > > *From:* Jason Pickering [mailto:jason.p.picker...@gmail.com] > *Sent:* Tuesday, December 19, 2017 12:43 AM > *To:* Morten Olav Hansen <mor...@dhis2.org> > *Cc:* Freeman, Chase <chase.free...@msi-inc.com>; > dhis2-dev

Re: [Dhis2-devs] DHIS2 Live / Jetty v.3 / CORS

2017-12-19 Thread Freeman, Chase
To: Freeman, Chase <chase.free...@msi-inc.com> Cc: dhis2-devs@lists.launchpad.net Subject: Re: [Dhis2-devs] DHIS2 Live / Jetty v.3 / CORS Hi Chase It should be possible to add localhost to the CORS whitelist in settings (I'm pretty sure the entire frontend team is doing exactly that). What a

Re: [Dhis2-devs] DHIS2 Live / Jetty v.3 / CORS

2017-12-19 Thread Freeman, Chase
: Re: [Dhis2-devs] DHIS2 Live / Jetty v.3 / CORS Hi Chase, We have an alternative Docker project here<https://github.com/pgracio/dhis2-docker> as well with pre-built images on Dockhub<https://hub.docker.com/r/dhis2/dhis2-web/> as well which you also may want to check out. Regards

Re: [Dhis2-devs] DHIS2 Live / Jetty v.3 / CORS

2017-12-18 Thread Jason Pickering
Hi Chase, We have an alternative Docker project here as well with pre-built images on Dockhub as well which you also may want to check out. Regards, Jason On Tue, Dec 19, 2017 at 6:12 AM, Morten Olav Hansen

Re: [Dhis2-devs] DHIS2 Live / Jetty v.3 / CORS

2017-12-18 Thread Morten Olav Hansen
Hi Chase It should be possible to add localhost to the CORS whitelist in settings (I'm pretty sure the entire frontend team is doing exactly that). What are you adding to it? I think you need the full protocol host and port, so something like http://localhost:8081 for example. Another solution

[Dhis2-devs] DHIS2 Live / Jetty v.3 / CORS

2017-12-18 Thread Freeman, Chase
Hi all, I'm getting started with using the D2 library and I had intended to use the DHIS2 Live package to quickly get started in a test environment. I've run into some crippling CORS errors and investigated the Jetty Servlet's web.xml file to see if I could allow for cross-origin requests.

Re: [Dhis2-devs] DHIS2 Live - problems generating resource tables

2017-01-04 Thread Knut Staring
Please raise it at https://jira.dhis2.org/ On Jan 4, 2017 2:31 PM, "David Siang Fong Oh" wrote: > Hi Knut, > > I've connected DHIS Live to Postgres and the issue seems to be resolved, > so the underlying problem must be related to the H2 database. Can you raise > an issue

Re: [Dhis2-devs] DHIS2 Live - problems generating resource tables

2017-01-04 Thread David Siang Fong Oh
Hi Knut, I've connected DHIS Live to Postgres and the issue seems to be resolved, so the underlying problem must be related to the H2 database. Can you raise an issue on JIRA? Or direct me to the site? Cheers, -doh On Fri, Dec 30, 2016 at 8:49 PM, Knut Staring wrote: > I

Re: [Dhis2-devs] DHIS2 Live - problems generating resource tables

2016-12-30 Thread Knut Staring
I think most likely the DHIS2 Live is not out of date, but there is an issue with the new version having an issue with the H2 database, as there is very little testing on that - very likely you are one of the first to try the operation you did on H2. I think it would be good if you could a) try to

[Dhis2-devs] DHIS2 Live - problems generating resource tables

2016-12-29 Thread David Siang Fong Oh
Hi team, We are encountering problems generating resource tables and analytics tables using the DHIS2 Live version downloadable at: https://www.dhis2.org/download/live/dhis2-live.zip Here is the errors that we see in the DHIS2 app: 2016-12-29 13:48:52 Process failed: StatementCallback; bad SQL

[Dhis2-devs] DHIS2 Live Database file - reg

2016-08-23 Thread Chandrasekar Ravi
Dear All, We are implemented DHIS2 tracker capture and data capture with DHIS2 Live. I need to open the database file (Dhis2 Live -> database -> dhis2.trace.db) . If i am using SQL lite to retrieve data it ask password to open. What password I need to give? Thanks & Regards *Chandrasekar Ravi*

[Dhis2-devs] DHIS2 live VS DHIS2 war file

2015-05-30 Thread channara rin
Hi all, could you explain when we use DHIS2 live and when use DHIS2 war file. and what is the problem from choose any one? thank you channara ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe :

Re: [Dhis2-devs] DHIS2 live VS DHIS2 war file

2015-05-30 Thread Knut Staring
Hi Channara, DHIS2 Live is just a slightly quicker way to run the SAME war file, without installing Tomcat. Live uses Jetty instead of Tomcat, and does not require you to create a DHIS2_HOME environment variable. Knut On Sat, May 30, 2015 at 10:46 AM, channara rin rin.chann...@gmail.com wrote:

Re: [Dhis2-devs] DHIS2 live VS DHIS2 war file

2015-05-30 Thread Jason Pickering
Well more importantly, DHIS2 live should only really be used for demonstration purposes and experimentation. It should never be used for a production system. On Sat, May 30, 2015, 12:25 Knut Staring knu...@gmail.com wrote: Hi Channara, DHIS2 Live is just a slightly quicker way to run the

Re: [Dhis2-devs] DHIS2 live VS DHIS2 war file

2015-05-30 Thread Bob Jolliffe
Agree with both Jason and Knut. There are certain parameters within dhis2 live that are hard-coded and thus restrict its ability to scale. It was designed initially to run as single-user desktop application where it was important to hide the messy details of configuring a web based application

Re: [Dhis2-devs] DHIS2 Live

2015-05-28 Thread Bob Jolliffe
As far as I recall you can't. The webapp is hardcoded to a url in the container. If you are planning to serve up dhis2 at a different url I can only guess you are planning to share the web application with others. In which case dhis live is probably not your best option anyway and you are best

Re: [Dhis2-devs] DHIS2 Live

2015-05-28 Thread channara rin
thank you On Thu, May 28, 2015 at 1:57 PM, Bob Jolliffe bobjolli...@gmail.com wrote: As far as I recall you can't. The webapp is hardcoded to a url in the container. If you are planning to serve up dhis2 at a different url I can only guess you are planning to share the web application with

[Dhis2-devs] DHIS2 Live

2015-05-27 Thread channara rin
Hi DHIS2 developers, If we use DHIS2 live, the URL address will be: localhost:8082. So how can we change like this: localhost:8082/dhis2? thank you channara ___ Mailing list: https://launchpad.net/~dhis2-devs Post to :

[Dhis2-devs] DHIS2 Live

2012-02-29 Thread Juma Lungo
Hi Jan I am facing a challenge of installing dhis2 in 40 windows computer, can i just use dhis2-live? will it be possible to handle data just as a normal dhis2 in PostgreSQL? Lungo___ Mailing list: https://launchpad.net/~dhis2-devs Post to :

Re: [Dhis2-devs] DHIS2 Live

2012-02-29 Thread Jan Henrik Øverland
Hi Juma, Postgres is more robust and thus recommended, but yes, it will work. Jan On Wed, Feb 29, 2012 at 12:51, Juma Lungo jlu...@yahoo.com wrote: Hi Jan I am facing a challenge of installing dhis2 in 40 windows computer, can i just use dhis2-live? will it be possible to handle data just

Re: [Dhis2-devs] DHIS2 Live

2012-02-29 Thread Bob Jolliffe
On 29 February 2012 11:51, Juma Lungo jlu...@yahoo.com wrote: Hi Jan I am facing a challenge of installing dhis2 in 40 windows computer, can i just use dhis2-live? will it be possible to handle data just as a normal dhis2 in PostgreSQL? What do you mean by installing on 40 windows computers?

Re: [Dhis2-devs] DHIS2 Live USB edition

2010-06-29 Thread Knut Staring
On Mon, Jun 28, 2010 at 8:30 PM, Jason Pickering jason.p.picker...@gmail.com wrote: Hi Knut, I have created an installer for DHIS2 which includes a JRE and embedded browser. Thanks to long Scandinavian days and fresh air, I was able to take this off my to do list for now.  I have uploaded it

Re: [Dhis2-devs] DHIS2 Live USB edition

2010-06-29 Thread Knut Staring
A few more comments: 1) For some reason, the installer hung at the end when I tried to install on a USB stick. I then installed on my harddrive and just copied the resulting folder to the USB stick (as we usually do for DHIS Live), and things worked fine. 2) We could consider Prism instead of FF

Re: [Dhis2-devs] DHIS2 Live USB edition

2010-06-29 Thread Knut Staring
For comparison, I've uploaded a plain 7z file (after removing the db and the 55 MB rollbackBackupDirectory) here: http://hispkerala.org/older_downloads/DHIS-2.0.4.7z It may be nice to have both the installer and the zipped file for different use cases? The zip file is convenient in that the

Re: [Dhis2-devs] DHIS2 Live USB edition

2010-06-29 Thread Jason Pickering
Thanks for testing. i will check out prism and the embdeed JRE. I am thinking that this may be a better strategy for deciding which browser to use. 1) Check for a DHIS2_BROWSER variable, which should be a path to a browser which has either been set by the user or been set during the installation

[Dhis2-devs] DHIS2 Live installer

2010-02-10 Thread Jason Pickering
Hi there, Knut, Bob, Lars and myself have been having a bit of a discussion on the side regarding an installer. I had an urgent need to have something yesterday, so I have taken the initiative to create yet another installer. I am aware of other versions out there, but perhaps a fresh start is not

Re: [Dhis2-devs] DHIS2 live installer

2010-02-10 Thread Bob Jolliffe
Hi Jason Thanks for the effort you have put into this. Basically you are correct - all the steps for putting the pieces together should be easily automated. Not being a maven guru, I have not taken this last important step. So I have used maven as far as building the jars. Doing the launch4j

Re: [Dhis2-devs] DHIS2 live installer

2010-02-10 Thread Jason Pickering
I am certainly no maven guru either, but am much more comfortable with XML,and since we are already using Maven, it seems to make sense, and perhaps it is really not too difficult, as seen here.. http://www.jroller.com/vschiavoni/entry/how_to_izpack_installer_with In the latest revision, done

Re: [Dhis2-devs] DHIS2 live installer

2010-02-10 Thread Jason Pickering
Oh, I forgot to add, I am going to try with a full postgres install, instead of H2. This is going to cause problems otherswise in the long run. Better to try and get it right the first time around. 2010/2/10 Jason Pickering jason.p.picker...@gmail.com: I am certainly no maven guru either, but am

Re: [Dhis2-devs] DHIS2 live installer

2010-02-10 Thread Jason Pickering
I have made some more changes to the installer, and it now seems to work pretty OK. Basically, you will need to populate some different directories with prerequisites. 1) Put everything you need for postgres in the postgres directory.This usually involves unzipping that installer on the Postgres

Re: [Dhis2-devs] DHIS2 live installer

2010-02-10 Thread Bob Jolliffe
On 10 February 2010 15:53, Jason Pickering jason.p.picker...@gmail.com wrote: I have made some more changes to the installer, and it now seems to work pretty OK. Basically, you will need to populate some different directories with prerequisites. 1) Put everything you need for postgres in

Re: [Dhis2-devs] DHIS2 live installer

2010-02-10 Thread Knut Staring
On Wed, Feb 10, 2010 at 5:45 PM, Bob Jolliffe bobjolli...@gmail.com wrote: On 10 February 2010 15:53, Jason Pickering jason.p.picker...@gmail.com wrote: I have made some more changes to the installer, and it now seems to work pretty OK. Basically, you will need to populate some

Re: [Dhis2-devs] DHIS2 live installer

2010-02-10 Thread Jason Pickering
Hmm, what do you mean I can't do it? Like it violates the license? Well, I did do it, and it worked, but I guess Sun's lawyers will be paying me a visit here in Lusaka. I packaged the EXE and triggered it during the installation, similar to the Postgres MSI. The same click-through installation

Re: [Dhis2-devs] DHIS2 live installer

2010-02-10 Thread Lars Helge Øverland
On Wed, Feb 10, 2010 at 5:52 PM, Jason Pickering jason.p.picker...@gmail.com wrote: Hmm, what do you mean I can't do it? Like it violates the license? Well, I did do it, and it worked, but I guess Sun's lawyers will be paying me a visit here in Lusaka. I packaged the EXE and triggered it

Re: [Dhis2-devs] DHIS2 live installer

2010-02-10 Thread Knut Staring
2010/2/10 Lars Helge Øverland larshe...@gmail.com On Wed, Feb 10, 2010 at 5:52 PM, Jason Pickering jason.p.picker...@gmail.com wrote: Hmm, what do you mean I can't do it? Like it violates the license? Well, I did do it, and it worked, but I guess Sun's lawyers will be paying me a visit

Re: [Dhis2-devs] DHIS2 live installer

2010-02-10 Thread Knut Staring
Here is a guy who seems to be saying the practice of just providing JRE unpackaged and bundled is ok. By far the easiest thing to do (not bothering the poor user with all these different interfaces - one for DHIS, one for Java, one for the database...): What I mean is creating a subfolder in the

Re: [Dhis2-devs] DHIS2 live installer

2010-02-10 Thread Bob Jolliffe
OK. maybe I'm wrong. I just assumed that to be the case because of how the licence dialog always popped up on linux installs. Thats why the openjdk was a such a good initiative. Anyway sun's lawyers are moot at the moment. Mostly staring looming redundancy in the face I imagine. Oracle's

Re: [Dhis2-devs] DHIS2 live installer

2010-02-10 Thread Jason Pickering
I reread the README.txt file, included with the distro. There is no problem as long as (a) you distribute the Software complete and unmodified and only bundled as part of your applets and applications (Programs) There is some other legal mumbo-jumbo there, but it seems to be essentially of