S

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.
 
S

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
 
S

Secret Agent

Guest
Right, I made that clear that I did that already - several times as well
 
S

Secret Agent

Guest
Actually it is a brand new server, it never worked and of course no one is using it / no servlets applied
 
S

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 ;)
 
S

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
 

casey

Well-Known Member
Jan 17, 2003
2,288
0
191
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.
 
S

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 /
 

clara

Member
Aug 31, 2005
21
0
151
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
 

hkewell

Well-Known Member
May 17, 2002
170
0
316
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
 

clara

Member
Aug 31, 2005
21
0
151
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.
 

clara

Member
Aug 31, 2005
21
0
151
After this, my problems with 500 internal error, 404, include file jsp and such stopped.
 
S

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").
 

clara

Member
Aug 31, 2005
21
0
151
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.
 

tuxdesk

Well-Known Member
Oct 1, 2005
86
0
156
install tomcat through backend addon module path. It works for me