users@glassfish.java.net

Re: Glassfish 3.1.1 - Cluster configuration fails

From: Joseph Fialli <joe.fialli_at_oracle.com>
Date: Mon, 03 Oct 2011 16:04:23 -0400

  Comments inline below.

On 10/2/11 1:48 PM, forums_at_java.net wrote:
> I'm trying to create a cluster with the following commands, but the
> process
> hangs at the last command:
>
> asadmin>* create-cluster cluster1* Command create-cluster executed
> successfully. asadmin>* create-local-instance --cluster cluster1
> instance1*
> Rendezvoused with DAS on localhost:4848. Port Assignments for server
> instance
> instance1: 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
> The command hangs here forever...
>
> Do you know what's going wrong?
>
Here are steps to discover what is going wrong.
1. search server log of DAS for SEVERE and WARNINGS.
     default DAS server.log would be
glassfish3/glassfish/domains/domain/logs/server.log*
2. jstack output of hung process.

    jsp should provide list of running java processes. run jstack on the
process id of hung process which
    in this case is a command line asadmin command for
"create-local-instance".

The following information will provide assistance on what can be going
wrong.

-Joe Fialli
>
>
>
>
> --
>
> [Message sent by forum member 'averri']
>
> View Post: http://forums.java.net/node/849410
>
>