Community Forums
Connect with us on LinkedIn
  
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 19
  1. #1
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default Tomcat JSP

    I asked my provider about installing JSP on my cPanel/WHM dedicated server, and the response I received was:

    &jsp comes in the form of tomcat which if you install it will cause your server to crash all the time (its very buggy)&

    Is this true? Has anybody successfully installed jsp and not experienced difficulties with it?

  2. #2
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    No problems here using Tomcat 4.0.3 with Cpanel.
    Regards,
    David
    Forum Moderator

  3. #3
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    That's great to hear. Do you see any reasons that it might cause a server to crash? I'm brand new to the hosting business, so I don't know very much. I know I'd like to offer JSP, but I also know that I don't want my server to crash...

  4. #4
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    Server crash? no.

    Problems with response? sometimes, though rare.

    Trick? Stick with 4.0.3 do not use 4.1

    If never done it - have someone who has or get good guidance.
    Regards,
    David
    Forum Moderator

  5. #5
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    Thanks for the info and your advice.
    Unfortunately, I don't know anyone who has experience, and my providers told me they wouldn't do it.

    However, I'm just starting out, so even if it crashes there won't be any sites on there to worry about. All I have to do is worry about getting it stabilized once it's been installed...

    I guess I'll go with 4.0.3

    When you say problems with response, does that mean server-wide response or just those pages? Sorry for the dumb questions...

  6. #6
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    Only dumb questions are the ones not asked.

    Response on jsp pages only, but since you have a new clean server it should be a breeze.
    Regards,
    David
    Forum Moderator

  7. #7
    Member
    Join Date
    Jul 2002
    Location
    Atlanta, GA
    Posts
    646

    Default

    The Tomcat install doesn't cause the server to crash. Poorly written code by your customers, however, is another story. It's very easy for a Java newbie to write JSP/Servlets with memory leaks and other resource hogs, so if you don't know much about Tomcat and Java, you'd be best to stay away. It's not like offering ASP, Perl, or PHP.

    Jaz

  8. #8
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    I've seen some hosts charging extra for JSP/Java servlets. Is there some way to turn it on and off for certain customers?

  9. #9
    Member
    Join Date
    Sep 2002
    Location
    Switzerland
    Posts
    75

    Default

    In WHM, you can select which sites can support jsp or not. It also suggests that you don't have more than 25 or so sites using jsp on one server.
    Ueli von Ah

    http://www.arachid.org

  10. #10
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    Cool beans!

  11. #11
    Member
    Join Date
    Mar 2002
    Location
    Alberta, Canada
    Posts
    1,509

    Default

    Originally posted by orca
    In WHM, you can select which sites can support jsp or not. It also suggests that you don't have more than 25 or so sites using jsp on one server.
    Can you give a hint as to where, in WHM, that would be?
    Helping people Host, Create, and Maintain their Web Site
    Also providing Server Admin Services - setup / troubleshooting

    http://potentproducts.com/

  12. #12
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    If Tomcat is installed correctly, you should have an Option in WHM called Plugins with a menu pick "Install Servlets" just before the Transers option and past Account Functions.

    Now note that this allows to install NOT uninstall.

    Uninstalling must be done manually.
    Regards,
    David
    Forum Moderator

  13. #13
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    Where is DirIndex? Is it supposed to be inside httpd.conf?
    I can't find it...I did a search for it using control-w, but to no avail. Is it perhaps inside the .htaccess file?

  14. #14
    Moderator cPanel Partner NOC Badge dgbaker's Avatar
    Join Date
    Sep 2002
    Location
    Toronto, Ontario Canada
    Posts
    2,773

    Default

    It's actually called

    DirectoryIndex

    It's around the 400 line or so in httpd.conf
    Regards,
    David
    Forum Moderator

  15. #15
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    Thank you!! I knew I wasn't crazy!

Similar Threads & Tags
Similar threads

  1. Tomcat cannot run JSP
    By yogi73 in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 03-17-2008, 02:15 AM
  2. About JSP (Tomcat)
    By Domenico in forum cPanel and WHM Discussions
    Replies: 17
    Last Post: 08-07-2004, 10:24 PM
  3. Tomcat / JSP / JCE
    By BWS in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 03-29-2004, 01:26 PM
  4. *IMPORTANT* Tomcat JSP 4.0.3
    By Diatone in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 08-10-2003, 06:10 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube