Looking up the administration reference, I came across the asadmin command and the delete-domain option, so I did:
# /opt/glassfish/bin/asadmin delete-domain domain1
and tried setup again, this time everything seems to go well, now to see how to access the web console and deploy applications. Wonder what was the problem in setup the first time.
Thanks
Manish
create.domain:
[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:developer, as specified by variable AS_ADMIN_PROFILE in configuration file.
[exec] Security Store uses: JKS
[exec] Domain domain1 created.
[exec] Login information relevant to admin user name [admin] for this domain [domain1] stored at [/root/.asadminpass] 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: /opt/glassfish/passfile
BUILD SUCCESSFUL
Total time: 39 seconds
-bash-3.00#
[Message sent by forum member 'magrawal' (magrawal)]
http://forums.java.net/jive/thread.jspa?messageID=257169