Hello Simon,

I am attaching the dev list too,

I am not really sure what your issue is but you can try cleaning the demo
server. /gradlew clean build , and try running again.

I see some file permission issues thrown by Embedded Cassandra...Make sure
you have permission to access those folders.

If you are running in Embedded mode, make sure to shutdown Cassandra,
MySQL, MariaDB and ActiveMQ if they are installed on your system.

In additional, Next time send these type of Dev Debugging messages to the
dev list so others can help you. But I will attach the dev list this time.

Thanks

On Thu, Nov 2, 2017 at 4:56 AM, Simon Matthews <si...@dreamstartlabs.com>
wrote:

> I have finally got back to this and am attempting to run Fineract CN on a
> VM in Google's cloud.
>
> I realized that some problems were due to insufficient memory in the VM. I
> increased the memory, but would appreciate some advice on expected memory
> requirements.
>
> Running the demo server, I got some errors, but I have a question first:
> do the demo server and/or the "npm run dev" need to run as root ("sudo
> .....")?
>
> So, errors.
>
> 1. Running the demo server:
> EE03:48:42.251 [DefaultMessageListenerContainer-3] 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
> 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)
> 03:48:42.256 [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)
> 03:48:42.261 [DefaultMessageListenerContainer-2] 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)
> 03:48:42.270 [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. Reason:
> java.net.ConnectException: Connection refused (Connection refused)
> 03:48:42.282 [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)
> 03:48:42.292 [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)
> 03:48:42.296 [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)
>
> Time: 40.221
> There were 2 failures:
> 1) startDevServer(io.mifos.dev.ServiceRunner)
> FSWriteError in target/embeddedCassandra/saved_caches
>     at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(
> FileUtils.java:138)
>     at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(
> FileUtils.java:155)
>     at org.apache.cassandra.io.util.FileUtils.deleteRecursive(
> FileUtils.java:444)
>     at org.apache.cassandra.io.util.FileUtils.deleteRecursive(
> FileUtils.java:440)
>     at org.cassandraunit.utils.EmbeddedCassandraServerHelper.rmdir(
> EmbeddedCassandraServerHelper.java:269)
>     at org.cassandraunit.utils.EmbeddedCassandraServerHelper.
> startEmbeddedCassandra(EmbeddedCassandraServerHelper.java:83)
>     at org.cassandraunit.utils.EmbeddedCassandraServerHelper.
> startEmbeddedCassandra(EmbeddedCassandraServerHelper.java:66)
>     at org.cassandraunit.utils.EmbeddedCassandraServerHelper.
> startEmbeddedCassandra(EmbeddedCassandraServerHelper.java:58)
>     at io.mifos.dev.ServiceRunner.before(ServiceRunner.java:167)
>     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.RunBefores.
> evaluate(RunBefores.java:24)
>     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(
> 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.nio.file.AccessDeniedException: target/embeddedCassandra/
> saved_caches
>     at sun.nio.fs.UnixException.translateToIOException(
> UnixException.java:84)
>     at sun.nio.fs.UnixException.rethrowAsIOException(
> UnixException.java:102)
>     at sun.nio.fs.UnixException.rethrowAsIOException(
> UnixException.java:107)
>     at sun.nio.fs.UnixFileSystemProvider.implDelete(
> UnixFileSystemProvider.java:244)
>     at sun.nio.fs.AbstractFileSystemProvider.delete(
> AbstractFileSystemProvider.java:103)
>     at java.nio.file.Files.delete(Files.java:1126)
>     at org.apache.cassandra.io.util.FileUtils.deleteWithConfirm(
> FileUtils.java:132)
>     ... 57 more
> 2) startDevServer(io.mifos.dev.ServiceRunner)
> java.lang.NullPointerException
>     at io.mifos.dev.ServiceRunner.tearDown(ServiceRunner.java:227)
>     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.RunAfters.evaluate(
> RunAfters.java:33)
>     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(
> 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: 2
>
>
> Problems with the npm command in a second email.
>
> Simon
>



-- 


*Awasum Yannick*
Chief Technology Officer
Skylabase
awasum.yann...@skylabase.com  |  Skype: awasum91 | Mobile: +237 676 683 945
<+237+676+683+945> | http://skylabase.com

Reply via email to