[ILUG] Running Tomcat?

Michael Armbrecht marmbrecht at eircom.net
Thu Mar 10 00:14:40 GMT 2005


Am Mittwoch, 9. März 2005 18:59 schrieb Linux ilug:
> Hey Lads,
>
> I'm trying to get Tomcat to run on Suse 9.2.  I have installed JDK,
> this is resident in
>
> /usr/lib/java
>
> and I have created an environmental variable $JAVA_HOME pointing to
> the above directory.  On top of this I have installed Tomcat to
>
> /Work/jakarta-tomcat-5.5.8
>
> and created another environmental variable &CATALINA_HOME again point
> to the above directory. Now I have used the following command to start
> the server:
>
> $CATALINA_HOME/bin/startup.sh
>
> which provides the following output
>
> linux:/Work/jakarta-tomcat-5.5.8 # $CATALINA_HOME/bin/startup.sh
> Using CATALINA_BASE:   /Work/jakarta-tomcat-5.5.8/
> Using CATALINA_HOME:   /Work/jakarta-tomcat-5.5.8/
> Using CATALINA_TMPDIR: /Work/jakarta-tomcat-5.5.8//temp
> Using JRE_HOME:       /usr/lib/jvm/java/jre
> linux:/Work/jakarta-tomcat-5.5.8 #
>
> Now if I go to http://127.0.0.1:8080 (Which is the default according
> to documentation) I get a connection error as thought the server were
> not there, meanwhile when I list Processes running I can't see any
> reference to Tomcat

If you're on SuSE, you probably have the firewall running. Try checking it in 
YAST and, if necessary, open up port 8080.

ps aux | grep -i tomcat should definitely show a process, if it's not there, 
something else is also wrong.

In $CATALINA_HOME/logs there should be a file called catalina.out, which also 
might have some information about what could be the problem.

Michael

-- 
The meek shall inherit the earth -- they are too weak to refuse.



More information about the ILUG mailing list