You are not logged in.
Well, it's as simple as that.. I've followed the wiki on howto install tomcat, and after completing the first step (which is unpacking the files and installing them), i should be able to start the server, but I am not..
anybody here with a sollution!?
Offline
errr like what errors are you getting ?
Mr Green
Offline
I dont know.. when i run /etc/rc.d/tomcat start, it just fails...
nothing to be found in /var/log/errors.log
Offline
do you mean there are no error messages ?
Mr Green
Offline
well... yes, that is what i mean
Offline
right so you started tomcat in a terminal now open your browser....
& enter as per wiki then what happens ?
Mr Green
Offline
when i try to start tomcat, it fails to do so.. but i don't know why..
:: Starting Tomcat Daemon [FAIL]
Offline
temporarily edit the /etc/rc.d/tomcat script to remove the part that says >/dev/null. This will display more meaningful error messages.
Dusty
Offline
thanks for the tip...
well, the problem was that the JAVA_HOME environment variable was not defined correctly... I managed to fix it..
Offline
now i've installed tomcat... and actually it was working, before i tried to change the home dir... after changing the home dir the first time it worked, but then i changed it again, and now tomcat returns a http 500 error..
HTTP Status 500 - No Context configured to process this request
i've tried to undo the changes, but only to se the same error message
Offline
it's all working now.. thank you guys...
Offline
What did you do to fix it. I have the same problem -- got the index.jsp the first time - but now it does not work.
Offline
i want to known too...because i had the same problem
Arch - newbie
Offline
Hi eduac,
I had the same problem and I fixed in this way:
edit /etc/conf.d/tomcat and add these lines:
# JVM Location
JAVA_HOME=/opt/java
JRE_HOME=/opt/java/jre
Next edit /opt/tomcat/bin/catalina.sh and add:
# source application-specific settings
[ -f /etc/conf.d/tomcat ] && . /etc/conf.d/tomcat
Now it should be work.
Offline
now it works! thx a lot!
Arch - newbie
Offline