How do I restart Tomcat on Windows under default lucee setup?

If you’re restarting the Windows service then you’re restarting Tomcat, which also restarts Lucee, but for the sake of accuracy you’re restarting Tomcat which is what you want here.

If you don’t get an error then it probably restarts properly. Like Brad said checking the logs will give a more definitive answer.

You can also run a small batch script instead of using the Window GUI which will show more information if available. Something like (replace the Service name “lucee” with the correct name if it’s different):

:: filename: lucee-service-restart.bat

set SERVICE_NAME=lucee

net stop %SERVICE_NAME%
timeout 5
net start %SERVICE_NAME%

pause
1 Like