GF2, b44
-------------------------------------------------------------------------------
C:\java>asadmin create-domain --adminport 4849 --profile cluster --instanceport 8083 domain2
Please enter the admin user name>admin2
Please enter the admin password>
Please enter the admin password again>
Please enter the master password [Enter to accept the default]:>
Please enter the master password again [Enter to accept the default]:>
Using port 4849 for Admin.
Using port 8083 for HTTP Instance.
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.
Domain being created with profile:cluster, as specified on command line or environment.
Security Store used should be: JKS
Domain domain2 created.
C:\java>asadmin create-node-agent --port 4849 --secure=true na2
Command create-node-agent executed successfully.
C:\java>asadmin start-domain domain2
Starting Domain domain2, please wait.
Log redirected to C:\java\glassfish\domains\domain2\logs\server.log.
Please enter the master password>
Redirecting output to C:/java/glassfish/domains/domain2/logs/server.log
Domain domain2 started.
Domain [domain2] is running [Sun Java System Application Server 9.1 (build b44-beta3)] with its configuration and logs at: [C:\java\glassfish\domains].
Admin Console is available at [
http://localhost:4849].
Use the same port [4849] for "asadmin" commands.
User web applications are available at these URLs:
[
http://localhost:8083 https://localhost:8181 ].
Following web-contexts are available:
[/web1 /__wstx-services ].
Standard JMX Clients (like JConsole) can connect to JMXServiceURL:
[service:jmx:rmi:///jndi/rmi://sinus:8686/jmxrmi] for domain management purposes.
Domain listens on at least following ports for connections:
[8083 8181 4849 3700 3820 3920 8686 ].
Domain supports application server clusters and other standalone instances.
C:\java>asadmin start-node-agent na2
Please enter the admin user name>admin2
Please enter the admin password>
Please enter the master password>
Redirecting output to C:/java/glassfish/nodeagents/na2/agent/logs/server.log
Redirecting application output to C:/java/glassfish/nodeagents/na2/agent/logs/server.log
[b]Node Agent na2 failed to startup. Please check the server log for more details.
CLI137 Command start-node-agent failed[/b].
-------------------------------------------------------------------------------
node-agent log:
-------------------------------------------------------------------------------
[#|2007-05-03T18:10:04.498+0400|INFO|sun-appserver9.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0004:Starting Node Agent...|#]
[#|2007-05-03T18:10:04.518+0400|CONFIG|sun-appserver9.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|DAS url = service:jmx:rmi:///jndi/rmi://localhost:4849/management/rmi-jmx-connector|#]
[#|2007-05-03T18:10:04.518+0400|CONFIG|sun-appserver9.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NodeAgent url = service:jmx:rmi_jrmp://0.0.0.0:3792|#]
[#|2007-05-03T18:10:04.618+0400|INFO|sun-appserver9.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;service:jmx:s1as
https://localhost:4849;|NAGT0021:The nodeagent is attempting to rendezvoused with the DAS on URL service:jmx:s1as
https://localhost:4849|#]
[#|2007-05-03T18:11:05.045+0400|SEVERE|sun-appserver9.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;service:jmx:s1as
https://localhost:4849 == java.io.IOException: Remote host closed connection during handshake;|[b]NAGT0022:The nodeagent failed to rendezvous with the DAS on URL service:jmx:s1as
https://localhost:4849 == java.io.IOException: Remote host closed connection during handshake[/b]|#]
[#|2007-05-03T18:11:07.048+0400|WARNING|sun-appserver9.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NAGT0013:Stopping Node Agent...|#]
-------------------------------------------------------------------------------
It works fine in b39.
[Message sent by forum member 'sinus' (sinus)]
http://forums.java.net/jive/thread.jspa?messageID=215353