C:\work\gf\glassfish\bootstrap>maven configure-cluster __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 build:start: configure-cluster: [copy] Copying 1 file to C:\work\gf\publish\glassfish [echo] Current Java Version 1.5.0_11 [copy] Copying 1 file to C:\work\gf\publish\glassfish\config [copy] Copying 1 file to C:\work\gf\publish\glassfish\config [copy] Copying 1 file to C:\work\gf\publish\glassfish\bin [copy] Copying 1 file to C:\work\gf\publish\glassfish\bin [copy] Copying 1 file to C:\work\gf\publish\glassfish\bin [copy] Copying 1 file to C:\work\gf\publish\glassfish\bin [copy] Copying 1 file to C:\work\gf\publish\glassfish\bin [copy] Copying 1 file to C:\work\gf\publish\glassfish\bin [copy] Copying 1 file to C:\work\gf\publish\glassfish\bin [copy] Copying 1 file to C:\work\gf\publish\glassfish\bin [copy] Copying 1 file to C:\work\gf\publish\glassfish\bin [copy] Copying 1 file to C:\work\gf\publish\glassfish\bin [copy] Copying 1 file to C:\work\gf\publish\glassfish\bin [copy] Copying 1 file to C:\work\gf\publish\glassfish\bin [copy] Copying 1 file to C:\work\gf\publish\glassfish\bin [copy] Copying 1 file to C:\work\gf\publish\glassfish\bin [copy] Copying 1 file to C:\work\gf\publish\glassfish\bin [exec] Using port 4848 for Admin. [exec] Using port 8080 for HTTP Instance. [exec] Using port 7676 for JMS. [exec] Using port 3700 for IIOP. [exec] Using port 8181 for HTTP_SSL. [exec] Using default port 3820 for IIOP_SSL. [exec] Using default port 3920 for IIOP_MUTUALAUTH. [exec] Using default port 8686 for JMX_ADMIN. [exec] Domain being created with profile:cluster, as specified by variable AS_ADMIN_PROFILE in configuration file. [exec] Security Store uses: JKS [exec] Domain domain1 created. [exec] Admin login information for host [localhost] and port [4848] is being overwritten with credentials provided. This is because the --sav elogin option was used during create-domain command. [exec] Login information relevant to admin user name [admin] for this domain [domain1] stored at [C:\Documents and Settings\Nandini Ektare\.a sadminpass] successfully. [exec] Make sure that this file remains protected. Information stored in this file will be used by asadmin commands to manage this domain. [delete] Deleting: C:\work\gf\publish\glassfish\passfile BUILD SUCCESSFUL Total time: 25 seconds Finished at: Tue Jul 31 11:22:45 PDT 2007 C:\work\gf\publish\glassfish\bin>asadmin start-domain Starting Domain domain1, please wait. Log redirected to C:\work\gf\publish\glassfish\domains\domain1\logs\server.log. Redirecting output to C:/work/gf/publish/glassfish/domains/domain1/logs/server.log Domain domain1 started. Domain [domain1] is running [Sun Java System Application Server 9.1 (build TestBuildID)] with its configuration and logs at: [C:\work\gf\publish\ glassfish\domains]. Admin Console is available at [http://localhost:4848]. Use the same port [4848] for "asadmin" commands. User web applications are available at these URLs: [http://localhost:8080 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://Saiash:8686/jmxrmi] for domain management purposes. Domain listens on at least following ports for connections: [8080 8181 4848 3700 3820 3920 8686 ]. Domain supports application server clusters and other standalone instances. C:\work\gf\publish\glassfish\bin>netstat -an | grep 8686 TCP 0.0.0.0:8686 0.0.0.0:0 LISTENING TCP 192.168.1.33:1153 192.168.1.33:8686 TIME_WAIT TCP 192.168.1.33:1156 192.168.1.33:8686 TIME_WAIT C:\work\gf\publish\glassfish\bin>asadmin.bat create-node-agent na2 Command create-node-agent executed successfully. C:\work\gf\publish\glassfish\bin>asadmin.bat start-node-agent na2 Please enter the master password [Enter to accept the default]:> Redirecting output to C:/work/gf/publish/glassfish/nodeagents/na2/agent/logs/server.log Command start-node-agent executed successfully. C:\work\gf\publish\glassfish\bin>vi C:/work/gf/publish/glassfish/nodeagents/na2/agent/logs/server.log [#|2007-07-31T11:42:24.156-0700|INFO|sun-appserver9.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NodeAgent url = service:jmx:rmi_jrmp://0.0.0.0:1388|#] C:\work\gf\publish\glassfish\bin>C:\software\gvim\vim63\gvim C:/work/gf/publish/glassfish/nodeagents/na2/agent/logs/server.log C:\work\gf\publish\glassfish\bin>netstat -an | grep 1388 TCP 0.0.0.0:1388 0.0.0.0:0 LISTENING TCP 192.168.1.33:1534 192.168.1.33:1388 TIME_WAIT ------------------------------ C:\work\gf\publish\glassfish\bin>asadmin stop-domain Domain domain1 stopped. C:\work\gf\glassfish\bootstrap>vi c:\work\gf\publish\glassfish\domains\domain1\config\domain.xml C:\work\gf\publish\glassfish\bin>asadmin start-domain Starting Domain domain1, please wait. Log redirected to C:\work\gf\publish\glassfish\domains\domain1\logs\server.log. Redirecting output to C:/work/gf/publish/glassfish/domains/domain1/logs/server.log Domain domain1 started. Domain [domain1] is running [Sun Java System Application Server 9.1 (build TestBuildID)] with its configuration and logs at: [C:\work\gf\publish\ glassfish\domains]. Admin Console is available at [http://localhost:4848]. Use the same port [4848] for "asadmin" commands. User web applications are available at these URLs: [http://localhost:8080 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://192.168.1.33:8686/jmxrmi] for domain management purposes. Domain listens on at least following ports for connections: [8080 8181 4848 3700 3820 3920 8686 ]. Domain supports application server clusters and other standalone instances. C:\work\gf\publish\glassfish\bin>netstat -an | grep 8686 TCP 192.168.1.33:1292 192.168.1.33:8686 TIME_WAIT TCP 192.168.1.33:1295 192.168.1.33:8686 TIME_WAIT TCP 192.168.1.33:8686 0.0.0.0:0 LISTENING ---------------------------------- C:\work\gf\publish\glassfish\bin>asadmin create-node-agent --host 192.168.1.33 --agentproperties listenaddress=192.168.1.33 na1 Please enter the admin user name>admin Please enter the admin password> Command create-node-agent executed successfully. C:\work\gf\publish\glassfish\bin>asadmin.bat start-node-agent na1 Please enter the admin user name>admin Please enter the admin password> Please enter the master password [Enter to accept the default]:> Redirecting output to C:/work/gf/publish/glassfish/nodeagents/na1/agent/logs/server.log Command start-node-agent executed successfully. C:\work\gf\publish\glassfish\bin>vi ..\nodeagents\na1\agent\logs\server.log [#|2007-07-31T11:30:20.687-0700|INFO|sun-appserver9.1|javax.ee.enterprise.system.nodeagent|_ThreadID=10;_ThreadName=main;|NodeAgent url = service:jmx:rmi_jrmp://192.168.1.33:1348|#] ---------------------