[ 
http://mifosforge.jira.com/browse/MIFOS-4921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adam Monsen resolved MIFOS-4921.
--------------------------------

    Resolution: Won't Fix

Sure, maybe that's the way to go. :)

I'm resolving this issue Won't Fix for now. The only quick win I could think of 
was to make Mifos fail faster if there is some problem with the database 
connection.

On head/master, Mifos fails fairly fast: 30 seconds on my laptop. I'll attach a 
WIP patch that provides a way for Mifos to fail in somewhere around 5 seconds 
by making the db connection test the very first thing that happens (for the 
mifos app) on app server startup. See tryDatabaseFirst.patch.

It's better, but it's not a big enough win for me to introduce the change (and 
possibly break something else in doing so).

> assist user with Mifos database connection
> ------------------------------------------
>
>                 Key: MIFOS-4921
>                 URL: http://mifosforge.jira.com/browse/MIFOS-4921
>             Project: mifos
>          Issue Type: Improvement
>            Reporter: Adam Monsen
>            Assignee: Adam Monsen
>            Priority: Major
>         Attachments: tryDatabaseFirst.patch
>
>
> h2. Do what?
> * Confirm that the Mifos database connection works before starting up Mifos.
> * If not,
> ** prompt the user to change the db connection settings
> ** test those settings (try to connect again)
> ** fix or create a local.properties file (or at least display what should go 
> into MIFOS_CONF/local.properties) 
> h2. Rationale
> I see this as a blocker for many, many folks. All of us have run into this at 
> some time or other. Mifos assumes a database is present, and crashes horribly 
> if it is not.
> Since Mifos has no real installer, there's nothing to help the user quickly 
> and effectively connect Mifos to a database.
> h2. Other ideas
> These should probably be separate issues:
> * Remove the existing DatabaseInitFilter.
> * Also provide assistance for database connections for BIRT reports and Mifos 
> BI (Pentaho).
> * This "assistance" with configuring the Mifos database connection must 
> happen before Mifos proper starts up. When working on this, keep in mind that 
> we may want to do other things during this time, like [show progress on 
> database upgrades|MIFOS-2742].
> h2. See also
> * http://thread.gmane.org/gmane.comp.finance.mifos.devel/11422

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to