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.

Remove Tomcat, please help!

Discussion in 'General Discussion' started by www-lab, Sep 19, 2003.

  1. www-lab

    www-lab Well-Known Member

    Joined:
    Feb 1, 2003
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    i installed tomcat few days ago and want to completely remove it now?

    Can somebody help with this?

    cPanel.net Support Ticket Number:
     
  2. kardukov

    kardukov Active Member

    Joined:
    Sep 15, 2003
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Russian Federation
    May I ask you why do you want to delete TomCat? It doesn't wokr properly?

    Thanks.

    cPanel.net Support Ticket Number:
     
  3. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    There's a howto at forum.cpanelhosts.com

    cPanel.net Support Ticket Number:
     
  4. hostit1

    hostit1 Well-Known Member

    Joined:
    Jul 24, 2003
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    0
    I found this info: It does work To delete Tomcat, follow the below.

    First, if you already have another version of Tomcat on your server, clean it out. Delete these files:
    in /usr/local
    jakarta
    in /
    jsp-install-4 (or whatever version you have)

    Then edit httpd.conf and remove all instances of

    <IfModule mod_jk.c>
    JkMount /*.jsp ajp13
    JkMount /servlet/* ajp13
    JkMount /servlets/* ajp13
    </IfModule>
    </VirtualHost>
     
  5. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    You're missing the following:

    cd /etc/init.d
    ./chkservd stop
    cd /etc/chkserv.d
    rm tomcat
    cd /var/run/chkservd
    rm tomcat
    cd /etc/init.d
    ./chkservd start
    vi or pico /etc/rc.d/rc.local
    remove /usr/sbin/starttomcat
     
  6. hostit1

    hostit1 Well-Known Member

    Joined:
    Jul 24, 2003
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    0
    Thanks for the extras!
     
  7. Planet_Master

    Planet_Master Well-Known Member

    Joined:
    Apr 18, 2002
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    New Yorker
    Better remove these lines from httpd.conf as well or Apace will most likely fail.

    AddModule mod_jk.c
    Include "/usr/local/jakarta/jakarta-tomcat-4.0.3-src/build/conf/auto/mod_jk.conf"

    AddType text/html .jsp
    AddHandler jakarta-servlet .jsp

    You may have one or all of these lines depending on your setup
     
Loading...

Share This Page