在使用"registry.redhat.io/jboss-eap-7/eap73-openjdk8-openshift-rhel7“基本映像运行坞容器时,将获得以下错误。出于测试目的,在RHEL7.4下,这将作为独立的坞容器执行(使用docker运行时)
码头CMD
"-c“、”*-Standalone.xml“、"-b”、"0.0.0.0“、"-bmanagement”、"0.0.0.0“
码头运行
docker运行-p 8002:8002 -p 8003:8003 -t jboss/app:最新
误差
错误描述:org.jboss.as.controller.management-operation WFLYCTL0013: WFLYCTL0080:=> {"org.wildfly.clustering.jgroups.channel.ee“=> "java.lang.IllegalStateException: java.lang.Exception: events FIND_INITIAL_MBRS FIND_MBRS是GMS需要的,但不是由下面的任何协议提供的。
这是***standalone.xml中存在的jgroup堆栈。
<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>致以敬意,
巴鲁
发布于 2022-11-03 07:41:47
我认为你的udp协议列表还没有完成。我的代码片段来自通配符26.1.2,但缺少的是Ithin PING协议。
命令也是严肃的!看到您原来的独立-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>https://stackoverflow.com/questions/64643030
复制相似问题