You will need to enable secure admin if you are not using localhost.
Try this:
/usr/glassfish/glassfish/bin/asadmin start-domain
/usr/glassfish/glassfish/bin/asadmin enable-secure-admin
/usr/glassfish/glassfish/bin/asadmin stop-domain
/usr/glassfish/glassfish/bin/asadmin start-domain
If you are running latest 3.1.2, you will need to ensure password is set.
To do that, run
/usr/glassfish/glassfish/bin/asadmin change-admin-password
before calling enable-secure-admin
Anissa.
--
[Message sent by forum member 'anilam']
View Post: http://forums.java.net/node/883227