What if devtools keeps rebooting due to production?
This article mainly explains "devtools in production lead to continuous restart how to do," interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let Xiaobian take you to learn "how to do devtools in production leading to continuous restart"!
Timed task program after production, not subject to regular control, continuous execution (e-mail), development environment no problem
know why
On the server, it restarts every time!
2019-08-12 11:16:52.709 [Thread-6] INFO o.s.scheduling.concurrent.ThreadPoolTaskScheduler - Shutting down ExecutorService 'taskScheduler'2019-08-12 11:16:52.919 [restartedMain] INFO com.asiainfo.vacmonitor.VacMonitorApplication - Starting VacMonitorApplication on zhifu-test1 with PID 19070 (/app/webapp/vac-monitor/classes started by webapp in /app/webapp/vac-monitor)2019-08-12 11:16:52.924 [restartedMain] INFO com.asiainfo.vacmonitor.VacMonitorApplication - The following profiles are active: prod2019-08-12 11:16:53.300 [restartedMain] INFO o.s.scheduling.concurrent.ThreadPoolTaskScheduler - Initializing ExecutorService 'taskScheduler'2019-08-12 11:16:53.338 [restartedMain] INFO o.s.boot.devtools.autoconfigure.OptionalLiveReloadServer - LiveReload server is running on port 35729
It's really DevTools! If you can't connect to the database, it'll keep restarting!
Delete this jar and it will be solved!
At this point, I believe that everyone has a deeper understanding of "how to do devtools in production leading to continuous restart," may wish to actually operate it! Here is the website, more related content can enter the relevant channels for inquiry, pay attention to us, continue to learn!