wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Need to uninstall Tomcat6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Need to uninstall Tomcat6 " Watch "Need to uninstall Tomcat6 " New topic
Author

Need to uninstall Tomcat6

Sandra Bachan
Ranch Hand

Joined: Feb 18, 2010
Posts: 434
Hello,

I need to unstall Tomcat6 from my Ubuntu OS for the time being.

I followed the directions in

http://www.webune.com/forums/uninstall-apache-tomcat-in-ubuntu.html

And didn't receive errors. However, this website

http://www.webune.com/forums/how-to-list-installed-packages-in-ubuntu.html

gives the command to find installed packages in ubuntu

When I went to terminal and typed in dpkg -L tomcat6, it gave

/var/log/tomcat6
/var/lib/tomcat6
/var/lib/tomcat6/webapps
/var/cache/tomcat6
/etc
/etc/tomcat6
/etc/tomcat6/catalina.properties
/etc/tomcat6/logging.properties
/etc/tomcat6/context.xml
/etc/tomcat6/server.xml
/etc/tomcat6/tomcat-users.xml
/etc/tomcat6/web.xml
/etc/tomcat6/policy.d
/etc/tomcat6/policy.d/01system.policy
/etc/tomcat6/policy.d/02debian.policy
/etc/tomcat6/policy.d/03catalina.policy
/etc/tomcat6/policy.d/04webapps.policy
/etc/tomcat6/policy.d/50local.policy
/etc/default
/etc/default/tomcat6
/etc/init.d
/etc/init.d/tomcat6
/etc/cron.daily
/etc/cron.daily/tomcat6


I even tried restarting, but no luck. How to I remove all reminants of Tomcat6? Once I get things on my computer taken care of, I will reinstall with APT


Marriage Made in Heaven
http://www.youtube.com/user/RohitWaliaWedsSonia
Piotr Nowicki
Ranch Hand

Joined: Jul 13, 2010
Posts: 610

Howdy Sandra!

Try this:



to list all packages related with tomcat in your system.

Now you can use



where packageName is the name of package you get from the first step (second column).

This should firmly purge your tomcat from the system, but if it doesn't - give me a sign, and we will try something more :-)

Cheers!


OCP Java SE 6 Programmer, OCM Java SE 6 Developer, OCE Java EE 6 JSPSD, OCE Java EE 6 EJBD, OCE Java EE 6 JPAD, Spring 3.0 Core Professional.
Sandra Bachan
Ranch Hand

Joined: Feb 18, 2010
Posts: 434
Howdy Pedro!

It works!

Will install Tomcat6 with APT shortly.....
Piotr Nowicki
Ranch Hand

Joined: Jul 13, 2010
Posts: 610

I'm glad it helped :-)

Good luck!
 
 
subject: Need to uninstall Tomcat6