admin@glassfish.java.net

Warning coming out of left field

From: Chris Kasso <chris.kasso_at_oracle.com>
Date: Fri, 29 Oct 2010 14:22:46 -0700

I've created a two node cluster where each node supports one instance.

On node1 I created instance: c1n1i1

When I create my second instance (c1n2i1) on node2 I see a warning:

ouch: ./asadmin create-instance --node node2 --cluster c1 c1n2i1
Command _create-instance-filesystem executed successfully.
Port Assignments for server instance c1n2i1:
JMX_SYSTEM_CONNECTOR_PORT=28686
JMS_PROVIDER_PORT=27676
HTTP_LISTENER_PORT=28080
ASADMIN_LISTENER_PORT=24848
JAVA_DEBUGGER_PORT=29009
IIOP_SSL_LISTENER_PORT=23820
IIOP_LISTENER_PORT=23700
OSGI_SHELL_TELNET_PORT=26666
HTTP_SSL_LISTENER_PORT=28181
IIOP_SSL_MUTUALAUTH_PORT=23920
The instance, c1n2i1, was created on host dhcp-santaclara22-1fl-west-10-132-181-70.usdhcp.oraclecorp.com
WARNING : Instance c1n1i1 seems to be offline; Command was not replicated to that instance

While this is only a warning I was still a bit confused by it. I was
expecting the create-instance to complete without error. A message
about not being able to replicate my create-instance command to my
first instance:

1) Seems like it is coming out of left field.
2) Makes little sense to me.

If I was deploying an app and that app could not be deployed to
my first instance I would expect a message like that but it is odd
to get it for create-instance.

What's purpose does the message serve?

Chris