Hi Kim,
I cannot seem to locate this file, where should it be.. Plus I get the
following error starting tomcat, is this related or can it be ignored.
INFO: Deploying web application archive mifos.war
- Could not create optional configuration!
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.jav
a:216)
at
org.apache.commons.digester.CallMethodRule.end(CallMethodRule.java:62
5)
at
org.apache.commons.configuration.ConfigurationFactory$CallOptionalMet
hodRule.end(ConfigurationFactory.java:877)
at org.apache.commons.digester.Rule.end(Rule.java:230)
at
org.apache.commons.digester.Digester.endElement(Digester.java:1130)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme
nt(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.
emptyElement(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanStartElement(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l$FragmentContentDriver.next(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(U
nknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown So
urce)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Un
known Source)
at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1666)
at
org.apache.commons.configuration.ConfigurationFactory.getConfiguratio
n(ConfigurationFactory.java:184)
at
org.mifos.config.ConfigurationManager.<init>(ConfigurationManager.jav
a:73)
at
org.mifos.config.ConfigurationManager.<clinit>(ConfigurationManager.j
ava:56)
at org.mifos.config.ConfigLocale.load(ConfigLocale.java:70)
at org.mifos.config.ConfigLocale.<init>(ConfigLocale.java:19)
at org.mifos.config.Localization.<init>(Localization.java:25)
at org.mifos.config.Localization.<clinit>(Localization.java:54)
at
org.mifos.framework.components.logger.MifosLogManager.getMFILocale(Mi
fosLogManager.java:187)
at
org.mifos.framework.components.logger.MifosLogManager.getResourceBund
le(MifosLogManager.java:163)
at
org.mifos.framework.components.logger.MifosLogManager.configure(Mifos
LogManager.java:66)
at
org.mifos.framework.ApplicationInitializer.initializeLogger(Applicati
onInitializer.java:142)
at
org.mifos.framework.ApplicationInitializer.init(ApplicationInitialize
r.java:54)
at
org.mifos.framework.ApplicationInitializer.contextInitialized(Applica
tionInitializer.java:48)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3637)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4
073)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:759)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
9)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:800)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:695
)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472
)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1106)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:310)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:119)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1019)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1011)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:440
)
at
org.apache.catalina.core.StandardService.start(StandardService.java:4
50)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:683
)
at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Caused by: org.apache.commons.configuration.ConfigurationException: Cannot
locat
e configuration source applicationConfiguration.custom.properties
at
org.apache.commons.configuration.AbstractFileConfiguration.load(Abstr
actFileConfiguration.java:213)
at
org.apache.commons.configuration.AbstractFileConfiguration.load(Abstr
actFileConfiguration.java:193)
... 58 more
- Hibernate 3.0rc1
> -----Original Message-----
> From: Kimloan Ho [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 28, 2007 6:06 AM
> To: Developer; [EMAIL PROTECTED]
> Subject: SPAM-LOW: Re: [Mifos-developer] Rounding Rules Questions
>
> Hi Soham,
> I've talked to Van and we would like you to try these
> config:
>
> AccountingRules.RoundingRule=CEILING
> AccountingRules.DigitsAfterDecimal=0
> AccountingRules.AmountToBeRoundedTo=1
>
>
> You can copy these to the
> applicationConfiguration.default.properties. Please let us
> know if this is what you want. If not please give us the
> numbers you use and how it's different from what you expect.
> Thank you.
>
> kim
>
>
> --- Soham Dhakal <[EMAIL PROTECTED]> wrote:
>
> > Hi All,
> >
> > Background : I am implementing the funcitonality for Equal
> Principal
> > Payments
> >
> <http://www.mifos.org/developers/wiki/DecliningBalanceInterest
> CalculationWit
> > hEqualPrincipalInstallment>
> >
> > I implemented code to divide the Principal into equal installments,
> > and calculate interest. However there is a function in
> > LoanBO->applyRounding
> > which is adding some amount to the principal. For e.g. I had 15,000
> > pricipal and 24 installments with 2 weeks as frequency and for the
> > first payment the principal should be (15000/24)=625, and
> the interest
> > should be 144.23.
> > But after going through applyRounding it comes to
> > 625.8 and 144.2
> > Thus I looked at the rounding specs and configuration and have the
> > following
> > questions:
> >
> > 1. I want to set up rounding rule as such, less than *.49 rounds
> > down, and greater than *.50 rounds up, and I don't want to
> display any
> > digits after the decimal. What do I set the fields in the currency
> > table to define this?
> > My currency is Rs.
> >
> > 2. From
> >
> http://www.mifos.org/knowledge/functional-specs/accounting-in-
> mifos#currency
> > -and-rounding-rules mentions that
> >
> > "The system should adjust the last installment (increase or
> decrease)
> > for loan accounts to account for the amount change due to rounding.
> > Example, if the actual repayment due = 181.95 and after rounding it
> > becomes= 181, system should add the 0.95 to the last
> installment due."
> >
> > Does this mean only the LAST installment should be
> adjusted? Because
> > it looks like each installment was being adjusted (now this
> could be
> > because I did not know how to set the rounding configuration
> > properly)..
> >
> > 3. Other than the functional specs, is there documentations
> on how to
> > configure this or what the values mean? (I understand that
> there is a
> > new and improved configuration process coming out of
> > 1.1)
> >
> >
> > Thanks and Regards
> > Soham
> >
> >
> >
> --------------------------------------------------------------
> -----------
> > SF.Net email is sponsored by:
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services
> > for just about anything Open Source.
> >
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.n
> et/marketplace
> >
>
>
>
>
> ______________________________________________________________
> ______________________
> Looking for last minute shopping deals?
> Find them fast with Yahoo! Search.
> http://tools.search.yahoo.com/newsearch/category.php?category=
> shopping
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/