Tomcat still running after uninstalling
- by Rohit Jain
I installed tomcat7 using the following command:
sudo apt-get install tomcat7
Then to uninstall it, I used below command:
sudo dpkg -l|grep tomcat
This listed all the packages related to tomcat. Then I removed tomcat7:
sudo dpkg -P tomcat7
After that, I saw that, some related package were still there, and surprisingly I was still able to access the tomcat home page at - http://localhost:8080. So, I tried to remove it using the following command:
sudo apt-get remove tomcat7
sudo apt-get autoremove
But, still I was able to access the tomcat home page. So I re-booted my PC, thinking that the effect will take effect after that. But again, I'm still able to access the homepage. That means that tomcat is still running on my PC. What's going on here?
Have I followed the steps correctly to uninstall tomcat. I want to uninstall to re-install a private instance of tomcat.
I found out that the directory - /usr/share/tomcat7, is still there:
/usr/share/tomcat7$ ls
conf log webapps
Is it something to do with the uninstallation?