Status
Not open for further replies.

andethen

Member
Feb 20, 2002
18
0
301
I have Tomcat 3.x installed on my cpanel box, which I installed a while ago. Anyway it has done nothing but eat up memory and no one uses it anyway so I would like to uninstall it, but I can't seem to find any directions to that effect.

It was a cinch to install, it should be just as easy to uninstall, right? Any help is sincerely appreciated.
 

jmorby

Registered
Oct 31, 2002
3
0
151
I'm in the same boat ... any idea how to uninstall Tomcat (4.1 here)?

Doesn't seem that obvious at the moment :(

Any help gratefully appreciated!
 
O

ozzi4648

Guest
Dont uninstall it, just leave it alone but stop tomcat. It would take a rocket scientist to find all occurances of tomcat splashed all over your HD. Here is how you can stop it! This is what i did.
Tomcat is a nuisance and a resource hog!


First stop it:

/usr/sbin/stoptomcat

Then /etc/httpd/conf

pico httpd.conf and find all occurances of the word mod_jk. Comment out all the mod_jk lines. Then find the includes line and comment that out. Now find index.jsp and remove that if installed.

Exit out, save and restart apache /etc/rc.d/init.d/httpd restart

Now load ntsysv

/usr/sbin/ntsysv

Scroll down until you find tomcat and toggle the star to blanks, [ ]

Save, exit out. You have now disabled it from starting at bootup.

If you added it to services for monitoring then remove it from /etc/chkserv.d and also from /var/run/chkservd/ then restart chkserver.

Your done!
 

Soheil

Active Member
Jun 24, 2003
43
0
156
Hi,
I followed all the steps, but tomcat still shows unders restart services in whm:
How can that be removed please?
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,462
25
473
Go on, have a guess
Indeed. And please don't dig up a 4 year old thread! For something like that, if you've done the obvious and tried to remove it through WHM Addon Modules, then either start a thread or if you've installed it yourself manually, check on over the app developers site.
 
Status
Not open for further replies.