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.

Tomcat Update = Broke

Discussion in 'cPanel Developers' started by theonedotca, Sep 26, 2004.

  1. theonedotca

    theonedotca Member

    Joined:
    Jun 14, 2004
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    I just got a page from my server stating that the tomcat server has failed. Usually this is because I change the port number for tomcat and I need to modify the tomcat file in chkservd. I couldn't edit the file (that's an issue all in its own) the one big issue I have is that none of the domains can run JSP scripts, the tomcat server comes up with a 404 error. The server.xml file was not changed at all from the update, I tried to restart tomcat, remove and add servlets to accounts, and still none work, they come up with a 404 error.
     
  2. theonedotca

    theonedotca Member

    Joined:
    Jun 14, 2004
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    I fixed the problem by uninstalling and re-installing the tomcat addon.
     
  3. yogi73

    yogi73 Registered

    Joined:
    Jul 23, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    same problem

    I have the same problem as described by you and whenever a jsp page is requested I get a 404 error, even though the relevant JSP file is palced in the public_html directory of the account.
    I have cPanel 9.4.1-S65 installed on the server with RH 9. I installed tomcat via the "addon modules" in cPanel.

    Tomcat install was succesful and I can access the Tomcat Admin Page via:
    http://servername:8080/

    I then installed servlets for some domains. The WEB-INF directory was created under public_html. However, if the jsptest.jsp is called, it gives a 404 error.

    The Tomcat version installed on the server is 5.0.28

    Along with this problem, the Tomcat crashes every now and then. The load on the server is negligible as it is a test server.

    I'm at my wits end!
    I would be indebted if someone could help me on this one.
     
  4. theonedotca

    theonedotca Member

    Joined:
    Jun 14, 2004
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Did you try the above? I fixed my problem by uninstalling and reinstalling tomcat from WHM. This might be the fix for you, it won't affect the accounts, after reinstall it will add the domain info for which servlets have been enabled for during reinstall.
     
  5. Promethyl

    Promethyl Well-Known Member

    Joined:
    Mar 27, 2004
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    I also get the 404 page when referencing a file which exists for the particular host. Something is misconfigured, but I can't figure out where. Anyone else have this problem?

    HTTP Status 404 - /~usr/jsptest.jsp

    --------------------------------------------------------------------------------

    type Status report

    message /~usr/jsptest.jsp

    description The requested resource (/~usr/jsptest.jsp) is not available.


    --------------------------------------------------------------------------------

    Apache Tomcat/5.0.28
     
  6. cPanelBilly

    cPanelBilly Guest

    /~usr/jsptest.jsp will not work. Tomcat required a domain name to work.
     
  7. Promethyl

    Promethyl Well-Known Member

    Joined:
    Mar 27, 2004
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    6
    OK, at the dot com:

    I also get the 404 page when referencing a file which exists for the particular host. Something is misconfigured, but I can't figure out where. Anyone else have this problem?

    HTTP Status 404 - /jsptest.jsp

    --------------------------------------------------------------------------------

    type Status report

    message /jsptest.jsp

    description The requested resource (/jsptest.jsp) is not available.


    --------------------------------------------------------------------------------

    Apache Tomcat/5.0.28
     
  8. ukhost4u

    ukhost4u Active Member
    PartnerNOC

    Joined:
    Apr 24, 2003
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    How stable is the TomCat 5 release under cPanel Addon's. I used to use version 4 and I was not happy with its performance. Is version 5 now ready to use or do you not recommend it on a distrobution level yet?
     
  9. rmbnet

    rmbnet Well-Known Member

    Joined:
    Feb 22, 2004
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Broke here too, cant get any webapp to run at all. was running fine up until E57
     
  10. brentp

    brentp Well-Known Member

    Joined:
    Mar 11, 2004
    Messages:
    324
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Ayr, North Queensland, Australia
    Tomcat Broke

    Same here, try http://apebox.net for a demo of our errors.

    Anyone have a fix (running latest EDGE).

    Regards,
    Brent
     
  11. theonedotca

    theonedotca Member

    Joined:
    Jun 14, 2004
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    WOW I've posted this 3 times already, uninstall tomcat from WHM and then re-install it. It will configure your accounts for JSP support after the re-install.
     
  12. rmbnet

    rmbnet Well-Known Member

    Joined:
    Feb 22, 2004
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    wow guess what it doesnt fix it in all applications..
     
  13. theonedotca

    theonedotca Member

    Joined:
    Jun 14, 2004
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    wow, it fixed it all for my clients so i'm happy
     
  14. rmbnet

    rmbnet Well-Known Member

    Joined:
    Feb 22, 2004
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    >click< ..........
     
Loading...

Share This Page