Mantis - Resin
Viewing Issue Advanced Details
6388 minor always 04-08-21 09:20 07-15-21 13:34
nam  
ferg  
normal  
closed 4.0.65  
not fixable  
none    
none  
0006388: watchdog-jvm-arg-line applies to both the watchdog and child process
(rep by M. Rajasekhar)

With the given jvm port for the watchdog, the child process would fail to start because it cannot bind to the same port. "ps aux" shows that the child process is indeed using the watchdog jvm args.

watchdog_jvm_args : -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=19005



Notes
(0006982)
ferg   
07-15-21 13:34   
This isn't fixable, because Resin prioritizes -D from the parent. If a user specified a -D from the command line, that would propagate to the child. Unfortunately, this also means that the watchdog arg also propagates to the child.

Any potential fix would have a high chance of disrupting existing deployments, so it's not something we can change.