Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-10-24 Thread Orvalho Augusto
Thanks I followed Jason solution in Nigeria editing dhis-support-external-**.jar It works. Caveman On Mon, Oct 24, 2011 at 10:02 AM, Orvalho Augusto wrote: > I am disoriented with this. So I have tried to set dhis2.home on web.xml > and the second war continues to use the DHIS2_HOME. > > Setti

Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-10-24 Thread Orvalho Augusto
I am disoriented with this. So I have tried to set dhis2.home on web.xml and the second war continues to use the DHIS2_HOME. Setting tomcat to listen different ports means to waist machine resources that I do not have and the second instance will be used for tests. What is the recommendation now?

Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-19 Thread Bob Jolliffe
On 19 August 2011 11:40, Knut Staring wrote: > Thanks for all the input - it has been very useful. I have come to realize > that this current setup should be considered temporary (until the end of the > year) and thinking&resources should probably now rather be dedicated towards > setting up two n

Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-19 Thread Muhire Andrew
Dear Knut, if you think linux is good to be used in our server why do we have to limit ourselves since most of us are ICT people(me and my team), i think we have to use any operating system and it becomes our assignment to adapt ourselves since we are the key players. U wl give us the basic

Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-19 Thread Knut Staring
Thanks for all the input - it has been very useful. I have come to realize that this current setup should be considered temporary (until the end of the year) and thinking&resources should probably now rather be dedicated towards setting up two national production machines by the end of the year (on

Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-19 Thread Bob Jolliffe
dhis-live is not really designed to be run as a service and I wouldn't really recommend trying. Given that it has a user interaction element in the toolbar etc. Running as a service is sort of the opposite of its defining use case which is to have a minimally configured clickable app to run on a

Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-19 Thread Knut Staring
On Thu, Aug 18, 2011 at 2:59 PM, Bob Jolliffe wrote: > On 18 August 2011 13:56, Knut Staring wrote: > > On 8/18/11, Knut Staring wrote: > >> As Ola pointed out, the remaining and important issue is the automated > >> startup after a power cut. > > > > In fact, this is really easy, just place sh

Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-19 Thread Knut Staring
On Fri, Aug 19, 2011 at 11:01 AM, Ola Hodne Titlestad wrote: > > On 18 August 2011 11:18, Knut Staring wrote: > >> Hello all, >> >> It has been a while since I last ran multiple DHIS2 instances (each with >> its own database) on the same Windows server. Not sure if we have reached a >> consensus

Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-19 Thread Ola Hodne Titlestad
On 18 August 2011 11:18, Knut Staring wrote: > Hello all, > > It has been a while since I last ran multiple DHIS2 instances (each with > its own database) on the same Windows server. Not sure if we have reached a > consensus as to best practice on this (I actually think the best practice > would

Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-19 Thread Knut Staring
So now I'm running three instances of DHIS2 Live on different ports and can stop and start each one individually. My new problem now is how to distinguish between them: 1) Most importantly, I would like to see a different hover text for each DHIS Live icon (I now have three identical ones) 2) Se

Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-18 Thread Bob Jolliffe
On 18 August 2011 13:56, Knut Staring wrote: > On 8/18/11, Knut Staring wrote: >> As Ola pointed out, the remaining and important issue is the automated >> startup after a power cut. > > In fact, this is really easy, just place shortcuts to the two > dhis2-live.exe files in the Windows Startup fo

Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-18 Thread Knut Staring
On 8/18/11, Knut Staring wrote: > As Ola pointed out, the remaining and important issue is the automated > startup after a power cut. In fact, this is really easy, just place shortcuts to the two dhis2-live.exe files in the Windows Startup folder: http://windows.microsoft.com/en-US/windows-vista/

Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-18 Thread Bob Jolliffe
devs > Sent: Thursday, August 18, 2011 7:47 AM > Subject: Re: [Dhis2-devs] Multiple DHIS2 instances on Windows > > Thanks guys, running multiple instances of DHIS2 Live is definitely the > easiest to set up and teach. In fact, I think there may be quite few > instances where Tomcat is nee

Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-18 Thread Ime Asangansi
deploy. So, I'm unable to set the env variables. Thanks Ime From: Knut Staring To: Bob Jolliffe Cc: dhis2-devs Sent: Thursday, August 18, 2011 7:47 AM Subject: Re: [Dhis2-devs] Multiple DHIS2 instances on Windows Thanks guys, running multiple instan

Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-18 Thread Knut Staring
Thanks guys, running multiple instances of DHIS2 Live is definitely the easiest to set up and teach. In fact, I think there may be quite few instances where Tomcat is needed on Windows. And I don't even think I need to worry about dhis2.home - since everything is confined to the folder where dhis2-

Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-18 Thread Bob Jolliffe
On 18 August 2011 10:29, Jason Pickering wrote: > In Nigeria, we have two completely separate instance of Tomcat with > two environment variables > > DHIS2_HOME="/var/lib/tomcat6/conf/dhis2_conf" > > DHIS2_HOME_NG="/var/lib/tomcat6/conf/dhis2_conf_ng" > > The reason for the separate instances was

Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-18 Thread Ola Hodne Titlestad
On 18 August 2011 11:29, Jason Pickering wrote: > In Nigeria, we have two completely separate instance of Tomcat with > two environment variables > > > > DHIS2_HOME="/var/lib/tomcat6/conf/dhis2_conf" > > DHIS2_HOME_NG="/var/lib/tomcat6/conf/dhis2_conf_ng" > > > If you are able to set DHIS2_HOME as

Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-18 Thread Jason Pickering
In Nigeria, we have two completely separate instance of Tomcat with two environment variables DHIS2_HOME="/var/lib/tomcat6/conf/dhis2_conf" DHIS2_HOME_NG="/var/lib/tomcat6/conf/dhis2_conf_ng" The reason for the separate instances was really just to be able to allocate more CPU resources to a