Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

glassfish cluster

NunoNov 26 2014

Hello

First of all, I'm not quite sure if this is the right place to put this question, but here it goes:

I'm using Glassfish 3.1.1

I have a cluster with 2 nodes, in 2 different machines, which are accessible by ping. Each node has 2 instances.

Making get-health of cluster

I get that all 4 instances are started.

asadmin> get-health sificluster

sificap01 started since Tue Nov 25 17:47:17 WET 2014

sificap02 started since Wed Nov 05 22:43:39 WET 2014

sificap03 started since Wed Nov 05 22:32:41 WET 2014

sificap04 started since Wed Nov 05 22:32:41 WET 2014

Command get-health executed successfully.

But the cluster is not running.

asadmin> list-clusters

sificluster not running

asadmin> start-cluster --verbose sificluster

start-instance sificap03

start-instance sificap02

start-instance sificap04

start-instance sificap01

The command start-instance executed successfully for: sificap03 sificap02 sificap04 sificap01

Command start-cluster executed successfully.

asadmin> list-clusters

sificluster not running

Command list-clusters executed successfully.

asadmin> list-instances

sificap02   not running [pending config changes are: disable SiFiCAP-ear; undepl                     oy SiFiCAP-ear; _deploy /home/sificap/glassfish3/glassfish/domains/sificap/appli                     cations/__internal/SiFiCAP-ear/SiFiCAP-ear5608852831385433175.ear; rotate-log; ]                    

sificap03   not running [pending config changes are: disable SiFiCAP-ear; undepl                     oy SiFiCAP-ear; _deploy /home/sificap/glassfish3/glassfish/domains/sificap/appli                     cations/__internal/SiFiCAP-ear/SiFiCAP-ear5608852831385433175.ear; rotate-log; ]                    

sificap01   not running [pending config changes are: rotate-log; ]                                                                                                                                                                                                                                            

sificap04   not running [pending config changes are: disable SiFiCAP-ear; undepl                     oy SiFiCAP-ear; _deploy /home/sificap/glassfish3/glassfish/domains/sificap/appli                     cations/__internal/SiFiCAP-ear/SiFiCAP-ear5608852831385433175.ear; rotate-log; ]                    

Command list-instances executed successfully.

asadmin> rotate-log --target sificluster

remote failure: An error occurred during replication

Failure: Command rotate-log failed on server instance sificap02: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

Failure: Command rotate-log failed on server instance sificap03: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

Failure: Command rotate-log failed on server instance sificap01: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

Failure: Command rotate-log failed on server instance sificap04: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

Command rotate-log failed.

I tried to manually start one of the instances (in the local node)

asadmin> restart-instance sificap02

The instance was not running.  A normal start was successful.

Message from start-instance: Instance sificap02 is already running.

Command restart-instance executed successfully.

asadmin> list-instances

sificap02   not running [pending config changes are: disable SiFiCAP-ear; undeploy SiFiCAP-ear; _deploy /home/sificap/glassfish3/glassfish/domains/sificap/applications/__internal/SiFiCAP-ear/SiFiCAP-ear5608852831385433175.ear; rotate-log; rotate-log; disable SiFiCAP-ear; ]

sificap03   not running [pending config changes are: disable SiFiCAP-ear; undeploy SiFiCAP-ear; _deploy /home/sificap/glassfish3/glassfish/domains/sificap/applications/__internal/SiFiCAP-ear/SiFiCAP-ear5608852831385433175.ear; rotate-log; rotate-log; disable SiFiCAP-ear; ]

sificap01   not running [pending config changes are: rotate-log; rotate-log; disable SiFiCAP-ear; ]                                                                                                      

sificap04   not running [pending config changes are: disable SiFiCAP-ear; undeploy SiFiCAP-ear; _deploy /home/sificap/glassfish3/glassfish/domains/sificap/applications/__internal/SiFiCAP-ear/SiFiCAP-ear5608852831385433175.ear; rotate-log; rotate-log; disable SiFiCAP-ear; disable SiFiCAP-ear; ]

Command list-instances executed successfully.

asadmin> start-instance --sync normal sificap02

Instance sificap02 is already running.

Command start-instance executed successfully.

asadmin> stop-instance sificap02

remote failure: Error trying to stop the instance named sificap02 : javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

Command stop-instance failed.

ance executed successfully.

I realized that, in a lot of commands I get the "javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake"

Now, some weeks ago, it was applied another certificate (the previous one expired). Is it necessary to reconfigure something in the glassfish server, disable security and enable it again?...

I'm a bit lost, I must confess, and even this post is not very clear...

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 24 2014
Added on Nov 26 2014
0 comments
917 views