Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1125893
  • 博文数量: 188
  • 博客积分: 2267
  • 博客等级: 大尉
  • 技术积分: 1907
  • 用 户 组: 普通用户
  • 注册时间: 2011-08-01 11:17
文章分类

全部博文(188)

文章存档

2016年(16)

2015年(16)

2014年(12)

2013年(32)

2012年(45)

2011年(67)

分类: LINUX

2014-07-17 17:57:29

安装glassfish集群时候,出现报错Remote command output: bash: jar: command not found,如下图


解决方法:
在从几点上(vm02) 上执行 
 ln -s "/usr/local/jdk1.7.0_55/bin/jar" /usr/bin/jar
 ln -s /usr/local/jdk1.7.0_55/bin/java /usr/bin/java



启动集群报错:
Removing all cached state for instance c1vm02s2.
Command start-local-instance failed.
NCLS-ADMIN-00010
CLI802 Synchronization failed for directory config, caused by:
  javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateNotYetValidException: NotBefore: Wed Jul 16 11:21:56 CST 2014
To complete this operation run the following command locally on host vm02 from the GlassFish install location /usr/local/glassfish4:
 lib/nadmin  start-local-instance --node vm02 --nodedir /glassfish --sync normal c1vm02s2




解决方法:此问题是由于服务器时间不一致造成,调整集群服务器时间为当前时间。
阅读(4255) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~