一致性:weblogic.application.ModuleException:不存在服务分发会话的支持存储的节点
我正在尝试为我的weblogic服务器(客户端)使用Coherence server(与客户端分离以存储会话数据)。我得到了这样的错误一致性:weblogic.application.ModuleException:不存在服务分发会话的支持存储的节点,weblogic,oracle-coherence,Weblogic,Oracle Coherence,我正在尝试为我的weblogic服务器(客户端)使用Coherence server(与客户端分离以存储会话数据)。我得到了这样的错误 weblogic.application.ModuleException: No storage-enabled nodes exist for service DistributedSessions:com.tangosol.net.RequestPolicyException:No storage-enabled nodes exist for servic
weblogic.application.ModuleException: No storage-enabled nodes exist for service DistributedSessions:com.tangosol.net.RequestPolicyException:No storage-enabled nodes exist for service DistributedSessions
类似的问题在过去的论坛上被问到,我已经验证了所有的线程,并没有找到正确的解决方案
有人能帮忙吗
1) 一致性服务器上的配置:在一致性服务器类路径上保留tangosol一致性覆盖。
2) xml文件示例:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE coherence SYSTEM "coherence.dtd">
<coherence>
<cluster-config>
<member-identity>
<cluster-name>ClusterName</cluster-name>
</member-identity>
<unicast-listener>
<address system-property='tangosol.coherence.localhost' />
<port system-property='tangosol.coherence.localport'>18088</port>
<well-known-addresses>
<socket-address id='1'>
<address>830.8.119.55</address>
<port>18088</port>
</socket-address>
</well-known-addresses>
</unicast-listener>
<shutdown-listener>
<enabled system-property='tangosol.coherence.shutdownhook'>none</enabled>
</shutdown-listener>
<logging-config>
<destination system-property='tangosol.coherence.log'>log4j</destination>
</logging-config>
</cluster-config>
</coherence>
5) 启动Weblogic服务器
与其他命令行参数一起提供以下内容
-Dtangosol.coherence.session.localstorage=false
因此weblogic将会话数据存储在一致性服务器上,而不是本地weblogic堆上
6) 在weblogic类路径上保留相同的tangosol-coherence-override.xml文件
7) 能够启动weblogic服务器
8) 部署webapplication时,我可以看到weblogic客户端已加入集群,但部署失败
2017-10-09 10:30:48.321/648.794 Oracle Coherence GE 3.7.1.16(线程=群集,成员=1):成员(Id=2,时间戳=2017-10-09 10:30:48.149,地址=830.8.119.55:18090,机器Id=65067,位置=站点:,机器:abcdv6413,进程:28222,角色=WeblogicServer)与高级成员1加入群集
2017-10-09 10:30:48.655/649.128 Oracle Coherence GE 3.7.1.16(线程=群集,成员=1):成员2与高级成员1加入服务管理
2017-10-09 10:30:49.077/649.550 Oracle Coherence GE 3.7.1.16(线程=群集,成员=1):成员2与高级成员2加入服务分发会话
但是部署失败了
weblogic.application.ModuleException:服务分发会话不存在启用存储的节点:com.tangosol.net.RequestPolicyException:服务分发会话不存在启用存储的节点
在weblogic服务器上,我安装了coherence-web-spi.war作为库,并在weblogic.xml中安装了特定的lib ref
我不确定我遗漏了什么。在配置文件中,您必须插入架构的所有地址:weblogic服务器(datastorage=false)和一致性服务器:
<well-known-addresses>
<socket-address id='1'>
<address>830.8.119.55</address>
<port>18088</port>
</socket-address>
<socket-address id='2'>
<address>x.x.x.x</address>
<port>yyy</port>
</socket-address>
</well-known-addresses>
830.8.119.55
18088
八位字节
yyy
在配置文件中,您必须插入架构的所有地址:weblogic服务器(datastorage=false)和一致性服务器:
<well-known-addresses>
<socket-address id='1'>
<address>830.8.119.55</address>
<port>18088</port>
</socket-address>
<socket-address id='2'>
<address>x.x.x.x</address>
<port>yyy</port>
</socket-address>
</well-known-addresses>
830.8.119.55
18088
八位字节
yyy