Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    156
    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! ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    890
    Likes Received:
    1
    Trophy Points:
    168
    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:
    156
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    890
    Likes Received:
    1
    Trophy Points:
    168
    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:
    156
    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:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    890
    Likes Received:
    1
    Trophy Points:
    168
    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...
Similar Threads - servlets
  1. tizoo
    Replies:
    5
    Views:
    271

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice