Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 3 of 3

This is a discussion on Tomcat Advise/Help in the VPS & Dedicated forum
Hey all, I'm new on JaguarPC, and so far, the supports been top notch! I'm simply happy with its speed, compared to my previous providers. ...

  1. #1
    JPC Member
    Join Date
    Sep 2009
    Posts
    1

    Question Tomcat Advise/Help

    Hey all,
    I'm new on JaguarPC, and so far, the supports been top notch!
    I'm simply happy with its speed, compared to my previous providers.

    I have recently been thru 3 other VPS providers, trying to get Tomcat to run smoothly.

    In all cases, including JPC, After installing Tomcat using EasyApache, installing the Servlet on my account domain,
    I get problems of;
    • jsptest.jsp does not load. Gives a 404.
    • apache, which loads php (such as joomla sites) doesn't connect anymore
    • Tomcat simply does not display any JSP files
    • when JSP pages do render correctly, my WAR application cannot load.

    and more...
    I just don't understand how much more complicated this can get.
    Any idea's on what I should do (if you've had experience on this...)


    ALSO,
    I just need Tomcat running for a single client, on a single domain.
    Could anyone advise on if using EasyApache to install Tomcat is the best option?
    Can it not be installed manually, via SSH, for that client, so that the client can manage (restart/deploy WAR's) himself?

    (I have already opened a ticket, and JPC is talking to CPanel support, but simply wanted advise on someone with more experience on VPS+TOMCAT).

    Thanks.

  2. #2
    JPC Dream Team JPC-Bilal's Avatar
    Join Date
    Nov 2006
    Posts
    1,175
    Hi Kushal,

    We are sorry to hear that you are facing these issues. As far as JSP pages not working is concerned, please open a support ticket and we will see if Tomcat is setup correctly and working fine.

    Since the server is cPanel/WHM based, it uses Apache as web server whereas Java requires Tomcat. Both Apache and Tomcat cannot run on same port and if you setup Tomcat manually then you will have to setup it on some custom port other than 80. Due to this reason any JSP based sites will not be accessible through normal URL like http://domain.com.

  3. #3
    the Windlord Gwaihir's Avatar
    Join Date
    Jun 2002
    Posts
    2,562
    For Apache, you can install and configure mod_proxy for the Java based site(s) to make them accessible through normal (port 80) urls. In this setup port 8080 is a common place for Tomcat and you can make it accept connections from localhost / 127.0.0.1 only.
    Last edited by Gwaihir; 09-19-2009 at 05:26 AM.
    Regards,

    Wim Heemskerk
    ---
    Visit MeCCG.net - Cardgaming in J.R.R. Tolkien's Middle-earth
    And Gwaihir.net - The Middle-earth CCG store

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •