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.

TOMCAT removal

Discussion in 'General Discussion' started by s_2_s, Sep 6, 2004.

  1. s_2_s

    s_2_s Well-Known Member

    Joined:
    Aug 9, 2004
    Messages:
    215
    Likes Received:
    0
    Trophy Points:
    16
    Hello
    guys
    i have installed tomcat rpms from layer1 and when it was installed .. it crashed apache and exim
    and when i restored teh httpd.conf everything went ok but tomcat not even working cuz i removed it from httpd.conf
    now please guide me on how to comnpletely remove tomcat from the service list and from the whm and server totally
    thanks very much
     
  2. s_2_s

    s_2_s Well-Known Member

    Joined:
    Aug 9, 2004
    Messages:
    215
    Likes Received:
    0
    Trophy Points:
    16
    i really need a reply
    please
     
  3. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    This "should" remove everything. (The names in chkservd may need to be verified)

    Code:
    rm -Rf /usr/local/jakarta
    
    service chkservd stop
    
    cd /etc/chkserv.d
    rm -Rf tomcat
    
    cd /var/run/chkservd
    rm -Rf Tomcat_JSP
    
    service chkservd start
    
    rm -f /usr/sbin/starttomcat
    rm -f /usr/sbin/stoptomcat
    
     
  4. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider

    You'll need to remove the stuff from httpd.conf as well
     
  5. s_2_s

    s_2_s Well-Known Member

    Joined:
    Aug 9, 2004
    Messages:
    215
    Likes Received:
    0
    Trophy Points:
    16
    Thanks very much
    by the way ... the reason that tomcat failed to restart was that i simply used the whm install servlet to install jsp on a user account
    i ran the commands and tomcat was removed but does it really fully uninstall it ?
    it didn't remove the user "tomcat"
    and when i tried to reinstall .. installation went ok ... but http://domain.com:8080 never seem to want to open .....

    so what do i have to do if http://servername:8080 doesn't work ???
    thanks for your help
     
  6. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Ahh, yes but he had pointed out he had already restored the httpd.conf so that part was not required.

    s_2_s - Look to WHM in Version 9.9.0-E27 DarkOrb has now added Tomcat as an Addon Module.
     
  7. s_2_s

    s_2_s Well-Known Member

    Joined:
    Aug 9, 2004
    Messages:
    215
    Likes Received:
    0
    Trophy Points:
    16
    Thanks everybody for help
    ...
    i checked the new add on and i installed it and same problem teh service cannot start and http://serverip:8080 is offline
    ........
    Sara
     
  8. SBS2003

    SBS2003 Member

    Joined:
    Aug 14, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    httpd.conf

    Would someone please post what to remove from httpd.conf.

    Thanks - greatly appreciated!
     
  9. nasid

    nasid Member

    Joined:
    May 31, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    Just remove the Loadmodule and Addmodule directives for Java from httpd.conf like,


    LoadModule jk_module libexec/mod_jk.so and
    AddModule mod_jk.c
     
Loading...

Share This Page