错误剪辑

TOMCAT集群配置好后运行正常,首次访问该服务后出现以下错误:
警告: Error receiving mcast package. Sleeping 500ms
java.lang.IllegalArgumentException: Invalid package, should start with:{84, 82, 73, 66, 69, 83, 45, 66}
at org.apache.catalina.tribes.membership.MemberImpl.getMember(MemberImpl.java:322)
at org.apache.catalina.tribes.membership.MemberImpl.getMember(MemberImpl.java:298)
at org.apache.catalina.tribes.membership.MemberImpl.getMember(MemberImpl.java:403)
at org.apache.catalina.tribes.membership.McastServiceImpl.receive(McastServiceImpl.java:319)
at org.apache.catalina.tribes.membership.McastServiceImpl$ReceiverThread.run(McastServiceImpl.java:413)
2008-6-25 9:24:01 org.apache.catalina.tribes.membership.McastServiceImpl$ReceiverThread run

参考网上介绍类似错误,发现是由于Membership 中的address冲突导致,修改address即可。
<Membership className="org.apache.catalina.tribes.membership.McastService"
address="228.0.0.5"
port="45564"
frequency="500"
dropTime="3000"/>

没有更多推荐了,返回首页

私密
私密原因:
请选择设置私密原因
  • 广告
  • 抄袭
  • 版权
  • 政治
  • 色情
  • 无意义
  • 其他
其他原因:
120
出错啦
系统繁忙,请稍后再试

关闭