Java 无法使Oracle Coherence的远程客户端示例应用程序正常工作,可以';无法连接到服务器

Java 无法使Oracle Coherence的远程客户端示例应用程序正常工作,可以';无法连接到服务器,java,oracle-coherence,Java,Oracle Coherence,Oracle Coherence的新功能。我试图遵循Oracle文档中的java远程客户端应用程序示例。我有两台不同的计算机,每台计算机上都运行着CentOS虚拟机。一个VM充当服务器,另一个充当远程客户端。我正在尝试运行示例TestClient integer应用程序。我更改了配置文件,以便将服务器VM设置为tcp接受器,客户端查找该远程地址。两个VM可以相互ping 在启动缓存服务器的文档中,为什么它需要类路径上的TestClient应用程序?与示例不同的是,我没有在同一台机器上同时运行服务

Oracle Coherence的新功能。我试图遵循Oracle文档中的java远程客户端应用程序示例。我有两台不同的计算机,每台计算机上都运行着CentOS虚拟机。一个VM充当服务器,另一个充当远程客户端。我正在尝试运行示例TestClient integer应用程序。我更改了配置文件,以便将服务器VM设置为tcp接受器,客户端查找该远程地址。两个VM可以相互ping

在启动缓存服务器的文档中,为什么它需要类路径上的TestClient应用程序?与示例不同的是,我没有在同一台机器上同时运行服务器和客户机,我还需要这样做吗?我一直在这样启动缓存服务器,但类路径上没有TestClient应用程序:

    java -cp COHERENCE_HOME\lib\coherence.jar;PATH_TO_CLIENT -Dtangosol.coherence.cacheconfig=PATH\example-config.xml com.tangosol.net.DefaultCacheServer
在客户端,我得到一个错误:

Exception in thread "main" com.tangosol.net.messaging.ConnectionException: could not establish a connection to one of the following addresses: [128.183.208.3:9099]; make sure the "remote-addresses" configuration element contains an address and port of a running TcpAcceptor
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.peer.initiator.TcpInitiator.openConnection(TcpInitiator.CDB:121)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.peer.Initiator.ensureConnection(Initiator.CDB:11)
at com.tangosol.coherence.component.net.extend.remoteService.RemoteCacheService.openChannel(RemoteCacheService.CDB:7)
at com.tangosol.coherence.component.net.extend.RemoteService.doStart(RemoteService.CDB:11)
at com.tangosol.coherence.component.net.extend.RemoteService.start(RemoteService.CDB:5)
at com.tangosol.coherence.component.util.SafeService.startService(SafeService.CDB:53)
at com.tangosol.coherence.component.util.safeService.SafeCacheService.startService(SafeCacheService.CDB:5)
at com.tangosol.coherence.component.util.SafeService.ensureRunningService(SafeService.CDB:27)
at com.tangosol.coherence.component.util.SafeService.start(SafeService.CDB:14)
at com.tangosol.net.ExtensibleConfigurableCacheFactory.startService(ExtensibleConfigurableCacheFactory.java:681)
at com.tangosol.net.ExtensibleConfigurableCacheFactory.ensureService(ExtensibleConfigurableCacheFactory.java:599)
at com.tangosol.coherence.config.scheme.AbstractCachingScheme.realizeCache(AbstractCachingScheme.java:50)
at com.tangosol.coherence.config.scheme.AbstractBundlingScheme.realizeCache(AbstractBundlingScheme.java:31)
at com.tangosol.net.ExtensibleConfigurableCacheFactory.ensureCache(ExtensibleConfigurableCacheFactory.java:254)
at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:205)
at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:182)
at TestClient.main(TestClient.java:11)
在服务器端,缓存服务器运行,但我得到:

2014-05-20 12:26:06.168/77.693 Oracle Coherence GE 12.1.2.0.0 <Info> (thread=PacketListenerN, member=1): Scheduled senior member heartbeat is overdue; rejoining multicast group.
2014-05-20 12:26:06.185/77.710 Oracle Coherence GE 12.1.2.0.0 <Warning> (thread=PacketListenerN, member=1): MulticastUdpSocket failed to set receive buffer size to 16 packets (1MB); actual size is 11%, 1 packets (122KB). Consult your OS documentation regarding increasing the maximum socket buffer size. Proceeding with the actual value may cause sub-optimal performance.
2014-05-20 12:26:06.168/77.693 Oracle一致性GE 12.1.2.0.0(thread=PacketListenerN,member=1):计划的高级成员心跳已过期;重新加入多播组。
2014-05-20 12:26:06.185/77.710 Oracle Coherence GE 12.1.2.0.0(线程=PacketListenerN,成员=1):MulticastUdpSocket未能将接收缓冲区大小设置为16个数据包(1MB);实际大小为11%,1个数据包(122KB)。有关增加最大套接字缓冲区大小的信息,请参阅操作系统文档。继续使用实际值可能会导致次优性能。

非常感谢您向正确方向提供的任何帮助或指导

请发布您的所有配置:服务器、代理和客户端(local.config、pof.config、tangosol.override)您是否尝试了一致性多播测试?