我已经在 httpd 作为前端的 glassfishv3 上部署了 Apache Roller 5。Roller 运行良好,但当我访问它时,它通常就像是坏网关。
在这种情况下,像这样配置woker属性
worker.properties
worker.list=roller2
worker.roller2.port=8009
worker.roller2.host=localhost
worker.roller2.type=ajp13
worker.roller2.lbfactor=1
worker.roller2.socket_keepalive=1
worker.roller2.socket_timeout=60
在虚拟主机上
<VirtualHost *:80>
ServerName doma.com
DocumentRoot /var/www/roller
JkMount /roller/* roller2
JkMount /roller roller2
</VirtualHost>
我检查 mod_jk 登录 httpd 错误消息,如下所示
ajp_connection_tcp_get_message::jk_ajp_common.c (1150): (roller2) can't receive the response header message from tomcat, network problems or tomcat (127.0.0.1:8009) is down (errno=11)
还有其他配置可以调整 glassfish 吗?或任何解决此问题的建议?