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.

Current state of Tomcat install?

Discussion in 'General Discussion' started by jsteel, Jan 15, 2003.

  1. jsteel

    jsteel Well-Known Member

    Joined:
    Jul 4, 2002
    Messages:
    646
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Atlanta, GA
    Anyone have anything to comment upon about the current state of the Tomcat install? We've continued to use the old 4.0.3 version due to so many people saying things were so bad with the latest out on layer1, but we just built out another server and were thinking about trying the latest again. Any input?

    Jaz
     
  2. bjarne

    bjarne Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    16
    Looks like is sohow working

    we had some guro look at current install and it looks like it working. Looks like all that is needed in the httpd.con is the config for the module.

    There is a workers file created in the /usr/local/apache/conf dir and that's it looks like.

    Don't know for sure how it is with virtual hosts, looks like it will work on all now. No need to add anything to each virtual host looks like ...

    We are not finished study this but so far this is what we get.
     
  3. bjarne

    bjarne Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    135
    Likes Received:
    0
    Trophy Points:
    16
    Looks like the last Tomcat install will work as soon as you have the load module statment - I think it was missing. SHul be mod_jk2 I think.

    But theres no point trying to add into the VirtualHost container by means of using the Install servlets in WHM. It will work on all sites.

    Funny is does not look like we will use it :)

    So its shuld be working.
     
  4. pfmartin

    pfmartin Well-Known Member

    Joined:
    Aug 18, 2001
    Messages:
    167
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Earth
    Someone have a copy of the old jsp-install for 4.03 ?? I am stuck and cannot find it anywhere. Thanks!
     
  5. reggie

    reggie Member

    Joined:
    Apr 10, 2002
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Latest tomcat seems to work

    I have just installed tomcat 4.1 cpanel install on a redhat 7.3 box, jsp works ok, will let you know how servlets go.
     
  6. hostito

    hostito Active Member

    Joined:
    Mar 9, 2003
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    I find that it works for me, but gives off all those debug errors, and grows in memory usage....

    I kill it, restart it and memory usage goes way down. I am reading up at apache site... not sure yet what it may be...

    Otherwise it works ok. Servlets/JSP that is...

    cPanel.net Support Ticket Number:
     
  7. PeteC

    PeteC Well-Known Member

    Joined:
    May 8, 2003
    Messages:
    106
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Texas
    This is just a wild guess, but do you know what Java compiler you're using? The Sun compiler is notorious for its memory leaks. Probably better to configure with IBM's Jikes. But I have never setup Tomcat on a server (only on a local test machine), so I don't know all the details.

    cPanel.net Support Ticket Number:
     
  8. russellhosting

    russellhosting Active Member

    Joined:
    Jun 19, 2003
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    6
    I just tried installing JSP support for one of our domains via WHM "Servlet Support" and it looked like it setup fine, but I still can't get it to serv any jsp files.

    Any ideas what I did wrong, or where I could look?

    Thanks!

    cPanel.net Support Ticket Number:
     
  9. hostit1

    hostit1 Well-Known Member

    Joined:
    Jul 24, 2003
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    0
    Step by Step instructions

    I attempted to install TomCat JSP, but after I "Install servlets" and try to test JSP, I always get a 404 (It's a jsp page, but it is a file not found 404)

    I am using just a generic web.xml and I have also tried the http://hostitnow.com/servlets/test.HelloTest and still a 404. (It was my understanding that the HelloTest is installed defalut to troubleshoot)

    cPanel.net Support Ticket Number:
     
  10. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    No demo/ test files are copied / created when you enable jsp on a domain. Only if those files are inside the skel directory will they be copied, otherwise not.

    cPanel.net Support Ticket Number:
     
  11. hostit1

    hostit1 Well-Known Member

    Joined:
    Jul 24, 2003
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    0
    Help

    How can I check if JSP is actually working? Are there any test files and web.xml sample that I can use to verify that JSP is working?

    cPanel.net Support Ticket Number:
     
  12. hostit1

    hostit1 Well-Known Member

    Joined:
    Jul 24, 2003
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    0
    Help

    How can I check if JSP is actually working? Are there any test files and web.xml sample that I can use to verify that JSP is working?

    cPanel.net Support Ticket Number:
     
  13. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Try this code below:


    <HTML>
    <HEAD><TITLE>Creating Hello World with Incremental Text Size
    Increase</TITLE></HEAD>

    <% for(int i = 1;i < 8;i++) { %>
    <FONT SIZE=<%=i%>>Anand - Hello World</FONT><BR>
    <% } %>
    <% for(int i = 7;i > 0;i--) { %>
    <FONT SIZE=<%=i%>>Hello World : anand</FONT><BR>
    <% } %>
    <br>
    <br>
    <br>
    <br>
    </BODY>
    </HTML>

    cPanel.net Support Ticket Number:
     
  14. hostit1

    hostit1 Well-Known Member

    Joined:
    Jul 24, 2003
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    0
    Thanks a bunch

    It works.

    Thanks a bunch

    cPanel.net Support Ticket Number:
     
  15. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    np :D

    cPanel.net Support Ticket Number:
     
  16. FusionBiz

    FusionBiz Member

    Joined:
    Sep 17, 2002
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Can you advise me if I installed Tomcat will there be a URL link to Tomcat Manager to manage Tomcat

    Thank You

    cPanel.net Support Ticket Number:
     
  17. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Open your whm once you install tomcat.

    you will find the option to install java support for domains inside it as well as a restart tomcat (i guess it is there, just check it)

    cheers!

    cPanel.net Support Ticket Number:
     
  18. ccccanada

    ccccanada Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    279
    Likes Received:
    0
    Trophy Points:
    16
    Can you please let me know where i could get some demo files to put into the cpanel3-skel folder??

    I have JSP support installed but when I enable an account for JSP nothing gets set up in the domain.

    Is there some files or folders which I should have in the cpanel3-skel and where do i get those files.

    Thanks any help would be gratly appreciated.

    cPanel.net Support Ticket Number:
     
  19. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    I had posted some sample code for checking working of tomcat, you can place the same code in skel directory for users. I also use the same with others as well. Sorry can't provide you with all the scripts that i use as i paid heavyly to get them done.

    I am sure though the hello.jsp which i posted earlier should work fine for your needs.

    cPanel.net Support Ticket Number:
     
  20. ccccanada

    ccccanada Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    279
    Likes Received:
    0
    Trophy Points:
    16
    Thank you anand that works great!!

    I have a quick question if you dont mind?

    I tried to set up a domain with JSP today and a dedicated IP address but the jsp would not work untill i tricked my computer into thinking the domain name had already propagated.

    Is it normal for that JSP wont work if the domain name is not propagated??

    Thanks again for your help.

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page