安装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
解决方法:此问题是由于服务器时间不一致造成,调整集群服务器时间为当前时间。
阅读(4347) | 评论(0) | 转发(0) |