0
Apache的httpd配置我使用JBoss EAP 6.4.0具有羣集的JBoss EAP 6.4獨立environemnt
我正在使用相同的機器的JBoss獨立服務器的2個實例並形成簇。當我登錄到它們時,它工作正常。
現在,我正在嘗試使用mod_jk來加載平衡,以便我不需要使用端口來訪問應用程序。登錄頁面出現。提供憑據後,它會嘗試登錄並自動註銷。
我workers.properties文件:
# Define list of workers that will be used
# for mapping requests
# The configuration directives are valid
# for the mod_jk version 1.2.18 and later
#
worker.list=loadbalancer,status
# Define Node1
# modify the host as your host IP or DNS name.
worker.node1.port=8009
worker.node1.host=localhost
worker.node1.type=ajp13
worker.node1.lbfactor=1
worker.node1.prepost_timeout=10000 #Not required if using ping_mode=A
worker.node1.connect_timeout=10000 #Not required if using ping_mode=A
worker.node1.ping_mode=A #As of mod_jk 1.2.27
# Define Node2
worker.node2.port=8109
worker.node2.host=localhost
worker.node2.type=ajp13
worker.node2.lbfactor=1
worker.node2.prepost_timeout=10000 #Not required if using ping_mode=A
worker.node2.connect_timeout=10000 #Not required if using ping_mode=A
worker.node2.ping_mode=A #As of mod_jk 1.2.27
# Load-balancing behaviour
worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=node1,node2
worker.loadbalancer.sticky_session=TRUE
# Status worker for managing load balancer
worker.status.type=status
這在JBOSS EAP 5 任何想法,做工精細什麼,我丟失或如果這是可能到JBoss EAP 6.4。