jgroups堆栈中的jboss/eap docker容器错误



在使用"registry.redhat.io/jboss-eap-7/eap73-openjdk8-openshift-rhel7";基本图像得到以下错误。出于测试目的,这是在RHEL7.4 下作为一个独立的docker容器执行的(使用docker运行时(

Docker CMD

CMD["/opt/eap/bin/stalone.sh","-c","***-stalone.xml","-b","0.0.0.0","-bmanagement","0.0.0.0"]

Docker RUN

docker run-p 8002:8002-p 8003:8003-t jboss/app:最新

错误

07:52:31747错误[org.jboss.as.controller.management操作](控制器引导线程(WFLYCTL0013:操作("添加"(失败-地址:([("子系统"="jgroups"(,("channel"="ee"(])-故障描述:{"WFLYCTL0080:失败的服务"=>{>org.wildfly.clustering.jgroups.channel.ee"=>java.lang.IollegalStateException:java.lang.Exception:事件[FIND_INITIAL_MBRS FIND_MBRS]是GMS所必需的,但它下面的任何协议都不提供

这是***standalone.xml 中的jgroups堆栈

<subsystem xmlns="urn:jboss:domain:jgroups:7.0">
<channels default="ee">
<channel name="ee" stack="udp"/>
</channels>
<stacks>
<stack name="tcp">
<transport type="TCP" socket-binding="jgroups-tcp"/>
<protocol type="MERGE3"/>
<protocol type="FD_SOCK"/>
<protocol type="FD_ALL"/>
<protocol type="VERIFY_SUSPECT"/>
<protocol type="pbcast.NAKACK2"/>
<protocol type="UNICAST3"/>
<protocol type="pbcast.STABLE"/>
<protocol type="pbcast.GMS"/>
<protocol type="MFC"/>
<protocol type="FRAG3"/>
</stack>
<stack name="udp">
<transport type="UDP" socket-binding="jgroups-udp"/>
<protocol type="MERGE3"/>
<protocol type="FD_SOCK"/>
<protocol type="FD_ALL"/>
<protocol type="VERIFY_SUSPECT"/>
<protocol type="pbcast.NAKACK2"/>
<protocol type="UNICAST3"/>
<protocol type="pbcast.STABLE"/>
<protocol type="pbcast.GMS"/>
<protocol type="UFC"/>
<protocol type="MFC"/>
<protocol type="FRAG3"/>
</stack>
</stacks>
</subsystem>

问候,

巴鲁

我认为您的udp协议列表不完整。我的代码片段来自wildfly26.1.2,但缺少Ithin PING协议。

命令也很严重!查看您的原始standalone-ha.xml!

<stacks>
<stack name="udp">
<transport type="UDP" socket-binding="jgroups-udp"/>
<protocol type="PING"/>
<protocol type="MERGE3"/>
<socket-protocol type="FD_SOCK" socket-binding="jgroups-udp-fd"/>
<protocol type="FD_ALL"/>
<protocol type="VERIFY_SUSPECT"/>
<protocol type="pbcast.NAKACK2"/>
<protocol type="UNICAST3"/>
<protocol type="pbcast.STABLE"/>
<protocol type="pbcast.GMS"/>
<protocol type="UFC"/>
<protocol type="MFC"/>
<protocol type="FRAG3"/>
</stack>
<stack name="tcp">
<transport type="TCP" socket-binding="jgroups-tcp"/>
<socket-protocol type="MPING" socket-binding="jgroups-mping"/>
<protocol type="MERGE3"/>
<socket-protocol type="FD_SOCK" socket-binding="jgroups-tcp-fd"/>
<protocol type="FD_ALL"/>
<protocol type="VERIFY_SUSPECT"/>
<protocol type="pbcast.NAKACK2"/>
<protocol type="UNICAST3"/>
<protocol type="pbcast.STABLE"/>
<protocol type="pbcast.GMS"/>
<protocol type="MFC"/>
<protocol type="FRAG3"/>
</stack>
</stacks>

最新更新