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!

cPanel + jsp

Discussion in 'General Discussion' started by pinju, Feb 8, 2005.

  1. pinju

    pinju Member

    Joined:
    Feb 7, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    Hi
    I have a cPanel on a Fedora Box.
    I want to enable JSP support to the different domains I host.

    I have installed tomcat andenabled /installed servlets for a domain.
    Then I added jsp files in public_html folder
    but when asked as www.domain.com:8080/xyz.jsp or www.domain.com/xyz.jsp
    it gives 404 erro

    PLease Help

    With Regards
     
  2. louiswells

    louiswells Registered

    Joined:
    Feb 5, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    151
    do u need to add the extentions so the MIME types section?
     
  3. pinju

    pinju Member

    Joined:
    Feb 7, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    Mime Types Added

    Hi
    I have already applied the mimetypes as
    text/html .jsp

    and added an apache handler as
    .jsp jakarta-servlet

    What can be the cause

    Regards
     
  4. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,191
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    India
    cPanel Access Level:
    Root Administrator
    check server.xml to have entry for that domain. Also try restarting the tomcat server from the WHM.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. pinju

    pinju Member

    Joined:
    Feb 7, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    Resin

    Hi
    Forget Tomcat.
    I have installed modresin and uninstalled Tomcat.
    Now how do I add resin to the domain.

    Some posts say:
    To add servlets/jsp to an account run:
    /scripts/addresin

    Is it possible from the WHM?
     
Loading...

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