Thanks guys!

I think I got off the track right at the beginning of Step 3: Orchestrate 
Microservices Using The Demo-server.  It said “… consider manually 
orchestrating …”.  I thought I needed to go to 
https://github.com/vishwasbabu/ProvisioningFineractCN.  That is where it says 
start ActiveMQ.  Which is why I did.  I abandoned that effort when I realized 
that “consider” meant optional, and I did not really need to do that, since 
that whole key generation was getting a bit complicated on Windows 10.  But 
then ActiveMQ was still running when I proceeded with the rest of the 
instructions to build.  My bad!
Because I had started ActiveMQ, initially demo-server immediately complained 
about not being able to use port 61616.  In fact, the instructions say that 
this port should not be in use before starting demo-server.  I guess I did not 
pay attention to that part until I got that error.  I then stopped ActiveMQ, 
changed the port 61616 it was using, to 61615, and restarted it (doh!).  
Demo-server then ran for a long time.  But then it gave me a slew of connection 
refused errors for port 61616, even though ActiveMQ was not using it, and not 
that the port was being used.

Regardless, I stopped ActiveMQ and this time ran with Command II in the 
documentation.  I did not run into the connection refused error!
This time I got some  [DicoverClient-n] errors that 
c.n.discovery.TimedSupervisorTask – task supervisor timed out

But demo-server kept going after those timeouts and has now been running for 3 
hours with no message "INFO  o.e.jetty.server.AbstractConnector - 
StoppedServerConnector@1bdb0376{HTTP/1.1,[http/1.1]}<mailto:StoppedServerConnector@1bdb0376%7bHTTP/1.1,%5bhttp/1.1%5d%7d>"
 written to any of the logs as yet.  I guess I should have direct standard out 
to a log since it does not seem to be capturing everything in the logs and I 
might have just missed that message.

I decided to proceed to step 4 but I get the following when I run npm i …
c:\Apps\fineract-cn-demo-server>npm i
npm WARN saveError ENOENT: no such file or directory, open 
'c:\Apps\fineract-cn-demo-server\package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open 
'c:\Apps\fineract-cn-demo-server\package.json'
npm WARN fineract-cn-demo-server No description
npm WARN fineract-cn-demo-server No repository field.
npm WARN fineract-cn-demo-server No README data
npm WARN fineract-cn-demo-server No license field.

up to date in 0.843s
found 0 vulnerabilities

c:\Apps\fineract-cn-demo-server>npm run dev
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path c:\Apps\fineract-cn-demo-server\package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 
'c:\Apps\fineract-cn-demo-server\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

There us a package-lock.json but no package.json.

From: Ebenezer Graham <ebenezergraha...@gmail.com>
Sent: Thursday, December 5, 2019 7:39 AM
To: Awasum Yannick <yannickawa...@gmail.com>
Cc: dev@fineract.apache.org; Ebenezer Graham <egraha...@alustudent.com>
Subject: Re: help jump starting?

Thanks Awasum for the response. I think that's the issue too

@Rohit, it's not necessary to configure a standalone ActiveMQ when running the 
demo-server. This library (https://github.com/apache/fineract-cn-command) helps 
to set up an embedded broker.

Also, what is the state of this issue 
https://github.com/flyway/flyway/issues/2103

Warm regards.

On Thu, Dec 5, 2019 at 11:07 AM Awasum Yannick 
<yannickawa...@gmail.com<mailto:yannickawa...@gmail.com>> wrote:
Hi

Demo server at times runs with an embedded activemq and other data stores. So 
if you already have an activemq installed on your host, then thats what is 
causing the port in use exception.

Hope this helps.

On Wed, Dec 4, 2019, 23:06 Rohit Jain 
<rohit.j...@esgyn.com<mailto:rohit.j...@esgyn.com>> wrote:
Hi Ebenezer,

A thread by the same subject line was initiated by my colleague, Eric Owhadi, 
on 06 Jun, 20:51.  He ran into an issue:
Could not connect to broker URL: tcp://localhost:61616. Reason: 
java.net.ConnectException: Connection refused

It so happens that 4 months later I have run into the exact same issue.  Except 
that I am running everything on my Windows 10 laptop.  Also, I installed and 
ran ActiveMQ on my laptop.  In fact, the demo server got an error initially 
since it found that port 61616 was being used.  So, I modified the activemq.xml 
file to change that port to avoid the conflict.  Then the demo server started 
all the application services, and then at the end ran into the error above.

You responded to Eric and said that you would provide a resolution to this 
problem.  Don’t know if you have a resolution that I can use to move forward.  
The Demo server created the appropriate databases and keyspaces in PostgreSQL 
and Cassandra respectively.

Rohit




--

Best Regards,

Ebenezer Graham

BSc (Hons) Computing



[EmailSignature.png]


GitHub<https://ebenezergraham.me> | 
LinkedIn<https://www.linkedin.com/in/ebenezer-graham/> | Personal 
Website<https://ebenezergraham.me>
skype:
ebenezer.graham
| Phone:
+230 5840 9206<tel:+230%205840%209206>


“Talk is cheap, show me the Code” - Linus Torvalds

Reply via email to