dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #13549
Re: Multiple DHIS2 instances on Windows
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 desktop.
I think there are lots of tips on the web regarding running tomcat as
a service. Also HISP India has some previous experience in running
many tomcat's on a single windows server for different states. Maybe
Bharath or John might chip in how they have set up the service.
Assuming that is, that they ran tomcat as a windows service. Possibly
they logged in and manually started and stopped them.
I always find it interesting when looking at the merits of windows vs
linux servers that the argument is usually given that windows is more
familiar and the hurdle to move to linux is too great. But when one
scrapes the surface it seems that windows server skills are actually
very scarce. People think they understand windows server because it
looks just like windows. But you'll actually find much more
knowledgeable support in our community for setting up a
dhis+tomcat+postgres+ubuntu. Just my two cents :-)
Re displaying different text on hover, its not a bad idea, but not one
that anyone is likely to prioritize immediately. Maybe create a
blueprint so the idea is not lost. From a zero-configuration
perspective there is not much to go on mind you. We have the options
of server port, database name or dhis home directory to distinguish
between them, but using something mangled from those would at least
provide something. A more nicely named instance would require an
additional config parameter or a small dialog on startup.
Cheers
Bob
On 19 August 2011 11:06, Knut Staring <knutst@xxxxxxxxx> wrote:
> On Thu, Aug 18, 2011 at 2:59 PM, Bob Jolliffe <bobjolliffe@xxxxxxxxx> wrote:
>>
>> On 18 August 2011 13:56, Knut Staring <knutst@xxxxxxxxx> wrote:
>> > On 8/18/11, Knut Staring <knutst@xxxxxxxxx> 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/Run-a-program-automatically-when-Windows-starts
>>
>> Are talking about startup or logging in?
>
> Good point - that method does require the manual step of going to the
> machine and logging in.
>
> Ideally, we would create our own three services that start automagically on
> boot. Found the following link, but have not tried it yet:
> http://support.microsoft.com/kb/251192
> Knut
>>
>> >
>> > Knut
>> >
>
>
>
> --
> Cheers,
> Knut Staring
>
Follow ups
References