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.

JSP and WAR file, firs time user

Discussion in 'General Discussion' started by pkellner, Sep 11, 2003.

  1. pkellner

    pkellner Member

    Joined:
    Sep 3, 2003
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    My Web hosting company tells me that they have enabled jsps and servlet support with tomcat on my account. (neitsolutions is my web host provider). My understanding is that if I put a simple jsp file in my home (../public_html) directory and make the permissions 644 that I should be able to access that file and have it executed as a jsp. It simply says: file not found when I try that. I know I am pointing at the right place because I can view jpg's there no problem.

    After getting that to work, my next step is I want to deploy a WAR file.

    Help!!! I can't find any doc's and my web host company suggests I post the question here. I've read all the previous posts and they all end something that looks like the problem was taken offline with a support number.

    Thanks.

    -Peter

    cPanel.net Support Ticket Number:
     
  2. GrimReaper

    GrimReaper Active Member

    Joined:
    Jul 27, 2003
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    I have no idea about the jsp issue except that you should ask your host to MAKE SURE that they have enabled servelets for your account. This requires they hit the "enable servelet" button and choose your account in their web-host-management software.

    As for your war issue (again not a big jsp user) I received the following report from a user using war on our systems earlier this week that may mean something to you.

    -------------- [SNIP] ---------------

    The war file would only deploy in two instances:

    1.) If the war file existed in the $CATALINA_HOME/webapps directory when
    Tomcat was started
    Or
    2.) If the Tomcat 4.xx Manager was used to deploy the application (can be
    done without restarting Tomcat).

    -------------- [SNIP] ---------------

    Hope this helps a little.

    Chris.

    cPanel.net Support Ticket Number:
     
  3. pkellner

    pkellner Member

    Joined:
    Sep 3, 2003
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    No Luck. Here is what My Hosting company said:


    >Yes, I'm sure we have enabled servlets on your account.
    >--
    >NEIT Solutions Support

    cPanel.net Support Ticket Number:
     
  4. Sash

    Sash Well-Known Member

    Joined:
    Feb 18, 2003
    Messages:
    252
    Likes Received:
    0
    Trophy Points:
    16
    Do you have a directory called "WEB-INF" with a file called web.xml inside it, which is in your public_html directory?

    Mike

    cPanel.net Support Ticket Number:
     
  5. pkellner

    pkellner Member

    Joined:
    Sep 3, 2003
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    added stock web.xml

    I just put the web.xml file that comes with my tomcat 406 install I've got running on my home win2k box. It was not there before. Should that be necessary to run jsps? I thought not. I notice in the cpanel setup it shows:

    jakarta-servlet2 as the type for jsp

    When I put a file (count.jsp) in my public_html directory and try to access it thru my windows explorer, it give the file can not be displayed.

    help!!!:(

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page