You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Chen <Da...@digital-dispatch.com> on 2005/12/03 02:24:30 UTC

Help needed to set tomcat5.0.28 and IIS 5

Hi, there:
 
I tried to set my tomcat 5.0.28 working with IIS 5 in my windows 2000
system, followed exactly steps listed in the document, unfortunately no luck
so far. Could anyone here help me through it.
My question is:
should I change my server.xml to configure 8009 port?
the current server.xml looks like:
    <Connector port="8009" 
               enableLookups="false" redirectPort="8443" debug="0"
               protocol="AJP/1.3" />
checking internet, some one said to configure tomcat 4.1.x, I should modify
server.xml as:
    <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="8009" minProcessors="5" maxProcessors="75"
               acceptCount="10" debug="0"/>
 
So, again should I change server.xml in tomcat5.0.28 as well? (by the way,
where is that org.apache.ajp.tomcat4.Ajp13Connector class?)
Also checked document in TomCat, it said for IIS5, IIS6, it requires some
extra steps, however the link for those steps are not available any longer,
does anyone knows what extra steps to configure IIS5?
And here is my workers.properties:
worker.list=testWorker
worker.testWorker.type=ajp13
worker.testWorker.host=locahost
worker.testWorker.port=8009
worker.testWorker.lbfactor=1
worker.testWorker.cachesize=10
worker.testWorker.cache_timeout=600
worker.testWorker.socket_keepalive=1
worker.testWorker.socket_timeout=60
 
Checked log file, it gives me error:
[Fri Dec 02 17:19:02 2005] [1260:1744] [error] jk_ajp_common.c (1815): can't
resolve tomcat address localhost
[Fri Dec 02 17:19:02 2005] [1260:1744] [error] jk_ajp_common.c (1818):
invalid host and port locahost 8009
[Fri Dec 02 17:19:02 2005] [1260:1744] [debug] jk_ajp_common.c (2012): up to
0 endpoints to close
[Fri Dec 02 17:19:02 2005] [1260:1744] [error] jk_worker.c (158): validate
failed for testWorker
[Fri Dec 02 17:19:02 2005] [1260:1744] [error] jk_worker.c (256): failed to
create worker testWorker
 
Thanks a lot for any comments or suggestions.
 
David