Impossible itself says "I M Possible" :) RAGHUVIR's Techonloy Blog..

Thursday Nov 12, 2009

To create a new domain in glassfish appserver you can use the following command :- 

asadmin> create-domain --adminport 5006 --profile developer --user admin domain3
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 5006 for Admin.
Default port 8080 for HTTP Instance is in use. Using 4182
Default port 7676 for JMS is in use. Using 4183
Default port 3700 for IIOP is in use. Using 4184
Default port 8181 for HTTP_SSL is in use. Using 4185
Default port 3820 for IIOP_SSL is in use. Using 4186
Default port 3920 for IIOP_MUTUALAUTH is in use. Using 4187
Default port 8686 for JMX_ADMIN is in use. Using 4188
Domain being created with profile:developer, as specified on command line or environment.
Security Store uses: JKS
Domain domain3 created.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed