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.

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:
    1
    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:
    1
    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:
    1
    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,192
    Likes Received:
    1
    Trophy Points:
    38
    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.
     
  5. pinju

    pinju Member

    Joined:
    Feb 7, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    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