Hello Sithija,

Follow BOTH instructions from Courage and Myrle.

This may help you change MySQL's default port
<https://stackoverflow.com/questions/29866204/how-to-change-the-default-port-of-mysql-from-3306-to-3360>
from
3306 to SOMETHING_ELSE ( maybe 3307 ).

Cheers,
Isaac Kamga.

On Mon, Mar 19, 2018 at 10:47 AM, Myrle Krantz <[email protected]> wrote:

> It also looks like you are already running a service on the port that
> MySQL wants to use.  You may already have a MySQL running.
>
> Best Regards,
> Myrle
>
> On Mon, Mar 19, 2018 at 9:11 AM, courage angeh <[email protected]>
> wrote:
> > Please try pulling service starter again as per the instructions here:
> >
> > https://lists.apache.org/thread.html/16007bc6afde2c8839cc79496110c2
> > 0aeadbcba99a6842e10e5304ac@%3Cdev.fineract.apache.org%3E
> >
> > Thanks,
> > Courage
> >
> > On Mon, Mar 19, 2018 at 7:06 AM, Sithija Thewahettige <
> > [email protected]> wrote:
> >
> >> Hi,
> >>
> >> I am Sithija Thewahettige , a final year student studying Computer
> Science
> >> and Engineering from University of Moratuwa Sri Lanka.
> >>
> >> I am highly interested in contributing to 'Fineract CN REST API
> >> Documentation' project under Gsoc 2018 and I spent the last few days
> >> getting familiar with spring REST Docs and other prerequisites necessary
> >> for the project.
> >>
> >> I followed the guidelines given in
> >> *https://cwiki.apache.org/confluence/display/FINERACT/
> >> How+To+Build+Apache+Fineract+CN
> >> <https://cwiki.apache.org/confluence/display/FINERACT/
> >> How+To+Build+Apache+Fineract+CN>*
> >> to build apache fineract CN but in running the demo server with *java
> -jar
> >> -Ddemoserver.provision=true demo-server-0.1.0-BUILD-SNAPSHOT.jar*
> >>
> >> I get the following errors :
> >>
> >> .10:30:05.854 [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.
> >>
> >> EE10:30:27.674 [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
> >> 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)
> >>
> >> 10:30:27.675 [DefaultMessageListenerContainer-2] 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)
> >>
> >> 10:30:27.678 [DefaultMessageListenerContainer-2] 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)
> >> 10:30:27.680 [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)
> >> 10:30:27.682 [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)
> >> 10:30:27.685 [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)
> >> 10:30:27.687 [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)
> >> 10:30:27.689 [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)
> >> 10:30:27.692 [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
> >> 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)
> >> 10:30:27.693 [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)
> >> 10:30:27.694 [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)
> >> 10:30:27.695 [DefaultMessageListenerContainer-2] 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)
> >> 10:30:27.697 [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 (Connection refused)
> >> 10:30:27.699 [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)
> >> 10:30:27.701 [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)
> >> 10:30:27.703 [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 (Connection refused)
> >> 10:30:27.704 [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 (Connection refused)
> >> 10:30:27.705 [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)
> >> 10:30:27.706 [DefaultMessageListenerContainer-3] 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)
> >> 10:30:27.707 [DefaultMessageListenerContainer-3] 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)
> >> 10:30:27.708 [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)
> >> 10:30:27.709 [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
> >> 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)
> >> 10:30:27.711 [DefaultMessageListenerContainer-2] 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)
> >>
> >> Time: 44.495
> >> There were 2 failures:
> >> 1) startDevServer(io.mifos.dev.ServiceRunner)
> >> ch.vorburger.exec.ManagedProcessException: An error occurred while
> >> starting
> >> the database
> >>     at ch.vorburger.mariadb4j.DB.start(DB.java:139)
> >>     at io.mifos.dev.ServiceRunner.before(ServiceRunner.java:181)
> >>     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: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: ch.vorburger.exec.ManagedProcessException: Asked to wait for
> >> "mysqld: ready for connections." from Program
> >> [/tmp/MariaDB4j/base/bin/mysqld, --no-defaults, --console,
> >> --skip-grant-tables, --max_allowed_packet=64M,
> >> --basedir=/tmp/MariaDB4j/base, --datadir=/tmp/MariaDB4j/data/3306,
> >> --port=3306, --socket=/tmp/MariaDB4j.3306.sock] (in working directory
> >> /tmp/MariaDB4j/base), but it already exited! (without that message in
> >> console), last 100 lines of console:
> >> 180319 10:30:24 InnoDB: The InnoDB memory heap is disabled
> >> 180319 10:30:24 InnoDB: Mutexes and rw_locks use GCC atomic builtins
> >> 180319 10:30:24 InnoDB: Compressed tables use zlib 1.2.3
> >> 180319 10:30:24 InnoDB: Using Linux native AIO
> >> 180319 10:30:24 InnoDB: Initializing buffer pool, size = 128.0M
> >> 180319 10:30:24 InnoDB: Completed initialization of buffer pool
> >> InnoDB: The first specified data file ./ibdata1 did not exist:
> >> InnoDB: a new database to be created!
> >> 180319 10:30:24  InnoDB: Setting file ./ibdata1 size to 10 MB
> >> InnoDB: Database physically writes the file full: wait...
> >> 180319 10:30:24  InnoDB: Log file ./ib_logfile0 did not exist: new to be
> >> created
> >> InnoDB: Setting log file ./ib_logfile0 size to 5 MB
> >> InnoDB: Database physically writes the file full: wait...
> >> 180319 10:30:24  InnoDB: Log file ./ib_logfile1 did not exist: new to be
> >> created
> >> InnoDB: Setting log file ./ib_logfile1 size to 5 MB
> >> InnoDB: Database physically writes the file full: wait...
> >> InnoDB: Doublewrite buffer not found: creating new
> >> InnoDB: Doublewrite buffer created
> >> InnoDB: 127 rollback segment(s) active.
> >> InnoDB: Creating foreign key constraint system tables
> >> InnoDB: Foreign key constraint system tables created
> >> 180319 10:30:25  InnoDB: Waiting for the background threads to start
> >> 180319 10:30:26 Percona XtraDB (http://www.percona.com)
> >> 5.5.33a-MariaDB-31.1 started; log sequence number 0
> >> 180319 10:30:26 [Note] Plugin 'FEEDBACK' is disabled.
> >> 180319 10:30:26 [Note] Server socket created on IP: '0.0.0.0'.
> >> 180319 10:30:26 [ERROR] Can't start server: Bind on TCP/IP port. Got
> error:
> >> 98: Address already in use
> >> 180319 10:30:26 [ERROR] Do you already have another mysqld server
> running
> >> on port: 3306 ?
> >> 180319 10:30:26 [ERROR] Aborting
> >>
> >> 180319 10:30:26  InnoDB: Starting shutdown...
> >> 180319 10:30:27  InnoDB: Shutdown completed; log sequence number 1597945
> >> 180319 10:30:27 [Note] /tmp/MariaDB4j/base/bin/mysqld: Shutdown
> complete
> >>
> >>     at
> >> ch.vorburger.exec.ManagedProcess.startAndWaitForConsoleMessageM
> >> axMs(ManagedProcess.java:248)
> >>     at ch.vorburger.mariadb4j.DB.start(DB.java:135)
> >>     ... 50 more
> >> 2) startDevServer(io.mifos.dev.ServiceRunner)
> >> java.lang.NullPointerException
> >>     at io.mifos.dev.ServiceRunner.tearDown(ServiceRunner.java:241)
> >>     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: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: 2
> >>
> >> I googled about the cassandra error at the very top and made changes to
> >> cassandra-env.sh file accordingly but it keeps on giving the same error.
> >>
> >> Any help to resolve this will be highly appreciated
> >>
> >> Thanks in advance
> >>
> >> Sithija
> >>
>

Reply via email to