viswaramamoorthy commented on issue #3: Docker infrastructure for Eureka and 
ActiveMQ
URL: 
https://github.com/apache/fineract-cn-demo-server/pull/3#issuecomment-379464885
 
 
   @myrle-krantz Hello, regarding PR review comment "@ Before can be run 
multiple times for a class", I agree when there are many tests in a 
SpringBootTest class. With a single "@ Test" in ServiceRunner, will Junit @ 
Before annotated method can run multiple times? May be I am missing something 
here. I want understand it and change.
   
   Regarding application.yml file introduced in demo server, it is required 
because without that demo server attempts to register with Eureka and below 
error seen from demo server. Also, is demo server discoverable? My assumption 
is that it is not and hence turn off Eureka registration from demo server. But 
services will continue to register because they are discoverable.
   
   **Error from demo-server** 
   07:48:20.737 [DiscoveryClient-HeartbeatExecutor-0] ERROR 
c.netflix.discovery.DiscoveryClient - DiscoveryClient_UNKNOWN/localhost:-1 - 
was unable to send heartbeat!
   com.netflix.discovery.shared.transport.TransportException: Cannot execute 
request on any known server
        at 
com.netflix.discovery.shared.transport.decorator.RetryableEurekaHttpClient.execute(RetryableEurekaHttpClient.java:111)
        at 
com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.sendHeartBeat(EurekaHttpClientDecorator.java:89)
        at 
com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$3.execute(EurekaHttpClientDecorator.java:92)
        at 
com.netflix.discovery.shared.transport.decorator.SessionedEurekaHttpClient.execute(SessionedEurekaHttpClient.java:77)
        at 
com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.sendHeartBeat(EurekaHttpClientDecorator.java:89)
        at com.netflix.discovery.DiscoveryClient.renew(DiscoveryClient.java:832)
        at 
com.netflix.discovery.DiscoveryClient$HeartbeatThread.run(DiscoveryClient.java:1396)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
   
   My earlier comments about Eureka issues are really about heart beat errors 
in provisioner, identity etc. Below is a sample error from identify.log. I am 
not sure how you or @awasum not seeing this error. Is it because of embedded 
server that masks this issue? Below error will ultimately lead to wrong service 
status and affect service discoverability...
   
   **Eureka heart beat error from Identity**
   07:50:52.172 [DiscoveryClient-HeartbeatExecutor-0] ERROR 
c.netflix.discovery.DiscoveryClient - 
DiscoveryClient_IDENTITY-V1/localhost:identity-v1:2021 - was unable to send 
heartbeat!
   com.netflix.discovery.shared.transport.TransportException: Cannot execute 
request on any known server
        at 
com.netflix.discovery.shared.transport.decorator.RetryableEurekaHttpClient.execute(RetryableEurekaHttpClient.java:111)
        at 
com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.sendHeartBeat(EurekaHttpClientDecorator.java:89)
        at 
com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$3.execute(EurekaHttpClientDecorator.java:92)
        at 
com.netflix.discovery.shared.transport.decorator.SessionedEurekaHttpClient.execute(SessionedEurekaHttpClient.java:77)
        at 
com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.sendHeartBeat(EurekaHttpClientDecorator.java:89)
        at com.netflix.discovery.DiscoveryClient.renew(DiscoveryClient.java:832)
        at 
com.netflix.discovery.DiscoveryClient$HeartbeatThread.run(DiscoveryClient.java:1396)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
   07:50:53.191 [DiscoveryClient-HeartbeatExecutor-0] ERROR 
c.n.d.s.t.d.RedirectingEurekaHttpClient - Request execution error
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to