The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Uninstall Tomcat!

Discussion in 'General Discussion' started by andethen, Oct 9, 2002.

Thread Status:
Not open for further replies.
  1. andethen

    andethen Member

    Joined:
    Feb 20, 2002
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  2. jmorby

    jmorby Registered

    Joined:
    Oct 31, 2002
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    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!
     
  3. ozzi4648

    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!
     
  4. Soheil

    Soheil Active Member

    Joined:
    Jun 24, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Hi,
    I followed all the steps, but tomcat still shows unders restart services in whm:
    How can that be removed please?
     
  5. aby

    aby Well-Known Member

    Joined:
    May 31, 2005
    Messages:
    638
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    You can uninstall tomcat from addonmodules in WHM. DId you try that ?
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    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.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page