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.

servlets

Discussion in 'General Discussion' started by Mr_Stepfire, May 24, 2005.

  1. Mr_Stepfire

    Mr_Stepfire Active Member

    Joined:
    Dec 20, 2004
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    The Netherlands
    how can i uninstall servlets?
    Because i only see an button to install it on a domain but no button for uninstalling it.

    thanks! ;)
     
  2. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    897
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    This Planet
    remove relevant entry in the htpd.conf file and restart httpd
    This is if you are referring to disabling servlets for a domain

    Anup
     
  3. Mr_Stepfire

    Mr_Stepfire Active Member

    Joined:
    Dec 20, 2004
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    The Netherlands
    i did search for it in httpd.conf but couldn't find it.
    could you tell what i need to remove exactly?
     
  4. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    897
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    This Planet
    Scroll down to the VirtualHost section for which you enabled servlets

    Anup
     
  5. Mr_Stepfire

    Mr_Stepfire Active Member

    Joined:
    Dec 20, 2004
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    The Netherlands

    i found it and removed the *.jsp code.
    restarted apache and tomcat.
    but the jsp files were still working.

    Are there other ways? :confused:
     
  6. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    897
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    This Planet
    Oh yes, the config has to be removed from tomcat too and tomcat restarted. server.xml file or something. Just do a grep on the domain name and see which file it is in /usr/local/tomcat if tht's where the things also get added.

    Sorry missed out on this one... long time since i uninstalled tomcat completely.

    Anup
     
Loading...

Share This Page