eclipse-ee4j / glassfish

Eclipse GlassFish
https://eclipse-ee4j.github.io/glassfish/
383 stars 143 forks source link

start-cluster not working on a multi-machine setup. #12892

Closed glassfishrobot closed 14 years ago

glassfishrobot commented 14 years ago

I am trying to setup a 3 instance cluster on 2 different hosts. Node1 (agent1) has DAS and instance101 & Node2 (agent2) has instance102 & 103 running on a remote host. All the create commands succeed as shown below. But start-cluster fails to start the instances on Node2. domain.xml and DAS server log is attached. There is no log on instance102 or 103 so unable to attach.

INFO: Command Executed: /space/sony/builds/gfv3.1/bin/asadmin --user admin --passwordfile /space/sony/dft/agent-file-repository/asadmin-password-file create-domain --adminport 4848 st-domain Output : Using port 4848 for Admin. Default port 8080 for HTTP Instance is in use. Using 23914 Using default port 7676 for JMS. Using default port 3700 for IIOP. Using default port 8181 for HTTP_SSL. Using default port 3820 for IIOP_SSL. Using default port 3920 for IIOP_MUTUALAUTH. Using default port 8686 for JMX_ADMIN. Using default port 6666 for OSGI_SHELL. Distinguished Name of the self-signed X.509 Server Certificate is: [CN=ejp5360-vm1.india.sun.com,OU=GlassFish,O=Oracle Corporation,L=Santa Clara,ST=California,C=US] No domain initializers found, bypassing customization step Domain st-domain created. Domain st-domain admin port is 4848. Domain st-domain admin user is "admin". Command create-domain executed successfully.

INFO: Command Executed: /space/sony/builds/gfv3.1/bin/asadmin --user admin --passwordfile /space/sony/dft/agent-file-repository/asadmin-password-file start-domain st-domain Output : Waiting for the server to start .... Successfully started the domain : st-domain domain location: /space/sony/builds/gfv3.1/glassfish/domains/st-domain Log File: /space/sony/builds/gfv3.1/glassfish/domains/st-domain/logs/server.log Admin Port: 4848 Command start-domain executed successfully.

INFO: Command Executed: /space/sony/builds/gfv3.1/bin/asadmin --user admin --passwordfile /space/sony/dft/agent-file-repository/asadmin-password-file create-node-ssh --nodehost ejp5360-vm1 --installdir /space/sony/builds/gfv3.1 agent1 Output : Command create-node-ssh executed successfully.

INFO: Command Executed: /space/sony/builds/gfv3.1/bin/asadmin --user admin --passwordfile /space/sony/dft/agent-file-repository/asadmin-password-file create-node-ssh --nodehost ejp5360-vm2 --installdir /space/sony/builds/gfv3.1 agent2 Output : Command create-node-ssh executed successfully.

INFO: Command Executed: /space/sony/builds/gfv3.1/bin/asadmin --user admin --passwordfile /space/sony/dft/agent-file-repository/asadmin-password-file create-cluster st-cluster Output : Command create-cluster executed successfully.

INFO: Command Executed: /space/sony/builds/gfv3.1/bin/asadmin --user admin --passwordfile /space/sony/dft/agent-file-repository/asadmin-password-file create-instance --cluster st-cluster --nodeagent agent1 instance101 Output : Port Assignments for server instance instance101: JMX_SYSTEM_CONNECTOR_PORT=28686 JMS_PROVIDER_PORT=27676 HTTP_LISTENER_PORT=28080 ASADMIN_LISTENER_PORT=24848 IIOP_SSL_LISTENER_PORT=23820 IIOP_LISTENER_PORT=23700 HTTP_SSL_LISTENER_PORT=28181 IIOP_SSL_MUTUALAUTH_PORT=23920

Command create-instance executed successfully.

INFO: Command Executed: /space/sony/builds/gfv3.1/bin/asadmin --user admin --passwordfile /space/sony/dft/agent-file-repository/asadmin-password-file create-instance --cluster st-cluster --nodeagent agent2 instance102 Output : Port Assignments for server instance instance102: JMX_SYSTEM_CONNECTOR_PORT=28686 JMS_PROVIDER_PORT=27676 HTTP_LISTENER_PORT=28080 ASADMIN_LISTENER_PORT=24848 IIOP_SSL_LISTENER_PORT=23820 IIOP_LISTENER_PORT=23700 HTTP_SSL_LISTENER_PORT=28181 IIOP_SSL_MUTUALAUTH_PORT=23920

Command create-instance executed successfully.

INFO: Command Executed: /space/sony/builds/gfv3.1/bin/asadmin --user admin --passwordfile /space/sony/dft/agent-file-repository/asadmin-password-file create-instance --cluster st-cluster --nodeagent agent2 instance103 Output : Port Assignments for server instance instance103: JMX_SYSTEM_CONNECTOR_PORT=28687 JMS_PROVIDER_PORT=27677 ASADMIN_LISTENER_PORT=24849 HTTP_LISTENER_PORT=28081 IIOP_LISTENER_PORT=23701 IIOP_SSL_LISTENER_PORT=23821 HTTP_SSL_LISTENER_PORT=28182 IIOP_SSL_MUTUALAUTH_PORT=23921

Command create-instance executed successfully.

INFO: Command Executed: /space/sony/builds/gfv3.1/bin/asadmin --user admin --passwordfile /space/sony/dft/agent-file-repository/asadmin-password-file start-cluster st-cluster Output : CLI802 Synchronization failed for directory config Command start-local-instance failed.

Could not start instance instance102. See log messages for more information. CLI802 Synchronization failed for directory configCommand start-local-instance failed.

Could not start instance instance103. See log messages for more information.

The command start-instance executed successfully for: instance101 The command start-instance failed for: instance102 instance103

Command start-cluster executed successfully.

Environment

Operating System: All Platform: Linux

Affected Versions

[3.1]

glassfishrobot commented 6 years ago
glassfishrobot commented 14 years ago

@glassfishrobot Commented sonymanuel said: Created an attachment (id=4638) DAS domain.xml

glassfishrobot commented 14 years ago

@glassfishrobot Commented tmueller said: I suspect that this problem is due to using a password with your domain. Is the password set in your asadmin-password-file file? If so, can you please retry this without having a password.

Support for having domains with passwords and instances is not yet available. This has already been reported with issue 12856 and issue 12045.

If this works without setting the password, then please mark this as a duplicate of one of the issues above.

glassfishrobot commented 14 years ago

@glassfishrobot Commented sonymanuel said: Using --nopassword option for domain and all subsequent commands , start-cluster works correctly.

Tom, I don't see the option to close this issue. Can you please go ahead as mark this a duplicate and close it.

Thanks, Sony.

glassfishrobot commented 14 years ago

@glassfishrobot Commented tmueller said: This is a dup of 12856.

glassfishrobot commented 14 years ago

@glassfishrobot Commented File: domain.xml Attached By: sonymanuel

glassfishrobot commented 14 years ago

@glassfishrobot Commented Issue-Links: depends on GLASSFISH-12856

glassfishrobot commented 14 years ago

@glassfishrobot Commented Was assigned to tmueller

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-12892

glassfishrobot commented 14 years ago

@glassfishrobot Commented Reported by sonymanuel

glassfishrobot commented 14 years ago

@glassfishrobot Commented Marked as duplicate on Wednesday, August 4th 2010, 6:14:51 am