A typo "localhost" caused the errors in log files. However, still can not
get it work, it gives me
HTTP 500 - Internal server error when I tried
"http://localhost/servlets-examples/index.html";
Checked the log file:

[Fri Dec 02 17:39:27 2005] [1260:2620] [debug] jk_uri_worker_map.c (449):
Attempting to map URI '/servlets-examples/index.html' from 2 maps
[Fri Dec 02 17:39:27 2005] [1260:2620] [debug] jk_uri_worker_map.c (461):
Attempting to map context URI '/servlets-examples/*'
[Fri Dec 02 17:39:27 2005] [1260:2620] [debug] jk_uri_worker_map.c (475):
Found a wildchar match testWorker -> /servlets-examples/*
[Fri Dec 02 17:39:27 2005] [1260:2620] [debug] jk_isapi_plugin.c (845):
check if [/servlets-examples/index.html] is points to the web-inf directory
[Fri Dec 02 17:39:27 2005] [1260:2620] [debug] jk_isapi_plugin.c (863):
[/servlets-examples/index.html] is a servlet url - should redirect to
testWorker
So, it seems redirect to my testWorker fine. Anyone knows what the problem
is it?

Thanks a lot again
David

-----Original Message-----
From: David Chen [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 02, 2005 5:25 PM
To: users@tomcat.apache.org
Subject: 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
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to