Skip to Content

Error during jgroups initialization

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

alt text

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

11231-pic.jpg (83.0 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Oct 12, 2018 at 03:52 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.