Tomcat still running after uninstalling

Posted by Rohit Jain on Ask Ubuntu See other posts from Ask Ubuntu or by Rohit Jain
Published on 2013-06-26T18:52:34Z Indexed on 2013/06/26 22:30 UTC
Read the original article Hit count: 572

Filed under:
|
|

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?

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about uninstall