Hi Mark,

That was the problem. But now it runs up-to some point where it throws
errors as below due to *Parent ledger 1000 not found. *and it then
terminate the process. Any solution to fix this?

*16:52:14.223 [qtp726408598-22] INFO  i.m.c.l.c.ServiceExceptionFilter -
Responding with a service error ServiceError{code=404, message='Parent
ledger 1000 not found.'}*
*E*
*Time: 1,538.137*
*There was 1 failure:*
*1) startDevServer(io.mifos.dev.ServiceRunner)*
*io.mifos.accounting.api.v1.client.LedgerNotFoundException*
*        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)*
*        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)*
*        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)*
*        at java.lang.reflect.Constructor.newInstance(Unknown Source)*
*        at
io.mifos.core.api.util.AnnotatedErrorDecoder.constructException(AnnotatedErrorDecoder.java:135)*
*        at
io.mifos.core.api.util.AnnotatedErrorDecoder.lambda$null$1(AnnotatedErrorDecoder.java:61)*
*        at java.util.Optional.flatMap(Unknown Source)*
*        at
io.mifos.core.api.util.AnnotatedErrorDecoder.lambda$decode$2(AnnotatedErrorDecoder.java:61)*
*        at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)*
*        at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)*
*        at java.util.Spliterators$ArraySpliterator.tryAdvance(Unknown
Source)*
*        at java.util.stream.ReferencePipeline.forEachWithCancel(Unknown
Source)*
*        at java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown
Source)*
*        at java.util.stream.AbstractPipeline.copyInto(Unknown Source)*
*        at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown
Source)*
*        at java.util.stream.FindOps$FindOp.evaluateSequential(Unknown
Source)*
*        at java.util.stream.AbstractPipeline.evaluate(Unknown Source)*
*        at java.util.stream.ReferencePipeline.findAny(Unknown Source)*
*        at
io.mifos.core.api.util.AnnotatedErrorDecoder.decode(AnnotatedErrorDecoder.java:63)*
*        at
feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:138)*
*        at
feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:76)*
*        at
feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:103)*
*        at com.sun.proxy.$Proxy214.addSubLedger(Unknown Source)*
*        at
io.mifos.accounting.importer.LedgerImporter.createLedger(LedgerImporter.java:69)*
*        at java.util.ArrayList.forEach(Unknown Source)*
*        at
io.mifos.accounting.importer.LedgerImporter.importCSV(LedgerImporter.java:60)*
*        at
io.mifos.dev.ServiceRunner.createChartOfAccounts(ServiceRunner.java:461)*
*        at
io.mifos.dev.ServiceRunner.provisionAppsViaSeshatForTenant(ServiceRunner.java:446)*
*        at
io.mifos.dev.ServiceRunner.provisionAppsViaSeshat(ServiceRunner.java:358)*
*        at
io.mifos.dev.ServiceRunner.startDevServer(ServiceRunner.java:260)*
*        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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)*
*        at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)*
*        at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)*
*        at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)*
*        at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)*
*        at
org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)*
*        at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)*
*        at
org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)*
*        at
org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)*
*        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)*
*        at
org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)*
*        at
org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)*
*        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)*
*        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)*
*        at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)*
*        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)*
*        at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)*
*        at
org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)*
*        at
org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)*
*        at
org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)*
*        at
org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)*
*        at
org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)*
*        at org.junit.rules.RunRules.evaluate(RunRules.java:20)*
*        at org.junit.runners.ParentRunner.run(ParentRunner.java:363)*
*        at
org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)*
*        at org.junit.runners.Suite.runChild(Suite.java:128)*
*        at org.junit.runners.Suite.runChild(Suite.java:27)*
*        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)*
*        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)*
*        at
org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)*
*        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)*
*        at
org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)*
*        at org.junit.runners.ParentRunner.run(ParentRunner.java:363)*
*        at org.junit.runner.JUnitCore.run(JUnitCore.java:137)*
*        at org.junit.runner.JUnitCore.run(JUnitCore.java:115)*
*        at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77)*
*        at org.junit.runner.JUnitCore.main(JUnitCore.java:36)*
*        at io.mifos.dev.DemoServer.main(DemoServer.java:27)*
*        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.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)*
*        at
org.springframework.boot.loader.Launcher.launch(Launcher.java:87)*
*        at
org.springframework.boot.loader.Launcher.launch(Launcher.java:50)*
*        at
org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:58)*

*FAILURES!!!*
*Tests run: 1,  Failures: 1*

*16:52:28.650 [DefaultMessageListenerContainer-2] ERROR
o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection
for destination 'portfolio-v1' - retrying using FixedBackOff{interval=5000,
currentAttempts=0, maxAttempts=unlimited}. Cause: Error while attempting to
retrieve a connection from the pool; nested exception is
javax.jms.JMSException: Could not connect to broker URL:
tcp://localhost:61616. Reason: java.net.ConnectException: Connection
refused: connect*
*16:52:29.656 [DefaultMessageListenerContainer-1] ERROR
o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection
for destination 'identity-v1' - retrying using FixedBackOff{interval=5000,
currentAttempts=0, maxAttempts=unlimited}. Cause: Error while attempting to
add new Connection to the pool; nested exception is javax.jms.JMSException:
Could not connect to broker URL: tcp://localhost:61616. Reason:
java.net.ConnectException: Connection refused: connect*
*16:52:30.663 [DefaultMessageListenerContainer-2] ERROR
o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection
for destination 'identity-v1' - retrying using FixedBackOff{interval=5000,
currentAttempts=0, maxAttempts=unlimited}. Cause: Error while attempting to
add new Connection to the pool; nested exception is javax.jms.JMSException:
Could not connect to broker URL: tcp://localhost:61616. Reason:
java.net.ConnectException: Connection refused: connect*
*16:52:31.671 [DefaultMessageListenerContainer-1] ERROR
o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection
for destination 'accounting-v1' - retrying using
FixedBackOff{interval=5000, currentAttempts=0, maxAttempts=unlimited}.
Cause: Error while attempting to add new Connection to the pool; nested
exception is javax.jms.JMSException: Could not connect to broker URL:
tcp://localhost:61616. Reason: java.net.ConnectException: Connection
refused: connect*
*16:52:32.686 [DefaultMessageListenerContainer-3] ERROR
o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection
for destination 'identity-v1' - retrying using FixedBackOff{interval=5000,
currentAttempts=0, maxAttempts=unlimited}. Cause: Error while attempting to
add new Connection to the pool; nested exception is javax.jms.JMSException:
Could not connect to broker URL: tcp://localhost:61616. Reason:
java.net.ConnectException: Connection refused: connect*
*16:52:33.693 [DefaultMessageListenerContainer-3] ERROR
o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection
for destination 'portfolio-v1' - retrying using FixedBackOff{interval=5000,
currentAttempts=0, maxAttempts=unlimited}. Cause: Error while attempting to
add new Connection to the pool; nested exception is javax.jms.JMSException:
Could not connect to broker URL: tcp://localhost:61616. *

On Wed, Mar 7, 2018 at 2:21 PM, Isaac Kamga <isaac.ka...@mifos.org> wrote:

> Thanks Mark.
>
> On Wed, Mar 7, 2018 at 11:21 AM, Mark van Veen <mark.vanv...@kuelap.io>
> wrote:
>
>> There is a pull request open which should fix the issue you are
>> experiencing:
>>
>> https://github.com/apache/fineract-cn-service-starter/pull/3/files
>>
>>
>>
>> On Wed, Mar 7, 2018 at 9:36 AM Rajan Maurya <rajanmaurya...@gmail.com>
>> wrote:
>>
>> > No luck @Ippez I tried but not able to build it. same error.
>> >
>> >
>> >
>> > ‌
>> >
>> > On Wed, Mar 7, 2018 at 10:44 AM, Ippez Robert <ippezrob...@gmail.com>
>> > wrote:
>> >
>> > > Hi Isaac,
>> > > We are facing the same problem with Rajan. The errors am getting are
>> > > exactly the same as Rajan's. The demo is not running please check the
>> > error
>> > > log i pasted earlier.
>> > >
>> > > Rajan, were  you able to fix this at your end?
>> > >
>> > > Thanks
>> > > Regard
>> > >
>> > > On 7 Mar 2018 06:46, "Isaac Kamga" <isaac.ka...@mifos.org> wrote:
>> > >
>> > >> Rajan,
>> > >>
>> > >> This might be helpful for you.
>> > >>
>> > >> Ippez, please take some time to help Rajan out with this and update
>> > >> documentation too.
>> > >>
>> > >> Cheers,
>> > >> Isaac Kamga.
>> > >>
>> > >> On Tue, Mar 6, 2018 at 9:41 PM, Ippez Robert <ippezrob...@gmail.com>
>> > >> wrote:
>> > >>
>> > >> > Now i was able to fix my above problem. The problem was that maven
>> was
>> > >> not
>> > >> > installed. After doing that, build was successful without any
>> errors
>> > and
>> > >> > when i run
>> > >> >
>> > >> > *java -jar -Ddemoserver.provision=true demo-server-0.1.0-BUILD-
>> > >> > SNAPSHOT.jar*
>> > >> > ,
>> > >> >
>> > >> > Even second option of starting the demo server produces same error.
>> > >> >
>> > >> > Am getting exact errors Rajan is getting. Is there a solution for
>> this
>> > >> or
>> > >> > are we missing something.
>> > >> >
>> > >> > *.23:25:43.410 [pool-3-thread-1] ERROR
>> o.a.cassandra.service.StartupC
>> > >> hecks
>> > >> > - cassandra.jmx.local.port missing from cassandra-env.sh, unable to
>> > >> start
>> > >> > local JMX service.*
>> > >> > *Resolving artifact
>> > >> > io.mifos.provisioner:service-boot:jar:0.1.0-BUILD-SNAPSHOT*
>> > >> > *Resolving metadata
>> > >> > io.mifos.provisioner:service-boot:0.1.0-BUILD-SNAPSHOT/maven
>> > >> -metadata.xml
>> > >> > from C:\Users\Swift3 Technologies\.m2\repository (enhanced)*
>> > >> > *Resolved metadata
>> > >> > io.mifos.provisioner:service-boot:0.1.0-BUILD-SNAPSHOT/maven
>> > >> -metadata.xml
>> > >> > from C:\Users\Swift3 Technologies\.m2\repository (enhanced)*
>> > >> > *Resolved artifact
>> > >> > io.mifos.provisioner:service-boot:jar:0.1.0-BUILD-SNAPSHOT from
>> null*
>> > >> > *EE*
>> > >> > *Time: 36.751*
>> > >> > *There were 2 failures:*
>> > >> > *1) startDevServer(io.mifos.dev.ServiceRunner)*
>> > >> > *org.eclipse.aether.resolution.ArtifactResolutionException: Could
>> not
>> > >> find
>> > >> > artifact io.mifos.provisioner:service-b
>> oot:jar:0.1.0-BUILD-SNAPSHOT*
>> > >> >
>> > >> >
>> > >> > On Tue, Mar 6, 2018 at 9:47 PM, Ed Cable <edca...@mifos.org>
>> wrote:
>> > >> >
>> > >> > > Myrle,
>> > >> > >
>> > >> > > Thanks for your feedback. For all tasks related to either
>> Fineract
>> > CN
>> > >> or
>> > >> > > Fineract that are listed on the ideas page for Mifos, I'll make
>> sure
>> > >> they
>> > >> > > have corresponding issues on the Apache JIRA Infrastructure. I
>> > believe
>> > >> > that
>> > >> > > is now the case for the Fineract CN tickets but some of them
>> require
>> > >> > > additional detail. Conversation with Rajan about updating the
>> task
>> > >> wasn't
>> > >> > > anything that explicitly occurred off-list. Just in general we've
>> > been
>> > >> > > working to update the tasks and Rajan has been waiting to do the
>> > same
>> > >> > until
>> > >> > > he has some free cycles.
>> > >> > >
>> > >> > > As I've done with group loan support, data migration, etc. and a
>> > >> couple
>> > >> > > other forthcoming project areas I've tried to initiate public
>> > >> discussion
>> > >> > on
>> > >> > > the lists but haven't yielded much feedback.
>> > >> > >
>> > >> > > I'm not sure if Rajan will be mentoring under Apache or Mifos.
>> For
>> > now
>> > >> > > though I'm driving all ideas related to Fineract and/or Mifos X
>> and
>> > >> the
>> > >> > > enabling support we're providing to prospective students through
>> the
>> > >> > Mifos
>> > >> > > Initiative ideas page because we have better structure there for
>> the
>> > >> > > selection process with a better means to target students, an
>> > >> evaluation
>> > >> > > process we've honed over the years and during the program itself
>> we
>> > >> have
>> > >> > > our formal protocols and procedures for GSOC that work well for
>> us.
>> > >> > >
>> > >> > > I am ensuring though that any of our mentors who are Apache
>> > committers
>> > >> > and
>> > >> > > could potentially be a mentor under Apache be properly registered
>> > >> there
>> > >> > as
>> > >> > > well in the case that a student might apply for one of the
>> projects
>> > >> > through
>> > >> > > Apache.
>> > >> > >
>> > >> > > Ed
>> > >> > >
>> > >> > > On Mon, Mar 5, 2018 at 2:07 AM, Myrle Krantz <my...@apache.org>
>> > >> wrote:
>> > >> > >
>> > >> > > > Hey Ed,
>> > >> > > >
>> > >> > > > Can you please move the Fineract CN content, including the
>> > Fineract
>> > >> CN
>> > >> > > > mobile content to Apache infrastructure.  In this case, I'd
>> > >> recommend
>> > >> > > > appropriately tagged Jira tickets.  Also, I assume you know
>> Rajan
>> > is
>> > >> > > > going to do that (and the same with Avik, and Gaurav), because
>> he
>> > >> > > > agreed to it to you somewhere other than the public list?
>> Please
>> > >> move
>> > >> > > > communication like this to the public list.
>> > >> > > >
>> > >> > > > I assume that Rajan will be registering to mentor with Apache,
>> now
>> > >> > > > that he's been invited to be a committer?  Maybe I'm a bit
>> early,
>> > >> > > > since Rajan hasn't accepted the committer status yet. ; o)
>> Rajan,
>> > if
>> > >> > > > you need any assistance with that process, feel free to ask...
>> > >> > > >
>> > >> > > > Best Regards,
>> > >> > > > Myrle Krantz
>> > >> > > > PMC Member, Apache Fineract
>> > >> > > >
>> > >> > > >
>> > >> > > > On Mon, Mar 5, 2018 at 9:07 AM, Ed Cable <edca...@mifos.org>
>> > wrote:
>> > >> > > > > Hello Aksh,
>> > >> > > > >
>> > >> > > > > Rajan is going to be updating the description soon with
>> > >> prospective
>> > >> > > > tasks.
>> > >> > > > > Sorry for that delay.
>> > >> > > > >
>> > >> > > > > Ed
>> > >> > > > >
>> > >> > > > >
>> > >> > > > >
>> > >> > > > > On Sat, Mar 3, 2018 at 4:55 AM, Aksh Gautam <
>> gaksh...@gmail.com
>> > >
>> > >> > > wrote:
>> > >> > > > >
>> > >> > > > >> Hey,
>> > >> > > > >>
>> > >> > > > >> The description of Fineract CN Mobile 2.0 seems to be
>> missing
>> > on
>> > >> the
>> > >> > > > PAGE
>> > >> > > > >> <https://mifosforge.jira.com/wiki/spaces/RES/pages/
>> > >> > > > 225411076/Google+Summer+of+Code+2018+Ideas#
>> > >> > GoogleSummerofCode2018Ideas-
>> > >> > > > FineractCNMobile2.0>
>> > >> > > > >> It would be helpful if description could be updated.
>> > >> > > > >>
>> > >> > > > >> PS: I hope this is not a duplicate email. Since the previous
>> > mail
>> > >> > > failed
>> > >> > > > >> to deliver.
>> > >> > > > >>
>> > >> > > > >> Thanks
>> > >> > > > >> Aksh Gautam
>> > >> > > > >>
>> > >> > > > >> ------------------------------
>> ------------------------------
>> > >> > > > >> ------------------
>> > >> > > > >> Check out the vibrant tech community on one of the world's
>> most
>> > >> > > > >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> > >> > > > >> Mifos-developer mailing list
>> > >> > > > >> mifos-develo...@lists.sourceforge.net
>> > >> > > > >> Unsubscribe or change settings at:
>> > >> > > > >> https://lists.sourceforge.net/
>> lists/listinfo/mifos-developer
>> > >> > > > >>
>> > >> > > > >
>> > >> > > > >
>> > >> > > > >
>> > >> > > > > --
>> > >> > > > > *Ed Cable*
>> > >> > > > > President/CEO, Mifos Initiative
>> > >> > > > > edca...@mifos.org | Skype: edcable | Mobile: +1.484.477.8649
>> > <(484)%20477-8649>
>> > >> > > > >
>> > >> > > > > *Collectively Creating a World of 3 Billion Maries | *
>> > >> > http://mifos.org
>> > >> > > > > <http://facebook.com/mifos>  <http://www.twitter.com/mifos>
>> > >> > > >
>> > >> > >
>> > >> > >
>> > >> > >
>> > >> > > --
>> > >> > > *Ed Cable*
>> > >> > > President/CEO, Mifos Initiative
>> > >> > > edca...@mifos.org | Skype: edcable | Mobile: +1.484.477.8649
>> > <(484)%20477-8649>
>> > >> > >
>> > >> > > *Collectively Creating a World of 3 Billion Maries | *
>> > >> http://mifos.org
>> > >> > > <http://facebook.com/mifos>  <http://www.twitter.com/mifos>
>> > >> > >
>> > >> >
>> > >> >
>> > >> >
>> > >> > --
>> > >> > Ippez Roberts
>> > >> > Founder/C.E.O - Swift3 Technologies (U) Ltd
>> > >> > "Redefining Next Generation I/O Systems"
>> > >> > P.O.Box 155, Moyo
>> > >> > UGANDA.
>> > >> > Tel: +256788725408 <+256%20788%20725408>/770602630
>> > >> > Skype ID: ippez.robert1
>> > >> > Email: ippezrob...@gmail.com
>> > >> >
>> > >>
>> > >
>> >
>> >
>> > --
>> > *Thanks*
>> > *Namaste*
>> >
>> > Rajan Maurya
>> > Contact Number : +91 9015090523 <+91%2090150%2090523>
>> > Github : @Github/therajanmaurya <https://github.com/therajanmaurya>,
>> > LinkedIn: @LinkedIn/therajanmaurya
>> > <https://www.linkedin.com/in/therajanmaurya/>
>> >
>>
>
>


-- 
Ippez Roberts
Founder/C.E.O - Swift3 Technologies (U) Ltd
"Redefining Next Generation I/O Systems"
P.O.Box 155, Moyo
UGANDA.
Tel: +256788725408/770602630
Skype ID: ippez.robert1
Email: ippezrob...@gmail.com

Reply via email to