Some interesting datapoint is that when I installed activemq locally, I 
struggled and found that I had to do a chown of the subdirectory data to 
activemq user instead of root, else activemq won’t start complaining about 
permission denied accessing files in data subdirectory, because activemq change 
user to activemq user, even if you start it as root. I wonder if the embedded 
activemq could be suffering from the same problem?

Eric
From: Eric Owhadi <eric.owh...@esgyn.com>
Sent: Friday, June 7, 2019 12:32 PM
To: dev@fineract.apache.org
Subject: RE: help jump starting?

External
Hi Vishwas,
Thanks for the suggestions.

https://github.com/apache/fineract-cn-rhythm  is installed. And I never ran 
with Ddemoserver.lite=true.

I guess that installing activemq local require modifying something to avoid the 
embed activemq to get instanciated. Because I am getting this when I use 
manually installed activemq.
JUnit version 4.12

  .   ____          _            __ _ _
/\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot ::        (v1.4.1.RELEASE)

E
Time: 22.167
There was 1 failure:
1) org.apache.fineract.cn.dev.ServiceRunner
java.io.IOException: Failed to bind to server socket: tcp://localhost:61616 due 
to: java.net.BindException: Address already in use (Bind failed)
                at 
org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:33)
                at 
org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:140)
                at 
org.apache.activemq.transport.tcp.TcpTransportFactory.doBind(TcpTransportFactory.java:62)
                at 
org.apache.activemq.transport.TransportFactorySupport.bind(TransportFactorySupport.java:40)
                at 
org.apache.activemq.broker.BrokerService.createTransportConnector(BrokerService.java:2474)
                at 
org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java:335)
                at 
org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java:325)
                at 
org.apache.fineract.cn.test.servicestarter.ActiveMQForTest.before(ActiveMQForTest.java:88)
                at 
org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46)
                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 
org.apache.fineract.cn.dev.DemoServer.main(DemoServer.java:30)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:498)
                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)
Caused by: java.net.BindException: Address already in use (Bind failed)
                at java.net.PlainSocketImpl.socketBind(Native Method)
                at 
java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)
                at java.net.ServerSocket.bind(ServerSocket.java:375)
                at java.net.ServerSocket.<init>(ServerSocket.java:237)
                at 
javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:231)
                at 
org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:137)
                ... 33 more

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

From: Vishwas Babu 
<vish...@confluxtechnologies.com<mailto:vish...@confluxtechnologies.com>>
Sent: Thursday, June 6, 2019 4:53 PM
To: Dev <dev@fineract.apache.org<mailto:dev@fineract.apache.org>>
Subject: Re: help jump starting?

External
Hi Eric,

>> Could not connect to broker URL: tcp://localhost:61616. Reason: 
>> java.net.ConnectException: Connection refused
For a quick fix, try locally installing ActiveMQ

>>17:57:13.148 [pool-9-thread-1] ERROR o.h.e.jdbc.spi.SqlExceptionHelper - 
>>Table 'seshat.khepri_beats' doesn't exist
Can you verify if https://github.com/apache/fineract-cn-rhythm has been 
provisioned? if you had initially started the demo server 
(https://github.com/apache/fineract-cn-demo-server/) with the flag 
-Ddemoserver.lite=true , rhythm would not have been provisioned

Regards,
Vishwas



On Thu, Jun 6, 2019 at 1:52 PM Eric Owhadi 
<eric.owh...@esgyn.com<mailto:eric.owh...@esgyn.com>> wrote:
Hi Fineracteers,
I am trying to build and install Fineract-cn using this:
https://cwiki.apache.org/confluence/display/FINERACT/How+To+Build+Apache+Fineract+CN

But I am stuck, in both with or without persistence mode, with this stdout 
(collected without persistence):

Looking at Jiras, FAQs and list serv did not help,

If I finger point the ERROR tags in stdout attached, I get the following:

Line 20:
.17:41:14.394 [pool-3-thread-1] ERROR o.a.cassandra.service.StartupChecks - 
cassandra.jmx.local.port missing from cassandra-env.sh, unable to start local 
JMX service.
Resolving artifact 
org.apache.fineract.cn.provisioner:service-boot:jar:0.1.0-BUILD-SNAPSHOT
Resolving metadata 
org.apache.fineract.cn.provisioner:service-boot:0.1.0-BUILD-SNAPSHOT/maven-metadata.xml
 from /home/ubuntu/.m2/repository (enhanced)
Resolved metadata 
org.apache.fineract.cn.provisioner:service-boot:0.1.0-BUILD-SNAPSHOT/maven-metadata.xml
 from /home/ubuntu/.m2/repository (enhanced)
Resolved artifact 
org.apache.fineract.cn.provisioner:service-boot:jar:0.1.0-BUILD-SNAPSHOT from 
/home/ubuntu/.m2/repository (enhanced)


Line 2287:
17:57:13.148 [pool-9-thread-1] WARN  o.h.e.jdbc.spi.SqlExceptionHelper - SQL 
Error: 1146, SQLState: 42S02
17:57:13.148 [pool-9-thread-1] ERROR o.h.e.jdbc.spi.SqlExceptionHelper - Table 
'seshat.khepri_beats' doesn't exist
Query is : select beatentity0_.id as id1_1_, beatentity0_.alignment_hour as 
alignmen2_1_, beatentity0_.application_identifier as applicat3_1_, 
beatentity0_.beat_identifier as beat_ide4_1_, beatentity0_.next_beat as 
next_bea5_1_, beatentity0_.tenant_identifier as tenant_i6_1_ from khepri_beats 
beatentity0_ where beatentity0_.next_beat<'2019-06-06 17:57:12.359' for update
Resolving artifact 
org.apache.fineract.cn.notification:service-boot:jar:0.1.0-BUILD-SNAPSHOT
Resolving metadata 
org.apache.fineract.cn.notification:service-boot:0.1.0-BUILD-SNAPSHOT/maven-metadata.xml
 from /home/ubuntu/.m2/repository (enhanced)
Resolved metadata 
org.apache.fineract.cn.notification:service-boot:0.1.0-BUILD-SNAPSHOT/maven-metadata.xml
 from /home/ubuntu/.m2/repository (enhanced)
Resolved artifact 
org.apache.fineract.cn.notification:service-boot:jar:0.1.0-BUILD-SNAPSHOT from 
/home/ubuntu/.m2/repository (enhanced)

Line 2596:
2019-06-06 18:01:31.704 ERROR 24935 --- [scoveryClient-0] 
c.netflix.discovery.TimedSupervisorTask  : task supervisor threw an exception

java.lang.InterruptedException: null
                at 
java.util.concurrent.FutureTask.awaitDone(FutureTask.java:404) [na:1.8.0_211]
                at java.util.concurrent.FutureTask.get(FutureTask.java:204) 
[na:1.8.0_211]
                at 
com.netflix.discovery.TimedSupervisorTask.run(TimedSupervisorTask.java:64) 
~[eureka-client-1.4.11.jar!/:1.4.11]
                at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
[na:1.8.0_211]
                at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
[na:1.8.0_211]
                at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
 [na:1.8.0_211]
                at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
 [na:1.8.0_211]
                at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
[na:1.8.0_211]
                at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
[na:1.8.0_211]
                at java.lang.Thread.run(Thread.java:748) [na:1.8.0_211]

Line 2822:
18:02:11.497 [AsyncResolver-bootstrap-0] ERROR 
c.n.discovery.TimedSupervisorTask - task supervisor rejected the task
java.util.concurrent.RejectedExecutionException: Task 
java.util.concurrent.FutureTask@34015f44<mailto:java.util.concurrent.FutureTask@34015f44>
 rejected from 
java.util.concurrent.ThreadPoolExecutor@303edd1c[Terminated<mailto:java.util.concurrent.ThreadPoolExecutor@303edd1c[Terminated>,
 pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 2]
                at 
java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2063)
                at 
java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:830)
                at 
java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1379)
                at 
java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
                at 
com.netflix.discovery.TimedSupervisorTask.run(TimedSupervisorTask.java:62)
                at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
                at java.util.concurrent.FutureTask.run(FutureTask.java:266)
                at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
                at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
                at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
                at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
                at java.lang.Thread.run(Thread.java:748)

and last section:
E18:02:42.512 [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 
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 (Connection refused)
18:02:42.523 [DefaultMessageListenerContainer-1] ERROR 
o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for 
destination 'notification-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 (Connection refused)
18:02:42.531 [DefaultMessageListenerContainer-1] ERROR 
o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for 
destination 'cheques-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 (Connection refused)
18:02:42.534 [DefaultMessageListenerContainer-1] 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. Reason: 
java.net.ConnectException: Connection refused (Connection refused)
18:02:42.541 [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 (Connection refused)
18:02:42.542 [DefaultMessageListenerContainer-1] 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. Reason: 
java.net.ConnectException: Connection refused (Connection refused)
18:02:42.554 [DefaultMessageListenerContainer-1] 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. Reason: 
java.net.ConnectException: Connection refused (Connection refused)
18:02:42.563 [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 (Connection refused)
18:02:42.564 [DefaultMessageListenerContainer-1] ERROR 
o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for 
destination 'reporting-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 (Connection refused)
18:02:42.578 [DefaultMessageListenerContainer-1] ERROR 
o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for 
destination 'rhythm-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 (Connection refused)
18:02:42.582 [DefaultMessageListenerContainer-1] ERROR 
o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for 
destination 'payroll-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 (Connection refused)
18:02:42.590 [DefaultMessageListenerContainer-1] ERROR 
o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for 
destination 'deposit-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 (Connection refused)
18:02:42.591 [DefaultMessageListenerContainer-1] ERROR 
o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for 
destination 'customer-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 (Connection refused)
18:02:42.594 [DefaultMessageListenerContainer-1] ERROR 
o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for 
destination 'office-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 (Connection refused)
18:02:42.595 [DefaultMessageListenerContainer-1] ERROR 
o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for 
destination 'group-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 (Connection refused)
18:02:42.609 [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 (Connection refused)
18:02:42.632 [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 (Connection refused)
18:02:42.647 [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 (Connection refused)
18:02:42.649 [DefaultMessageListenerContainer-1] ERROR 
o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for 
destination 'rhythm-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 (Connection refused)
18:02:42.651 [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 (Connection refused)
18:02:42.654 [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 (Connection refused)
18:02:42.666 [DefaultMessageListenerContainer-1] 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. Reason: 
java.net.ConnectException: Connection refused (Connection refused)
18:02:42.667 [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 (Connection refused)
18:02:42.678 [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 (Connection refused)
18:02:42.681 [DefaultMessageListenerContainer-1] ERROR 
o.s.j.l.DefaultMessageListenerContainer - Could not refresh JMS Connection for 
destination 'teller-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 (Connection refused)

Time: 1,320.794
There was 1 failure:
1) startDevServer(org.apache.fineract.cn.dev.ServiceRunner)
java.lang.AssertionError
                at org.junit.Assert.fail(Assert.java:86)
                at org.junit.Assert.assertTrue(Assert.java:41)
                at org.junit.Assert.assertTrue(Assert.java:52)
                at 
org.apache.fineract.cn.dev.ServiceRunner.provisionApp(ServiceRunner.java:539)
                at 
org.apache.fineract.cn.dev.ServiceRunner.provisionAppsViaSeshatForTenant(ServiceRunner.java:454)
                at 
org.apache.fineract.cn.dev.ServiceRunner.provisionAppsViaSeshat(ServiceRunner.java:408)
                at 
org.apache.fineract.cn.dev.ServiceRunner.startDevServer(ServiceRunner.java:303)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:498)
                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 
org.apache.fineract.cn.dev.DemoServer.main(DemoServer.java:30)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:498)
                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


Any hint would be greatly appreciated,
Thanks in advance for the help,
Eric Owhadi

Reply via email to