jgroups初始化期间出错

2020-09-12 12:12发布

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


嗨,专家:

我将hybris从6.0升级到6.6,更改了ootb jgroups-tcp.xml文件的内容并将其放在config文件夹下,然后尝试在local.properties中实现群集:BTW,复制ootb jgroups-tcp.xml 从hybris \ bin \ platform \ ext \ core \ resources \ jgroups进行配置,出现了相同的结果。

clustermode = true

cluster.broadcast.methods = jgroups cluster.broadcast.method.jgroups = de.hybris.platform.cluster.jgroups.JGroupsBroadcastMethod cluster.broadcast.method.jgroups.configuration =/apps/hybris/config/jgroups-tcp。 xml cluster.broadcast.method.jgroups.channel.name = hybris-broadcast-PT-1 cluster.broadcast.method.jgroups.tcp.bind_addr = xx.xxx.xxx.xx(hyrbis主机IP)cluster.broadcast.method。 jgroups.tcp.bind_port = 7900

cluster.node.autodiscovery = true

cluster.nodes.ping.interval = 6000

cluster.nodes.stale.timeout = 18000

但是启动hybris服务器,控制台中的错误消息:ERROR [localhost-startStop-1] [JGroupsBroadcastMethod] jgroups初始化期间出错: jvm 1 | 主| 2018/08/01 17:47:57.391 | java.io.FileNotFoundException:JGRP000003:找不到文件" jgroups//apps/hybris/config/jgroups-tcp.xml" jvm 1 | 主| 2018/08/01 17:47:57.391 | 在org.jgroups.conf.ConfiguratorFactory.getXmlConfigurator(ConfiguratorFactory.java:212)〜[jgroups-3.6.11.Final.jar:3.6.11.Final]信息| jvm 1 | 主| 2018/08/01 17:47:57.391 | 在org.jgroups.conf.ConfiguratorFactory.getStackConfigurator(ConfiguratorFactory.java:93)〜[jgroups-3.6.11.Final.jar:3.6.11.Final]信息| jvm 1 | 主| 2018/08/01 17:47:57.391 | 在org.jgroups.JChannel。(JChannel.java:139)〜[jgroups-3.6.11.Final.jar:3.6.11.Final] INFO | jvm 1 | 主| 2018/08/01 17:47:57.391 | 在de.hybris.platform.cluster.jgroups.JGroupsBroadcastMethod.openChannel(JGroupsBroadcastMethod.java:208)〜[coreserver.jar :?]信息| jvm 1 | 主| 2018/08/01 17:47:57.391 | 在de.hybris.platform.cluster.jgroups.JGroupsBroadcastMethod.startChannel(JGroupsBroadcastMethod.java:102)〜[coreserver.jar :?]信息| jvm 1 | 主| 2018/08/01 17:47:57.391 | 在de.hybris.platform.cluster.jgroups.JGroupsBroadcastMethod.init(JGroupsBroadcastMethod.java:95)〜[coreserver.jar:?]

我不确定为什么无法加载文件

替代文字

如果您有解决方案,请告诉我。 任何帮助表示赞赏。

11231-pic.jpg (83.0 kB)

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


嗨,专家:

我将hybris从6.0升级到6.6,更改了ootb jgroups-tcp.xml文件的内容并将其放在config文件夹下,然后尝试在local.properties中实现群集:BTW,复制ootb jgroups-tcp.xml 从hybris \ bin \ platform \ ext \ core \ resources \ jgroups进行配置,出现了相同的结果。

clustermode = true

cluster.broadcast.methods = jgroups cluster.broadcast.method.jgroups = de.hybris.platform.cluster.jgroups.JGroupsBroadcastMethod cluster.broadcast.method.jgroups.configuration =/apps/hybris/config/jgroups-tcp。 xml cluster.broadcast.method.jgroups.channel.name = hybris-broadcast-PT-1 cluster.broadcast.method.jgroups.tcp.bind_addr = xx.xxx.xxx.xx(hyrbis主机IP)cluster.broadcast.method。 jgroups.tcp.bind_port = 7900

cluster.node.autodiscovery = true

cluster.nodes.ping.interval = 6000

cluster.nodes.stale.timeout = 18000

但是启动hybris服务器,控制台中的错误消息:ERROR [localhost-startStop-1] [JGroupsBroadcastMethod] jgroups初始化期间出错: jvm 1 | 主| 2018/08/01 17:47:57.391 | java.io.FileNotFoundException:JGRP000003:找不到文件" jgroups//apps/hybris/config/jgroups-tcp.xml" jvm 1 | 主| 2018/08/01 17:47:57.391 | 在org.jgroups.conf.ConfiguratorFactory.getXmlConfigurator(ConfiguratorFactory.java:212)〜[jgroups-3.6.11.Final.jar:3.6.11.Final]信息| jvm 1 | 主| 2018/08/01 17:47:57.391 | 在org.jgroups.conf.ConfiguratorFactory.getStackConfigurator(ConfiguratorFactory.java:93)〜[jgroups-3.6.11.Final.jar:3.6.11.Final]信息| jvm 1 | 主| 2018/08/01 17:47:57.391 | 在org.jgroups.JChannel。(JChannel.java:139)〜[jgroups-3.6.11.Final.jar:3.6.11.Final] INFO | jvm 1 | 主| 2018/08/01 17:47:57.391 | 在de.hybris.platform.cluster.jgroups.JGroupsBroadcastMethod.openChannel(JGroupsBroadcastMethod.java:208)〜[coreserver.jar :?]信息| jvm 1 | 主| 2018/08/01 17:47:57.391 | 在de.hybris.platform.cluster.jgroups.JGroupsBroadcastMethod.startChannel(JGroupsBroadcastMethod.java:102)〜[coreserver.jar :?]信息| jvm 1 | 主| 2018/08/01 17:47:57.391 | 在de.hybris.platform.cluster.jgroups.JGroupsBroadcastMethod.init(JGroupsBroadcastMethod.java:95)〜[coreserver.jar:?]

我不确定为什么无法加载文件

替代文字

如果您有解决方案,请告诉我。 任何帮助表示赞赏。

11231-pic.jpg (83.0 kB)
付费偷看设置
发送
1条回答
愤怒的猪头君
1楼-- · 2020-09-12 12:25

嗨,

您需要将自己的jgroup-tcp.xml放在店面/资源/jgroups下。 那么它应该工作。 我尝试过时对我有用

一周热门 更多>

点击此处---> EasySAP.com 一起学习S4 HANA ...

相关问答