请教一个apache+weblogic的配置转发问题
apache 2.2 + weblogic10
1)weblogic集群, 集群中有三个server。 端口分别为 7000,7001,7002。
apache的httpd.conf中配置 Listen 80
apache和weblogic的2个server都在同一台服务器上,IP地址相同。第三个server单独一个服务器
2)apache安装weblogic插件,apache的转发配置中,设置如下,希望请求都转发到7001和7002上
# TM3Weblogic.conf
# @ver3.x
# dispatch for server group: framework
MatchExpression /ServiceDispatcherServlet WebLogicCluster=20.12.2.52:7001,20.12.2.51:7002
MatchExpression /ServiceDispatcherServlet/framework WebLogicCluster=20.12.2.52:7001,20.12.2.51:7002
MatchExpression /ServiceDispatcherServlet/framework/* WebLogicCluster=20.12.2.52:7001,20.12.2.51:7002
MatchExpression /CodeSynServlet WebLogicCluster=20.12.2.52:7001,20.12.2.51:7002
MatchExpression /* WebLogicCluster=20.12.2.52:7001,20.12.2.51:7002
# dispatch for server group: default
MatchExpression /ServiceDispatcherServlet/default WebLogicCluster=20.12.2.52:7001,20.12.2.51:7002
MatchExpression /ServiceDispatcherServlet/default/* WebLogicCluster=20.12.2.52:7001,20.12.2.51:7002
目前的问题是,会有请求转发到7000上,而且转发到三个服务器上几率基本一样,出问题时发送的请求为:
Request URL:http://20.12.2.52/portal/pt/login/getPUConfig?isAdminPage=false&_=1414205788344
不稳定重现,而且重新配置后往往可能就好了
请教有啥解决方法或者有什么方法进一步定位问题,多谢!