Apache mod_jk-无法获取空闲端点
我使用Apache/2.2.14(Worker MPM)+libapache2 mod jk 1.2.28-2+tomcat 6.0.24让我的应用程序在一台机器上与CGI和Java一起工作。我遇到mod_jk的问题(我不确定): 错误Apache mod_jk-无法获取空闲端点,apache,tomcat,tomcat6,mod-jk,Apache,Tomcat,Tomcat6,Mod Jk,我使用Apache/2.2.14(Worker MPM)+libapache2 mod jk 1.2.28-2+tomcat 6.0.24让我的应用程序在一台机器上与CGI和Java一起工作。我遇到mod_jk的问题(我不确定): 错误 Internal Server Error [info] "ajp_get_endpoint::jk_ajp_common.c (3001): Unable to get the free endpoint for worker ajp13 from 10 sl
Internal Server Error
[info] "ajp_get_endpoint::jk_ajp_common.c (3001): Unable to get the free endpoint for worker ajp13 from 10 slots"
[error] jk_handler::mod_jk.c (2549): Could not get endpoint for worker=ajp13
只有在使用远程代理服务器时,才会发生这种情况。直接联系似乎在起作用
jk_工人。属性:
worker.list=ajp13
worker.ajp13.type=ajp13
worker.ajp13.host=localhost
worker.ajp13.port=8009
worker.ajp13.lbfactor=50
worker.ajp13.cachesize=10
worker.ajp13.cache_timeout=600
worker.ajp13.socket_keepalive=1
mods已启用/jk.conf
JkWorkersFile /etc/apache2/jk_workers.properties
JkLogFile /var/log/apache2/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
JkShmFile /var/log/apache2/jk-runtime-status
请尝试删除并再次测试。谢谢您的回复。我确实从jk_workers.properties中删除了cachesize和cache_timeout,并且它可以工作…-)