JGRP000010: пакет из IP: порт имеет разные версии (5.28.49) на наш (5.3.0)JAVA

Программисты JAVA общаются здесь
Anonymous
JGRP000010: пакет из IP: порт имеет разные версии (5.28.49) на наш (5.3.0)

Сообщение Anonymous »

Jgroups noob here but I'm attempting to set up this together with infinispan on my spring boot 3 services with the hope of using the dist cache functionality.
i have tested my config locally with a standard enough TCP setup defined in my jgroups.xml.
I've actually tried quite a few setups with it including UDP.
локально я могу запустить две свои услуги (банки), и я вижу, как они делают открытие и вступают в фазу восстановления для кэш -кеш и т. д. Selinux активен, но в журналах аудита ничего не заблокирует беспокойство. Я могу SSH в машине, сделаю Curl Telnet: // ip: порт на другую машину и получить соединение. Таким образом, подключение не является проблемой. < /p>
С точки зрения JAR я распечатал как используемую версию JGroups, так и местоположение банки с ClassPath On Boot Up - это, безусловно, в банке и его 5.3.0. < /p>
Любые идеи о том, почему я бы ни был у них. my guess is something strange is happening to the packets when they are being signed with the version at the lower TP levels?
one thing of note is the version it says the packet is is a seemingly non existent version when compared to an actual JGroups release like 5.3.0.Final.
any help would be greatly appreciated.
thank you in advance
Пример jgroups config: < /p>






















< /code>
Пример Runner: < /p>
import org.jgroups.*;

public class JGroupsExample {
public static void main(String[] args) throws Exception {
JChannel channel = new JChannel("jgroups-tcp.xml"); // Path to your config
channel.setReceiver(new ReceiverAdapter() {
public void receive(Message msg) {
System.out.println("Received: " + msg.getObject());
}
});
channel.connect("MyCluster");
channel.send(new Message(null, "Hello from " + channel.getAddress()));
Thread.sleep(10000); // Keep alive to receive messages
channel.close();
}
}
< /code>
Зависимости: < /p>

org.infinispan
infinispan-spring-boot-starter-embedded
14.0.34.Final



Подробнее здесь: https://stackoverflow.com/questions/795 ... ours-5-3-0

Вернуться в «JAVA»