Redian新闻
>
Jboss Failover (unplug network cable)
avatar
Jboss Failover (unplug network cable)# Java - 爪哇娇娃
r*t
1
Hi, guys
I am sorry to bother you, actually I have two servers (A and B) in my
clustering, both run w2k and jboss4.0.2.
I have a stateful session bean run on two server, and one standalone client
run on one server (A). when I try the failover function of Jboss, I found that
if I kill one server by Ctrl+C, my standalone client will not notice it, so it
failover to another server perfectly. However, if I unplug the network cable
of server B, I found that it will take extreme long time to failover
avatar
r*t
2
I have changed the cluster-service.xml, so if I unplug B, A will detect it
alsmost instantly, however. It still take a long time to do the failover, I go
through the log info, and found:
2005-06-01 17:45:56,897 DEBUG
[org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] End
notifyListeners, viewID: 10
2005-06-01 17:46:52,297 DEBUG [org.jboss.ha.framework.server.HAPartitionImpl]
dests=[],
method_call=SessionState-'/HASessionState/Default'._setOwnership(ejb/MyBank,
192.168.1.100:1099:e9

【在 r*t 的大作中提到】
: Hi, guys
: I am sorry to bother you, actually I have two servers (A and B) in my
: clustering, both run w2k and jboss4.0.2.
: I have a stateful session bean run on two server, and one standalone client
: run on one server (A). when I try the failover function of Jboss, I found that
: if I kill one server by Ctrl+C, my standalone client will not notice it, so it
: failover to another server perfectly. However, if I unplug the network cable
: of server B, I found that it will take extreme long time to failover

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。