That was the problem, I had edited the http instead of the AJP connector
section in the server.xml.  It now does a redirect.  I'll play with the load
balancer and other connector info. 

Christopher Schultz-2 wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 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.
> 
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAkooAKgACgkQ9CaO5/Lv0PAUpwCdGq/7vlKLBIeS0m5Ha/RQwGQF
> uX0An1Xi2ow0Ftlp8gS3xo5pHmhaqbKz
> =mZen
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/ISAPI-incorrect-function-tp23871342p23888951.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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

Reply via email to