The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

kkelleher (19) [Avatar] Offline
Hi John,

I note that the first time I call say the license microservice via postman, I get a zuul timeout. Second time onward is fine.

I expect that
a) from debugging that the service has not "fully booted" initially and
b)experimenting with Hystrix timeouts will not help, as they only come into play, once the MS has "fully booted".

If my logic is correct, is there any way to "fully boot" the service on startup?

joshuawhite929 (16) [Avatar] Offline
I believe what you are looking for is this property:

spring.mvc.servlet.load-on-startup=-1 # Load on startup priority of the Spring Web Services servlet

Set it to a positive number.
kkelleher (19) [Avatar] Offline
Thanks very much re servlet setting. You answered my question . My problem remains however, so I will repost a more specific message ... thanks again ....