dev@glassfish.java.net

Re: Admin GUI related question

From: Sheetal Vartak <sheetal.vartak_at_oracle.com>
Date: Wed, 9 Mar 2011 13:30:18 -0800

Hi Anissa,
I was able to access REST at the url you pointed to. But I still cannot access the admin GUI.

Thanks
Sheetal
On Mar 9, 2011, at 12:58 PM, Anissa Lam wrote:

>
> Hi Sheetal,
>
> If you didn't setup password during the create-domain command, you shouldn't see the login page.
> I have just tried that on 3.1 b43
>
> ~/Sun/v3/3.1/pb43/glassfish/bin 162) ./asadmin create-domain domain3
> Enter admin user name [Enter to accept default "admin" / no password]>
> Using port 4848 for Admin.
> Using default port 8080 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.
> Using default port 6666 for OSGI_SHELL.
> Using default port 9009 for JAVA_DEBUGGER.
> Distinguished Name of the self-signed X.509 Server Certificate is:
> [CN=macau2.local,OU=GlassFish,O=Oracle Corporation,L=Santa Clara,ST=California,C=US]
> Distinguished Name of the self-signed X.509 Server Certificate is:
> [CN=macau2.local-instance,OU=GlassFish,O=Oracle Corporation,L=Santa Clara,ST=California,C=US]
> No domain initializers found, bypassing customization step
> Domain domain3 created.
> Domain domain3 admin port is 4848.
> Domain domain3 allows admin login as user "admin" with no password.
> Command create-domain executed successfully.
>
> I have no issue accessing the console for this new domain. I wasn't asked any password.
>
> I have also tried on the trunk build, (my workspace was 2 days old), and I don't have any issue either.
> Can you access REST by going to http://localhost:4848/management/domain ?
>
> Anissa.
>
> On 3/9/11 12:31 PM, Sheetal Vartak wrote:
>> Hi All,
>>
>> I created the default domain with admin user name = admin and no password. I remember that a few months ago, I was able to access the admin GUI without having to go through the login page with the above credentials. But with the latest source built, I am asked to log in. When I enter "admin" and no password, it complains about "Authentication Failed".
>>
>> What am I doing wrong?
>>
>> Thanks
>> Sheetal