I love this as well... and from all the comments, the world likes it as well!!.. and is fast to swicth databases. Hoots to Bob!! I was going to make a patch last nite, but sadly I can't get live to work...
It says the dhis.war is not found at the webapps path?? Does it not need the DHIS2_HOME environment var to be already set... and do I need to remove that thing?? --- Regards, Saptarshi PURKAYASTHA Director R & D, HISP India Health Information Systems Programme My Tech Blog: http://sunnytalkstech.blogspot.com You Live by CHOICE, Not by CHANCE On 4 March 2010 15:47, Ola Hodne Titlestad <[email protected]> wrote: > > PS using Live for modifying hibernate.properties (and thus a low-key >> change-of-database as required in SA) and update war file are great ideas, >> lets start a new thread for these. >> > > Hi, > > I like this seemingly simple fix to a complex problem. While we could look > at more advanced solutions to switching databases runtime at a later stage I > think being able to switch between databases using a simple menu in the > DHIS2 live system tray will help a lot to system admins and implementers > that frequently need to switch databases on their laptops or desktops. If I > understand you correctly Lars you suggest that we through the live app UI > interaction allow the users to switch database, and in the background that > triggers 1) a jetty shutdown + 2) edit/replace hibernate.properties + 3) > jetty startup sequence? > > We could then with a bit more UI interaction through the live app allow the > users to register multiple databases and then provide a switch db menu that > lists all registered databases? > How long does it take to shut down and start up jetty? 1 min? It's not > perfect, but simplifies the life of the not-very-technical DHIS2 trainer > etc. that needs to work on multiple databases. > > Ola > ----- > > > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-devs > Post to : [email protected] > Unsubscribe : https://launchpad.net/~dhis2-devs > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

