tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: Tomcat 6.0.18/ IIS 6.0 /SSL
Date Thu, 05 Aug 2010 14:30:34 GMT
See inline

On 05.08.2010 15:15, Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00 wrote:
> Rainer,
> Thanks again for being patient with me. I've seen some different behavior
> this morning. When I am trying to access my page, I get "Service Temporary
> Unavailable", which is better than what I was receiving.
>
> [Thu Aug 05 09:12:49.655 2010] [10216:8452] [debug] jk_uri_worker_map.c
> (1036): Attempting to map URI '/geoweb1b.eims.local/geoportal' from 2 maps
> [Thu Aug 05 09:12:49.686 2010] [10216:8452] [debug] jk_uri_worker_map.c
> (850): Attempting to map context URI '/geoportal/*=worker1' source
> 'uriworkermap'
> [Thu Aug 05 09:12:49.702 2010] [10216:8452] [debug] jk_uri_worker_map.c
> (850): Attempting to map context URI '/geoportal=worker1' source
> 'uriworkermap'
> [Thu Aug 05 09:12:49.733 2010] [10216:8452] [debug] jk_uri_worker_map.c
> (850): Attempting to map context URI '/geoportal/*=worker1' source
> 'uriworkermap'
> [Thu Aug 05 09:12:49.749 2010] [10216:8452] [debug] jk_uri_worker_map.c
> (850): Attempting to map context URI '/geoportal=worker1' source
> 'uriworkermap'
> [Thu Aug 05 09:12:49.764 2010] [10216:8452] [debug] jk_uri_worker_map.c
> (873): Found an exact match '/geoportal=worker1'

OK, uriworkermap.proprties worked, it found a match and wants to use the 
worker named "worker1".

> [Thu Aug 05 09:12:49.780 2010] [10216:8452] [debug] jk_isapi_plugin.c
> (1916): check if [/geoportal] points to the web-inf directory
> [Thu Aug 05 09:12:49.795 2010] [10216:8452] [debug] jk_isapi_plugin.c
> (1932): [/geoportal] is a servlet url - should redirect to worker1
> [Thu Aug 05 09:12:49.811 2010] [10216:8452] [debug] jk_isapi_plugin.c
> (1972): fowarding escaped URI [/geoportal]
> [Thu Aug 05 09:12:49.827 2010] [10216:8452] [debug] jk_worker.c (339):
> Maintaining worker worker1
> [Thu Aug 05 09:12:49.842 2010] [10216:8452] [debug] jk_isapi_plugin.c
> (2792): Reading extension header HTTP_TOMCATWORKER6A6B0000: worker1
> [Thu Aug 05 09:12:49.858 2010] [10216:8452] [debug] jk_isapi_plugin.c
> (2793): Reading extension header HTTP_TOMCATWORKERIDX6A6B0000: 1
> [Thu Aug 05 09:12:49.889 2010] [10216:8452] [debug] jk_isapi_plugin.c
> (2794): Reading extension header HTTP_TOMCATURI6A6B0000: /geoportal
> [Thu Aug 05 09:12:49.905 2010] [10216:8452] [debug] jk_isapi_plugin.c
> (2795): Reading extension header HTTP_TOMCATQUERY6A6B0000: (null)
> [Thu Aug 05 09:12:49.920 2010] [10216:8452] [debug] jk_isapi_plugin.c
> (2850): Applying service extensions
> [Thu Aug 05 09:12:49.936 2010] [10216:8452] [debug] jk_isapi_plugin.c
> (2930): Client Certificate encoding:1 sz:1022 flags:1
> [Thu Aug 05 09:12:49.952 2010] [10216:8452] [debug] jk_isapi_plugin.c
> (3108): Service protocol=HTTP/1.1 method=GET host=150.xxx.xx.xx
> addr=150.xxx.xx.xx name=myserver.server.local port=443 auth=SSL/PCT
> user=EIMS\john.doe uri=/geoportal
> [Thu Aug 05 09:12:49.967 2010] [10216:8452] [debug] jk_isapi_plugin.c
> (3120): Service request headers=8 attributes=9 chunked=no content-length=0
> available=0
> [Thu Aug 05 09:12:49.983 2010] [10216:8452] [debug] jk_worker.c (116): found
> a worker worker1
> [Thu Aug 05 09:12:49.999 2010] [10216:8452] [debug] jk_isapi_plugin.c
> (2162): got a worker for name worker1
> [Thu Aug 05 09:12:50.030 2010] [10216:8452] [debug] jk_ajp_common.c (3093):
> acquired connection pool slot=0 after 0 retries
> [Thu Aug 05 09:12:50.045 2010] [10216:8452] [debug] jk_ajp_common.c (605):
> ajp marshaling done
> [Thu Aug 05 09:12:50.061 2010] [10216:8452] [debug] jk_ajp_common.c (2376):
> processing worker1 with 2 retries
> [Thu Aug 05 09:12:50.077 2010] [10216:8452] [debug] jk_ajp_common.c (1579):
> (worker1) all endpoints are disconnected.
> [Thu Aug 05 09:12:50.092 2010] [10216:8452] [debug] jk_connect.c (480):
> socket TCP_NODELAY set to On
> [Thu Aug 05 09:12:50.108 2010] [10216:8452] [debug] jk_connect.c (604):
> trying to connect socket 712 to 127.0.0.1:8009

Here it tries to open a new connction to the address 127.0.0.1 and port 
8009 (as configured for the worker named worker1 in workers.properties).

> [Thu Aug 05 09:12:51.061 2010] [10216:8452] [info] jk_connect.c (622):
> connect to 127.0.0.1:8009 failed (errno=61)

It fails to open a TCP connection. Error is 61, which means winsock 
10061, which is "Connection refused".

So either your Tomcat isn't started or not listening on port 8009 on 
localhost, or something else (Firewal etc.) blocks access to that port.

Check whether you can see Tomcat listening on 8009 using "netstat -ano". 
You should see "*:8009" in status LISTEN and the pid would be the 
process ID of your Tomcat Java process. If it is there, you can try 
whether you can connect to that port using telnet. As long as you can't 
connect, the redirector can't either.

If Tomcat is running on some other system, you need to adjust 
worker.worker1.host in workers.properties accordingly.

> [Thu Aug 05 09:12:51.061 2010] [10216:8452] [info] jk_ajp_common.c (959):
> Failed opening socket to (127.0.0.1:8009) (errno=61)
> [Thu Aug 05 09:12:51.092 2010] [10216:8452] [error] jk_ajp_common.c (1585):
> (worker1) connecting to backend failed. Tomcat is probably not started or is
> listening on the wrong port (errno=61)
> [Thu Aug 05 09:12:51.108 2010] [10216:8452] [info] jk_ajp_common.c (2540):
> (worker1) sending request to tomcat failed (recoverable), because of error
> during request sending (attempt=1)
> [Thu Aug 05 09:12:51.124 2010] [10216:8452] [debug] jk_ajp_common.c (2397):
> retry 1, sleeping for 100 ms before retrying
> [Thu Aug 05 09:12:51.249 2010] [10216:8452] [debug] jk_ajp_common.c (1579):
> (worker1) all endpoints are disconnected.
> [Thu Aug 05 09:12:51.249 2010] [10216:8452] [debug] jk_connect.c (480):
> socket TCP_NODELAY set to On
> [Thu Aug 05 09:12:51.280 2010] [10216:8452] [debug] jk_connect.c (604):
> trying to connect socket 712 to 127.0.0.1:8009
> [Thu Aug 05 09:12:52.264 2010] [10216:8452] [info] jk_connect.c (622):
> connect to 127.0.0.1:8009 failed (errno=61)
> [Thu Aug 05 09:12:52.280 2010] [10216:8452] [info] jk_ajp_common.c (959):
> Failed opening socket to (127.0.0.1:8009) (errno=61)
> [Thu Aug 05 09:12:52.295 2010] [10216:8452] [error] jk_ajp_common.c (1585):
> (worker1) connecting to backend failed. Tomcat is probably not started or is
> listening on the wrong port (errno=61)
> [Thu Aug 05 09:12:52.311 2010] [10216:8452] [info] jk_ajp_common.c (2540):
> (worker1) sending request to tomcat failed (recoverable), because of error
> during request sending (attempt=2)
> [Thu Aug 05 09:12:52.327 2010] [10216:8452] [error] jk_ajp_common.c (2559):
> (worker1) connecting to tomcat failed.
> [Thu Aug 05 09:12:52.342 2010] [10216:8452] [error] jk_isapi_plugin.c
> (2195): service() failed with http error 503
> [Thu Aug 05 09:12:52.374 2010] [10216:8452] [debug] jk_ajp_common.c (757):
> (worker1) resetting endpoint with sd = 4294967295 (socket shutdown)
> [Thu Aug 05 09:12:52.389 2010] [10216:8452] [debug] jk_ajp_common.c (3010):
> recycling connection pool slot=0 for worker worker1

Regards,

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message