[
http://mifosforge.jira.com/browse/MIFOS-4369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=68989#comment-68989
]
Michael Vorburger commented on MIFOS-4369:
------------------------------------------
I am wondering if we couldn't keep task.xml as-is, with support for loading it
externally as it's now, just removing the bean id="dataSource" from there and
have that in a global Spring Config (which we'd make Hibernate use as well) and
when loading the task.xml and creating the Spring context "hook it up" with the
main application Spring context - somehow?
> Batch Job creates a different spring context and dataSource : Remove support
> for old task.xml format
> ----------------------------------------------------------------------------------------------------
>
> Key: MIFOS-4369
> URL: http://mifosforge.jira.com/browse/MIFOS-4369
> Project: mifos
> Issue Type: Improvement
> Components: Batch jobs
> Reporter: Udai Gupta
> Assignee: mifosdeveloperqueue
> Priority: Major
> Fix For: Unscheduled
>
> Attachments: Spring-based-Mifos-Schedular.patch
>
>
> Quartz/Spring batch implementation of Mios Batch jobs creates a separate
> spring context, resulting in creation of a separate database connection
> pooling.
> see org.mifos.framework.components.batchjobs.MifosScheduler.initialize()
> The reason to create a separate spring context seems like requirement of
> "ability to pick external task.xml".
> We can either remove "picking up external task.xml" and use only one spring
> application context (one connection pooling only).
> OR
> We can start using JavaConfig to be able to pick *Context.xml dynamically.
> http://www.springsource.org/javaconfig
> I prefer the later one because it give us the ability to have custom spring
> configuration files at MIFOS_CONF localtion outside the application.see
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide. Store less, Store more with what you own, Move data to
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues