I just put tomcat 5.0.28 on a server running Apache 1.3.33.
I thought I had it all configured perfectly. However, Apache seems to yeild
all the time to Tomcat. In tomcat's server.xml file, I replaced all
instances of "localhost" with "64.233.244.104". Likewise in
workers.properties.
In httpd.conf, I have :
JkMount /gg/servlet/* example
which properly executes the servlet 64.233.244.104/gg/servlet/IsItWorking
However, on the server, I get a dialog box which say:
Apache port (80) is used by ""(tomcat5.exe) !
I notice my apache server is not serving up any pages -- they are all being
served up by Tomcat. Does anyone have any clue where I can look to solve
this? Thanks, Ike
IchBin - 04 Oct 2006 04:54 GMT
> I just put tomcat 5.0.28 on a server running Apache 1.3.33.
>
[quoted text clipped - 16 lines]
> served up by Tomcat. Does anyone have any clue where I can look to solve
> this? Thanks, Ike
Typically you set port 80 for Apache and port 8080 for Tomcat.

Signature
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
__________________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
IchBin - 04 Oct 2006 04:59 GMT
> I just put tomcat 5.0.28 on a server running Apache 1.3.33.
>
[quoted text clipped - 16 lines]
> served up by Tomcat. Does anyone have any clue where I can look to solve
> this? Thanks, Ike
Typically you set port 80 to Apache and port 8080 to Tomcat.
I assume that you setup the mode_JK module and the workers.properties file.
workers,properities:
workers.tomcat_home=C:\ApacheGroup\Tomcat5.5
workers.java_home=C:\Progra~1\Java\JDK15~2.0_0
# ps=\ on NT and / on UNIX
ps=\
#
# Defining a worker named default and of type ajp13
# Note that the name and the type do not have to match.
#
worker.list=default
worker.default.port=8009
worker.default.host=localhost
worker.default.type=ajp13
#
# lbfactor specifies the load balance factor when used with
# a load balancing worker.
# Note:
# ----> lbfactor must be > 0
# ----> Low lbfactor means less work done by the worker.
worker.default.lbfactor=1

Signature
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
__________________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Simon Brooke - 04 Oct 2006 10:17 GMT
> I just put tomcat 5.0.28 on a server running Apache 1.3.33.
>
> I thought I had it all configured perfectly. However, Apache seems to
> yeild
> all the time to Tomcat.
You cannot run both Apache and Tomcat on the same port, which is what I
suspect you're trying to do. When the first starts up it will bind to the
port, and the second will fail. Run Tomcat on a separate port - by default
8080 - and use mod_jk to broker requests between Apache and Tomcat.

Signature
simon@jasmine.org.uk (Simon Brooke) http://www.jasmine.org.uk/~simon/
'Victories are not solutions.'
;; John Hume, Northern Irish politician, on Radio Scotland 1/2/95
;; Nobel Peace Prize laureate 1998; few have deserved it so much
Ike - 04 Oct 2006 13:48 GMT
Thanks guys!
Yes, I had mistakenly had:
<Service name="Catalina">
<Connector port="80" ....
instead of
<Connector port="8080"
Thanks again -- I would have looked forever without your help! -Ike