users@glassfish.java.net

Re: Glassfish 3.1 Admin Console Login

From: Anissa Lam <anissa.lam_at_oracle.com>
Date: Fri, 11 Mar 2011 09:00:08 -0800

> However, I can
> never get the admin console to function properly after the domain is
> started. The console starts and makes it to the login prompt.

Did you specify the password for the admin user when creating the domain ?
If you didn't, you shouldn't see this login page.
Can you get to the REST page by going to
http://<hostnam>:4848/management/domain ?

Anissa.

On 3/11/11 8:19 AM, forums_at_java.net wrote:
> Here's the specifics:
>
> Oracle Glassfish Server 3.1 (build 43)
> Sun SPARC v440, Solaris 10 (u8), 8GB RAM, Not a Zone. Administration is
> done from a workstation remote from the server.
>
> I am able to create and start a domain with no problems. However, I can
> never get the admin console to function properly after the domain is
> started. The console starts and makes it to the login prompt. After the
> credentials are entered, nothing happens. After a half-hour, a blank
> page
> finally comes up. The server.log isn't giving me any clues and it's not
> throwing any exceptions. This one just has me puzzled.
>
> Here's the good parts of the log (immediately before and after the
> console
> appears):
>
> [#|2011-03-11T15:42:00.939+0000|INFO|oracle-glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security|_ThreadID=81;_ThreadName=Thread-1;|SEC1011:
>
> Security Service(s) Started Successfully|#]
> [#|2011-03-11T15:42:05.551+0000|INFO|oracle-glassfish3.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=20;_ThreadName=Thread-1;|Initializing
>
> Mojarra 2.1.0 (FCS 2.1.0-b11) for context ''|#]
> [#|2011-03-11T15:42:11.454+0000|INFO|oracle-glassfish3.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=81;_ThreadName=Thread-1;|WEB0671:
>
> Loading application [__admingui] at [/]|#]
> [#|2011-03-11T15:42:11.457+0000|INFO|oracle-glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=81;_ThreadName=Thread-1;|CORE10010:
>
> Loading application __admingui done in 16,220 ms|#]
> [#|2011-03-11T15:42:11.458+0000|INFO|oracle-glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.admin.adapter|_ThreadID=81;_ThreadName=Thread-1;|The
>
> Admin Console application is loaded.|#]
> [#|2011-03-11T15:42:17.311+0000|INFO|oracle-glassfish3.1|javax.enterprise.system.tools.admin.com.sun.enterprise.container.common|_ThreadID=59;_ThreadName=Thread-1;|User
>
> [] from host localhost does not have administration access|#]
> [#|2011-03-11T15:42:20.823+0000|WARNING|oracle-glassfish3.1|org.apache.catalina.connector.Request|_ThreadID=22;_ThreadName=Thread-1;|PWC4011:
>
> Unable to set request character encoding to UTF-8 from context , because
> request parameters have already been read, or
> ServletRequest.getReader() has
> already been called|#]
> [#|2011-03-11T15:42:20.884+0000|INFO|oracle-glassfish3.1|javax.enterprise.system.tools.admin.com.sun.enterprise.container.common|_ThreadID=33;_ThreadName=Thread-1;|User
>
> [] from host localhost does not have administration access|#]
> [#|2011-03-11T15:42:41.141+0000|INFO|oracle-glassfish3.1|com.sun.jersey.server.impl.application.WebApplicationImpl|_ThreadID=21;_ThreadName=Thread-1;|Initiating
>
> Jersey application, version 'Jersey: 1.5 01/14/2011 12:36 PM'|#]
> [#|2011-03-11T15:42:48.770+0000|INFO|oracle-glassfish3.1|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=21;_ThreadName=Thread-1;|Listening
>
> to REST requests at context: /management/domain|#]
> [#|2011-03-11T15:42:49.299+0000|INFO|oracle-glassfish3.1|org.glassfish.admingui|_ThreadID=24;_ThreadName=Thread-1;|Admin
>
> Console: Initializing Session Attributes...|#]
> [#|2011-03-11T15:42:50.807+0000|WARNING|oracle-glassfish3.1|org.glassfish.admingui|_ThreadID=25;_ThreadName=Thread-1;|Cannot
>
> create update center Image for /opt/glassfish3; Update Center
> functionality
> will not be available in Admin Console|#]
> [#|2011-03-11T15:57:49.302+0000|WARNING|oracle-glassfish3.1|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=14;_ThreadName=Thread-1;|GRIZZLY0023:
>
> Interrupting idle Thread: admin-thread-pool-4848(6).|#]
> [#|2011-03-11T16:12:50.030+0000|WARNING|oracle-glassfish3.1|com.sun.grizzly.config.GrizzlyServiceListener|_ThreadID=14;_ThreadName=Thread-1;|GRIZZLY0023:
>
> Interrupting idle Thread: admin-thread-pool-4848(9).|#]
> The above entry is the last line of the log file.
>
> Any clues as to where to go from here greatly appreciated!
>
> Bob
>
>
> --
>
> [Message sent by forum member 'bob63']
>
> View Post: http://forums.java.net/node/780458
>
>