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.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!