marathon icon indicating copy to clipboard operation
marathon copied to clipboard

the java application Stuck when i use mesos + marathon + java agent

Open dasonXu opened this issue 5 years ago • 1 comments

we use mesos and marathon to development app. it works cool as usual. but when my java app start with an agent and i develop it in the same host, it will stuck. it can fixed by set the config-value 'minimumHealthCapacity' to '0'. it means killed old instance. but can you tell me why the new app will stuck. the log tell me, the jvm have be started, but quit immediately(maybe port conflict?),then it only do the method ‘premain’ of java agent, not do the main.

dasonXu avatar Oct 23 '19 06:10 dasonXu

Hi @dasonXu,

there can be many reasons why the app fails. The Marathon logs should show a TASK_FAILED status with a message. What does it say?

jeschkies avatar Dec 17 '19 16:12 jeschkies