You are not logged in.

#1 2004-09-06 16:28:03

newbie_dk
Member
Registered: 2004-07-22
Posts: 14

I followed the wiki, but tomcat wont start!

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

#2 2004-09-06 17:08:46

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: I followed the wiki, but tomcat wont start!

errr like what errors are you getting ?


Mr Green

Offline

#3 2004-09-06 17:42:23

newbie_dk
Member
Registered: 2004-07-22
Posts: 14

Re: I followed the wiki, but tomcat wont start!

I dont know.. when i run /etc/rc.d/tomcat start, it just fails...

nothing to be found in /var/log/errors.log

Offline

#4 2004-09-06 18:29:02

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: I followed the wiki, but tomcat wont start!

do you mean there are no error messages ?


Mr Green

Offline

#5 2004-09-06 19:34:52

newbie_dk
Member
Registered: 2004-07-22
Posts: 14

Re: I followed the wiki, but tomcat wont start!

well... yes, that is what i mean smile

Offline

#6 2004-09-06 19:53:29

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: I followed the wiki, but tomcat wont start!

right so you started tomcat in a terminal now open your browser....

& enter as per wiki then what happens ?


Mr Green

Offline

#7 2004-09-06 19:57:52

newbie_dk
Member
Registered: 2004-07-22
Posts: 14

Re: I followed the wiki, but tomcat wont start!

when i try to start tomcat, it fails to do so.. but i don't know why..

:: Starting Tomcat Daemon                                                [FAIL]

sad

Offline

#8 2004-09-06 20:44:03

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: I followed the wiki, but tomcat wont start!

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

#9 2004-09-07 19:47:28

newbie_dk
Member
Registered: 2004-07-22
Posts: 14

Re: I followed the wiki, but tomcat wont start!

thanks for the tip...

well, the problem was that the JAVA_HOME environment variable was not defined correctly... I managed to fix it.. smile

Offline

#10 2004-09-07 19:50:58

newbie_dk
Member
Registered: 2004-07-22
Posts: 14

Re: I followed the wiki, but tomcat wont start!

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 sad

Offline

#11 2004-09-07 20:51:54

newbie_dk
Member
Registered: 2004-07-22
Posts: 14

Re: I followed the wiki, but tomcat wont start!

it's all working now.. thank you guys...

Offline

#12 2005-03-15 15:59:07

molinero
Member
From: Copenhagen/Denmark
Registered: 2004-09-19
Posts: 110

Re: I followed the wiki, but tomcat wont start!

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

#13 2006-07-29 15:53:41

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: I followed the wiki, but tomcat wont start!

i want to known too...because i had the same problem


Arch - newbie

Offline

#14 2006-07-30 12:45:16

luca
Member
From: Rome
Registered: 2005-10-30
Posts: 280

Re: I followed the wiki, but tomcat wont start!

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

#15 2006-07-31 02:16:50

eduac
Member
Registered: 2006-03-17
Posts: 123

Re: I followed the wiki, but tomcat wont start!

now it works! thx a lot!


Arch - newbie

Offline

Board footer

Powered by FluxBB