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 failed

Discussion in 'General Discussion' started by Secret Agent, Jun 14, 2005.

  1. Secret Agent

    Secret Agent Guest

    tomcat has failed, please contact the sysadmin (result was "tomcat is not running").

    /scripts/updatenow
    /scripts/upcp --force
    cd /usr/local/cpanel/
    cd modules-install/
    ls |grep tom
    mv /usr/local/jdk1.5.0_02/ /usr/local/jdk1.5.0_02.off
    rm /usr/local/jdk-1_5_0_02-linux-i586.bin

    I also tried

    1. Go into whm and uninstall it under addon modules.
    2. SSH into your server, cd /usr/local
    3. rm -f -r -d jdk1.5.0_02 this will delete the folder contence.

    8080 is open in APF firewall

    I uninstalled / reinstalled several times via WHM, still failed.

    What to do?

    Also, Interchange is showing up as failed in stats on cpanel client side (X theme). Why? I have this disabled in service managed, unchecked in features, restarted checkserv, cpanel.
     
  2. Secret Agent

    Secret Agent Guest

    root@server004 [/scripts]# ./checkinterchange
    fail

    root@server004 [/scripts]# ./restartsrv_interchange

    root@server004 [/scripts]# ./fixinterchangeperm
    What user should I fix interchange permissions for?
    No such user at ./fixinterchangeperm line 16, <STDIN> line 1.

    root@server004 [/scripts]# /etc/interchangedisable
    -bash: /etc/interchangedisable: Permission denied
     
  3. MakassarNET

    MakassarNET Well-Known Member

    Joined:
    Dec 6, 2004
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    6
    Try to uninstall Tomcat from the WHM and reinstall it again. It's work for me.
     
  4. Secret Agent

    Secret Agent Guest

    Right, I made that clear that I did that already - several times as well
     
  5. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Remember that tomcat can and will fail if your users code crap. A badly formed web.xml in a users WEB-INF directory is generally one of the first place to look.
     
  6. Secret Agent

    Secret Agent Guest

    Actually it is a brand new server, it never worked and of course no one is using it / no servlets applied
     
  7. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    In that case, look at server.xml and any catalina.err logs generated. server.xml has been know to have some of the tags messed up.
     
  8. Secret Agent

    Secret Agent Guest

    This is the entire xml attached
     

    Attached Files:

  9. Secret Agent

    Secret Agent Guest

    Still facing this issue. Can someone please help?

    Please keep in mind I'm on Centos 3.5 x86_64

    I learned my lesson not to use 64bit OS with cPanel ;)
     
  10. Secret Agent

    Secret Agent Guest

    Bump :D

    Please help me out for the love of GOD

    I really tried every possible solution found on the forum but to no avail
     
  11. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    If it's necessary enough to pay for, I'd suggest sending dgbaker a pm and hiring him to install it for you. He's helped me out with a number of tomcat-related issues.
     
  12. Secret Agent

    Secret Agent Guest

    This is what the logs show

    [Mon Jul 25 12:10:15 2005] [error] map_uri_to_worker::jk_uri_worker_map.c (678): uri must start with /
     
  13. clara

    clara Member

    Joined:
    Aug 31, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    I have the exact same problem, tried everything, tomcat fails and www.domain.tld gives 500 internal server error.

    Log file: /usr/local/jakarta/jakarta-tomcat-5.5.7/logs/catalina.out gives the following line:

    /usr/local/jakarta/tomcat/bin/catalina.sh: line 242: /usr/local/jdk/bin/java: No such file or directory

    now what do I do with this?

    Thank you
     
  14. hkewell

    hkewell Well-Known Member

    Joined:
    May 17, 2002
    Messages:
    170
    Likes Received:
    0
    Trophy Points:
    0
    After upgrade Tomcat 5.5.7. All jsp page is 404 now

    After upgrade Tomcat 5.5.7. All jsp page is 404 now....WHY ??? :confused:


    HTTP Status 404 - /truetoneweb/jsp/us/home.jsp

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

    type Status report

    message /truetoneweb/jsp/us/home.jsp

    description The requested resource (/truetoneweb/jsp/us/home.jsp) is not available.


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

    Apache Tomcat/5.5.7
     
  15. clara

    clara Member

    Joined:
    Aug 31, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    huh!

    finally solved! Don't trust whm restart-status services. These are the steps( many people posted this, but I managed to mess it up):

    /scripts/upcp --force
    cd usr/local/cpanel/modules-install/tomcat-Linux-i686, run install (./install)
    http://localhost :8080/

    This is the part when you get your tomcat running.
     
  16. clara

    clara Member

    Joined:
    Aug 31, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    After this, my problems with 500 internal error, 404, include file jsp and such stopped.
     
  17. Secret Agent

    Secret Agent Guest

    Tomcat failed (Centos 4.1)

    I unstinstalled and ran this:

    rm -rf /usr/local/jdk1.5.0_02
    /scripts/upcp --force (current version)
    reinstalled via whm

    Still fails


    tomcat has failed, please contact the sysadmin (result was "tomcat is not running").
     
  18. clara

    clara Member

    Joined:
    Aug 31, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Why via whm? I even managed to get it started once, after uninstalling and installing it a thousand times, and guess what? No configuration file even existed! No server.xml. Total mess. My suggestion is to forget restart services in whm, ssh to your server or however.
     
  19. darkelder

    darkelder Well-Known Member

    Joined:
    Oct 8, 2004
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    6
  20. tuxdesk

    tuxdesk Well-Known Member

    Joined:
    Oct 1, 2005
    Messages:
    86
    Likes Received:
    0
    Trophy Points:
    6
    install tomcat through backend addon module path. It works for me
     
Loading...

Share This Page