cancel
Showing results for 
Search instead for 
Did you mean: 

Error during jgroups initialization

0 Kudos

Hi expert:

I upgrade the hybris from 6.0 to 6.6, changed the content of ootb jgroups-tcp.xml file and put it under the config folder, then tried to implement clustering in local.properties: BTW, copy ootb jgroups-tcp.xml from hybris\bin\platform\ext\core\resources\jgroups to config, the same result was appeared.

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 host IP) cluster.broadcast.method.jgroups.tcp.bind_port=7900

cluster.node.autodiscovery=true

cluster.nodes.ping.interval=6000

cluster.nodes.stale.timeout=18000

but start the hybris server, the error message in console : ERROR [localhost-startStop-1] [JGroupsBroadcastMethod] Error during jgroups initialization: INFO | jvm 1 | main | 2018/08/01 17:47:57.391 | java.io.FileNotFoundException: JGRP000003: file "jgroups//apps/hybris/config/jgroups-tcp.xml" not found INFO | jvm 1 | main | 2018/08/01 17:47:57.391 | at org.jgroups.conf.ConfiguratorFactory.getXmlConfigurator(ConfiguratorFactory.java:212) ~[jgroups-3.6.11.Final.jar:3.6.11.Final] INFO | jvm 1 | main | 2018/08/01 17:47:57.391 | at org.jgroups.conf.ConfiguratorFactory.getStackConfigurator(ConfiguratorFactory.java:93) ~[jgroups-3.6.11.Final.jar:3.6.11.Final] INFO | jvm 1 | main | 2018/08/01 17:47:57.391 | at org.jgroups.JChannel.(JChannel.java:139) ~[jgroups-3.6.11.Final.jar:3.6.11.Final] INFO | jvm 1 | main | 2018/08/01 17:47:57.391 | at de.hybris.platform.cluster.jgroups.JGroupsBroadcastMethod.openChannel(JGroupsBroadcastMethod.java:208) ~[coreserver.jar:?] INFO | jvm 1 | main | 2018/08/01 17:47:57.391 | at de.hybris.platform.cluster.jgroups.JGroupsBroadcastMethod.startChannel(JGroupsBroadcastMethod.java:102) ~[coreserver.jar:?] INFO | jvm 1 | main | 2018/08/01 17:47:57.391 | at de.hybris.platform.cluster.jgroups.JGroupsBroadcastMethod.init(JGroupsBroadcastMethod.java:95) ~[coreserver.jar:?]

I am not sure why the file cannot be load

Please let me know, if you have a solution. Any help is appreciated.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member66948
Participant
0 Kudos

Hi ,

u need put your own jgroup-tcp.xml under your storefront/resource/jgroups. then it should work. It works for me as i tried