On 04.06.2009 19:27, dljohnson69 wrote: > The isapi.log is the only one I know of (maybe the same)let me know if the > name of any other logs you think would help. Here is the error part of the > isapi.log > > [Thu Jun 04 10:32:59.985 2009] [4272:4316] [info] > ajp_connection_tcp_get_message::jk_ajp_common.c (1143): (wlb) can't receive > the response header message from tomcat, tomcat (127.0.0.1:8010) has forced > a connection close for socket 592
<wildGuess>Wrong port? Default AJP port is 8009, you are using 8010 here. Make sure you use the AJP port of tomcat not the HTTP port.</wildGuess> > [Thu Jun 04 10:32:59.985 2009] [4272:4316] [error] > ajp_get_reply::jk_ajp_common.c (1962): (wlb) Tomcat is down or refused > connection. No response has been sent to the client (yet) > [Thu Jun 04 10:32:59.985 2009] [4272:4316] [info] > ajp_service::jk_ajp_common.c (2447): (wlb) sending request to tomcat failed > (recoverable), (attempt=2) > [Thu Jun 04 10:32:59.985 2009] [4272:4316] [error] > ajp_service::jk_ajp_common.c (2466): (wlb) connecting to tomcat failed. > [Thu Jun 04 10:32:59.985 2009] [4272:4316] [error] > HttpExtensionProc::jk_isapi_plugin.c (2200): service() failed with http > error 502 > [Thu Jun 04 10:32:59.985 2009] [4272:4316] [debug] > ajp_reset_endpoint::jk_ajp_common.c (743): (wlb) resetting endpoint with sd > = 4294967295 (socket shutdown) > [Thu Jun 04 10:32:59.985 2009] [4272:4316] [debug] ajp_done::jk_ajp_common.c > (2905): recycling connection pool slot=0 for worker wlb > [Thu Jun 04 10:53:08.555 2009] [4272:4736] [info] > TerminateFilter::jk_isapi_plugin.c (2250): > Jakarta/ISAPI/isapi_redirector/1.2.28 stopping > [Thu Jun 04 10:53:08.555 2009] [4272:4736] [debug] > close_workers::jk_worker.c (218): close_workers will destroy worker wlb > [Thu Jun 04 10:53:08.555 2009] [4272:4736] [debug] > ajp_destroy::jk_ajp_common.c (2846): up to 250 endpoints to close > > > Christopher Schultz-2 wrote: > dl, > > On 6/4/2009 10:42 AM, dljohnson69 wrote: >>>> I now have a simple workers.properties and uri file with the latest >>>> 1.2.28 >>>> redirector but no matter what I try I only get "incorrect function" >>>> returned >>>> to the browser. 1st error in log is >>>> [error] jk_shm_calculate_size::jk_shm.c (120): Could not get member list >>>> for >>>> lb worker from map >>>> [error] validate::jk_lb_worker.c (1647): NULL parameters >>>> [error] wc_create_worker::jk_worker.c (163): validate failed for wlb >>>> >>>> workers.properties >>>> worker.list=wlb >>>> >>>> worker.wlb.type=lb >>>> worker.wlb.host=localhost >>>> worker.wlb.port=8010 > 'port' is inappropriate for the lb worker. Instead, you need to define > 'balance_workers' for the lb balancer, instead. > > http://tomcat.apache.org/connectors-doc/reference/workers.html#Load%20Balancing%20Directives > >>>> When I change the 'type' to ajp13 I get a 502 'bad gateway' error. > Do you get any errors in the mod_jk log file when this error occurs? If > so, please post them. > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org