I am starting the embedded tomcat successfully through Java program. But I am unable to stop the tomcat server. How do I stop tomcat through a Java program?.
Asked
Active
Viewed 2,568 times
3 Answers
0
How about a System.exec ("tomcatInstallPath/bin/shutdown.sh")
Just a sugestion, I've never tried it. I just like quick/fast/direct solutions.
Manidip Sengupta
- 3,453
- 4
- 24
- 27