首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Glassfish (Payara)集群不会启动

Glassfish (Payara)集群不会启动
EN

Stack Overflow用户
提问于 2016-11-07 10:16:40
回答 1查看 913关注 0票数 0

我正在为payara 4.1 (上一次发布版)设置一个集群,我使用romote机器作为实例和das,当我尝试在插入后启动集群时,创建节点(1,2)并创建我得到的实例:

代码语言:javascript
复制
start-cluster cluster
remote failure: inst2: Could not start instance inst2 on node node2 (inst2).

Command failed on node node2 (inst2): Previous synchronization failed at Oct 18, 2016 3:03:13 PM
Will perform full synchronization.
Removing all cached state for instance inst2.
NCLS-ADMIN-00010
CLI802 Synchronization failed for directory config, caused by:
  javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateNotYetValidException: NotBefore: Mon Nov 07 09:26:30 CET 2016
Command start-local-instance failed.

To complete this operation run the following command locally on host inst2 from the GlassFish install location /opt/payara41:

 lib/nadmin  start-local-instance --node node2 --sync normal inst2
inst1: Could not start instance inst1 on node node1 (inst1).

Command failed on node node1 (inst1): Previous synchronization failed at Oct 18, 2016 3:03:18 PM
Will perform full synchronization.
Removing all cached state for instance inst1.
NCLS-ADMIN-00010
CLI802 Synchronization failed for directory config, caused by:
  javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateNotYetValidException: NotBefore: Mon Nov 07 09:26:30 CET 2016
Command start-local-instance failed.

To complete this operation run the following command locally on host inst1 from the GlassFish install location /opt/payara41:

 lib/nadmin  start-local-instance --node node1 --sync normal inst1

The command start-instance failed for: inst2 inst1
Command start-cluster failed.

关于专题组:

  • 群集名称:群集。
  • 节点: node1,node1。
  • 实例: inst1,inst2。

我在用:

  • jave 7
  • payara 4.1.1.163 #獾鱼(建215)
  • Centos 6
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2016-11-07 10:25:28

该问题是由于证书验证失败导致SSL异常导致DAS和远程节点之间的通信失败。

例外情况是您的证书尚未有效,这意味着您的证书的“有效自”日期在未来。如果您的系统时间是错误的,并且在过去(即虚拟机,您在许多天后刚刚恢复),您也可以得到这个结果。

进一步的问题是,已经尝试了完全同步。不幸的是,首先删除所有配置,然后尝试从DAS检索新配置。在像您这样无法访问DAS或通信失败的情况下,会留下一个远程节点,该节点甚至无法手动启动。

此行为最终将在Payara中进行更改,但在此之前,请避免在启动远程实例时使用sync=full

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/40462674

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档