I am a new user of Apache and of Tomcat. I am using a Redhat AS 4.0
system. I am running Apache V2.0.54 and my version of Tomcat is 5.5.9.
I believe my apache installation is okay because when I go to localhost I
see the apache welcome screen. When I go to localhost:8080 I see the
Tomcat welcome screen. For a short while, when I went to localhost I
actually saw the Tomcat welcome screen and could run the samples there.
The only thing missing were the Tomcat icons etc.
However, I have "improved" my installation to the point where tomcat is no
longer serving for apache, ie. at localhost I see the apache welcome
screen. When I peer around at various log files I do not see any obvious
errors. Needless to say - I am going nowhere!
Can anyone help me? Point me in the right direction at least?!
Thanks in advance,
Kathy Faella
University of Rhode Island
a netstat -ln returns:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address
State
tcp 0 0 0.0.0.0:111 0.0.0.0:*
LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:*
LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:*
LISTEN
tcp 0 0 ::ffff:127.0.0.1:8005 :::*
LISTEN
tcp 0 0 :::8009 :::*
LISTEN
tcp 0 0 :::80 :::*
LISTEN
tcp 0 0 :::8080 :::*
LISTEN
tcp 0 0 :::22 :::*
LISTEN
udp 0 0 0.0.0.0:111 0.0.0.0:*
udp 0 0 0.0.0.0:631 0.0.0.0:*
udp 0 0 198.168.1.76:123 0.0.0.0:*
udp 0 0 131.128.1.76:123 0.0.0.0:*
udp 0 0 127.0.0.1:123 0.0.0.0:*
udp 0 0 0.0.0.0:123 0.0.0.0:*
udp 0 0 :::123 :::*
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 5899 /dev/gpmctl
unix 2 [ ACC ] STREAM LISTENING 5986
/tmp/.font-unix/fs7100
unix 2 [ ACC ] STREAM LISTENING 5515
/var/run/acpid.socket
unix 2 [ ACC ] STREAM LISTENING 6062
/var/run/dbus/system_bus_socket
*** To the default httpd.conf I added:
LoadModule jk_module modules/mod_jk.so
#
# Configure mod_jk *** kmf ***
#
JkWorkersFile "/usr/local/apache2/conf/workers.properties"
JkLogFile "/usr/local/apache2/logs/mod_jk.log"
JkLogLevel info
JkShmFile "/var/log/httpd/jkshmfile"
JkShmSize 20M
*** my workers.properties ***
# workers.properties.minimal -
#
# This file provides minimal jk configuration properties needed to
# connect to Tomcat.
#
# The workers that jk should create and work with
#
worker.list=loadbalancer
#
# Defining a worker named ajp13w and of type ajp13
# Note that the name and the type do not have to match.
#
worker.ajp13w.type=ajp13
worker.ajp13w.host=localhost
worker.ajp13w.port=8009
# add any new workers to the list here to have them balanced
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13w
workers.tomcat_home=/usr/local/src/jakarta-tomcat-5.5.9
workers.java_home=/usr/java/jdk1.5.0_03
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]