So I have been facing issue when I add -Dcom.sun.management.jmxremote
to my server vm arguments, it just stops. Is there something obvious that I am missing ? FYI - This is a spring boot application.
Here's how I am starting the server
java \
> -Dcom.sun.management.jmxremote \
> -Dcom.sun.management.jmxremote.ssl=false \
> -Dcom.sun.management.jmxremote.authenticate=false \
> -Dcom.sun.management.jmxremote.port=1099 \
> -Dcom.sun.management.jmxremote.rmi.port=1199 \
> -XX:+HeapDumpOnOutOfMemoryError \
> -XX:+FlightRecorder \
> -server -jar my-app.jar
-Dcom.sun.management.jmxremote
and -Dcom.sun.management.jmxremote.port=1099
both give the problem. If I remove them, server starts.