Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Feb 2003
    Posts
    62

    Default Remove Tomcat, please help!

    i installed tomcat few days ago and want to completely remove it now?

    Can somebody help with this?

    cPanel.net Support Ticket Number:

  2. #2
    Member
    Join Date
    Sep 2003
    Location
    Russian Federation
    Posts
    34

    Default

    May I ask you why do you want to delete TomCat? It doesn't wokr properly?

    Thanks.

    cPanel.net Support Ticket Number:

  3. #3
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    There's a howto at forum.cpanelhosts.com

    cPanel.net Support Ticket Number:

  4. #4
    Member
    Join Date
    Jul 2003
    Posts
    89

    Default

    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. #5
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    Originally posted by hostit1
    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>
    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. #6
    Member
    Join Date
    Jul 2003
    Posts
    89

    Default

    Thanks for the extras!

  7. #7
    Member Planet_Master's Avatar
    Join Date
    Apr 2002
    Location
    New Yorker
    Posts
    260

    Default

    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
    Vision Plateau Web Services - Total Control Hosting
    http://www.visionplateau.com

Similar Threads & Tags
Similar threads

  1. Tomcat Memory and Disk Allocaiton, Trying to help a user with Tomcat
    By bcvnbhjag in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-02-2011, 04:50 AM
  2. Remove tomcat.
    By Ronny in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-25-2004, 02:43 AM
  3. Remove Tomcat Howto???
    By vishal in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 01-28-2004, 08:42 AM
  4. Remove Tomcat
    By greengiant in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-18-2003, 02:02 PM
  5. How To Remove Tomcat/JSP Support
    By Myacen in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-03-2002, 04:52 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube