admin@glassfish.java.net

Re: Admin Console still loads slowly in 10/13 build

From: Kim Haase <Camilla.Haase_at_Sun.COM>
Date: Wed, 14 Oct 2009 16:01:46 -0400

On 10/14/09 15:13, Ken Paulsen wrote:
>
> How does it perform after it is loaded?

Pretty fast -- 1-2 seconds maybe to load a page. Update Center takes
longer (6-7 seconds), probably because it has to load all that information.

BTW, after I stop and restart the domain, subsequent loads of the GUI
take equally long (3 minutes). If I don't restart the domain but close
the browser tab and then access the GUI from another tab, it takes only
6 seconds or so to reload.

Kim

>
> The loading may take some time, I have not looked into speeding this up
> yet (or why it takes so long). I suspect it is because JSF scans all
> the .jar file -- and we have lots. Perhaps we can do something about
> this...
>
> Thanks!
>
> Ken
>
> Kim Haase wrote:
>> On my Solaris 10 system, the GUI is taking almost 3 minutes to load
>> the first time after I install. Here's the server log from start to
>> almost finish. The Console actually finished loading in my Firefox
>> 2.0.0.20 browser at 10:25:17. Is this expected?
>>
>> Oct 14, 2009 10:22:37 AM
>> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter logRequest
>> INFO: AdminConsoleAdapter's STATE IS: The Admin Console Adapter is not
>> yet initialized.
>> Oct 14, 2009 10:22:37 AM
>> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter setStateMsg
>> INFO: The Admin Console is installing...
>> Oct 14, 2009 10:22:37 AM
>> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter setStateMsg
>> INFO: The Admin Console is already installed, but not yet loaded.
>> Oct 14, 2009 10:22:37 AM
>> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter setStateMsg
>> INFO: The Admin Console is loading...
>> Oct 14, 2009 10:22:37 AM
>> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter logRequest
>> INFO: AdminConsoleAdapter's STATE IS: The Admin Console is loading...
>> Oct 14, 2009 10:22:38 AM com.sun.enterprise.web.WebContainer
>> createHttpListener
>> INFO: Created HTTP listener http-listener-1 on port 8080
>> Oct 14, 2009 10:22:38 AM com.sun.enterprise.web.WebContainer
>> createHttpListener
>> INFO: Created HTTP listener http-listener-2 on port 8181
>> Oct 14, 2009 10:22:38 AM com.sun.enterprise.web.WebContainer
>> createHttpListener
>> INFO: Created HTTP listener admin-listener on port 4848
>> Oct 14, 2009 10:22:38 AM com.sun.enterprise.web.WebContainer createHosts
>> INFO: Created virtual server server
>> Oct 14, 2009 10:22:38 AM com.sun.enterprise.web.WebContainer createHosts
>> INFO: Created virtual server __asadmin
>> Oct 14, 2009 10:22:39 AM com.sun.enterprise.web.WebContainer
>> loadSystemDefaultWebModules
>> INFO: Virtual server server loaded system default web module
>> Oct 14, 2009 10:22:39 AM org.apache.catalina.loader.WebappLoader start
>> INFO: Dual registration of jndi stream handler: factory already defined
>> Oct 14, 2009 10:22:40 AM com.sun.enterprise.security.SecurityLifecycle
>> <init>
>> INFO: security.secmgroff
>> Oct 14, 2009 10:22:40 AM com.sun.enterprise.security.SecurityLifecycle
>> onInitialization
>> INFO: Security startup service called
>> Oct 14, 2009 10:22:40 AM com.sun.enterprise.security.PolicyLoader
>> loadPolicy
>> INFO: policy.loading
>> Oct 14, 2009 10:22:41 AM com.sun.enterprise.security.SecurityLifecycle
>> onInitialization
>> INFO: Security service(s) started successfully....
>> Oct 14, 2009 10:22:41 AM
>> INFO: DOL Loading time270
>> Oct 14, 2009 10:22:42 AM
>> org.glassfish.web.loader.ServletContainerInitializerUtil
>> getInitializerList
>> WARNING: servletContainerInitializerUtil.unkownFileWarning
>> Oct 14, 2009 10:22:43 AM
>> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter logRequest
>> INFO: AdminConsoleAdapter's STATE IS: The Admin Console is loading...
>> Oct 14, 2009 10:22:48 AM
>> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter logRequest
>> INFO: AdminConsoleAdapter's STATE IS: The Admin Console is loading...
>> Oct 14, 2009 10:22:53 AM
>> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter logRequest
>> INFO: AdminConsoleAdapter's STATE IS: The Admin Console is loading...
>> Oct 14, 2009 10:22:58 AM
>> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter logRequest
>> INFO: AdminConsoleAdapter's STATE IS: The Admin Console is loading...
>> Oct 14, 2009 10:23:03 AM
>> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter logRequest
>> INFO: AdminConsoleAdapter's STATE IS: The Admin Console is loading...
>> Oct 14, 2009 10:23:09 AM
>> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter logRequest
>> INFO: AdminConsoleAdapter's STATE IS: The Admin Console is loading...
>> Oct 14, 2009 10:23:14 AM
>> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter logRequest
>> INFO: AdminConsoleAdapter's STATE IS: The Admin Console is loading...
>> Oct 14, 2009 10:23:19 AM
>> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter logRequest
>> INFO: AdminConsoleAdapter's STATE IS: The Admin Console is loading...
>> Oct 14, 2009 10:23:24 AM
>> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter logRequest
>> INFO: AdminConsoleAdapter's STATE IS: The Admin Console is loading...
>> Oct 14, 2009 10:23:30 AM
>> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter logRequest
>> INFO: AdminConsoleAdapter's STATE IS: The Admin Console is loading...
>> Oct 14, 2009 10:23:35 AM
>> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter logRequest
>> INFO: AdminConsoleAdapter's STATE IS: The Admin Console is loading...
>> Oct 14, 2009 10:23:40 AM
>> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter logRequest
>> INFO: AdminConsoleAdapter's STATE IS: The Admin Console is loading...
>> Oct 14, 2009 10:23:45 AM
>> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter logRequest
>> INFO: AdminConsoleAdapter's STATE IS: The Admin Console is loading...
>> Oct 14, 2009 10:23:50 AM
>> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter logRequest
>> INFO: AdminConsoleAdapter's STATE IS: The Admin Console is loading...
>> Oct 14, 2009 10:23:52 AM com.sun.faces.config.ConfigureListener
>> contextInitialized
>> INFO: Initializing Mojarra 2.0.0 (RC2 b22) for context ''
>> Oct 14, 2009 10:23:56 AM
>> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter logRequest
>> INFO: AdminConsoleAdapter's STATE IS: The Admin Console is loading...
>> Oct 14, 2009 10:24:01 AM
>> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter logRequest
>> INFO: AdminConsoleAdapter's STATE IS: The Admin Console is loading...
>> Oct 14, 2009 10:24:05 AM com.sun.enterprise.web.WebApplication start
>> INFO: Loading application __admingui at /
>> Oct 14, 2009 10:24:05 AM
>> com.sun.enterprise.v3.server.ApplicationLoaderService processApplication
>> INFO: Loading __admingui Application done is 87981 ms
>> Oct 14, 2009 10:24:05 AM
>> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter setStateMsg
>> INFO: The Admin Console application is loaded.
>> Oct 14, 2009 10:24:13 AM
>> org.glassfish.admin.amx.impl.mbean.ComplianceMonitor <init>
>> INFO: AMX ComplianceMonitor: validation level = full,
>> unregisterNonCompliant = false
>> Oct 14, 2009 10:24:13 AM
>> org.glassfish.admin.amx.impl.AMXStartupService _loadAMXMBeans
>> INFO: AMXStartupServiceNew: AMX core MBeans are ready for use,
>> DamainRoot = amx:pp=,type=domain-root
>> Oct 14, 2009 10:24:13 AM
>> org.glassfish.admin.amx.impl.AMXStartupService$AMXLoaderThread run
>> INFO: AMXStartupServiceNew.AMXLoaderThread: loading:
>> org.glassfish.admin.amx.impl.j2ee.loader.AMXJ2EEStartupService
>> Oct 14, 2009 10:24:13 AM
>> org.glassfish.admin.amx.impl.AMXStartupService$AMXLoaderThread run
>> INFO: AMXStartupServiceNew.AMXLoaderThread: loading:
>> org.glassfish.admin.amx.impl.config.AMXConfigStartupService
>> Oct 14, 2009 10:24:13 AM
>> org.glassfish.admin.amx.impl.AMXStartupService$AMXLoaderThread run
>> INFO: AMXStartupServiceNew.AMXLoaderThread: loading:
>> org.glassfish.admin.amx.impl.AMXStartupService
>> Oct 14, 2009 10:24:13 AM
>> org.glassfish.admin.amx.impl.AMXStartupService$AMXLoaderThread run
>> INFO: AMXStartupServiceNew.AMXLoaderThread: loading:
>> org.glassfish.admin.amx.impl.ext.AMXExtStartupService
>> Oct 14, 2009 10:24:15 AM
>> org.glassfish.admin.amx.impl.config.AMXConfigLoader start
>> INFO: AMX config read, domain config registered as amx:pp=/,type=domain
>> Oct 14, 2009 10:24:16 AM
>> org.glassfish.admin.amx.impl.j2ee.RegistrationSupport createAppMBeans
>> INFO: Registered JSR 77 MBeans for application/module:
>> amx:pp=/J2EEDomain/J2EEServer,type=AppClientModule,name=/home/chaase/glassfishv3/glassfish/domains/domain1/applications/producer/,j2eeType=AppClientModule,J2EEServer=server,J2EEApplication=null
>>
>> Oct 14, 2009 10:24:16 AM
>> org.glassfish.admin.amx.impl.j2ee.RegistrationSupport createAppMBeans
>> INFO: Registered JSR 77 MBeans for application/module:
>> amx:pp=/J2EEDomain/J2EEServer,type=WebModule,name=__admingui,j2eeType=WebModule,J2EEServer=server,J2EEApplication=null
>>
>> Oct 14, 2009 10:24:16 AM
>> org.glassfish.admin.amx.impl.j2ee.RegistrationSupport processResourceRef
>> INFO: Unrecognized resource type for JSR 77 purposes:
>> amx:pp=/domain/resources,type=admin-object-resource,name=jms/Queue
>> Oct 14, 2009 10:24:16 AM
>> org.glassfish.admin.amx.impl.j2ee.RegistrationSupport processResourceRef
>> INFO: Unrecognized resource type for JSR 77 purposes:
>> amx:pp=/domain/resources,type=connector-resource,name=jms/ConnectionFactory
>>
>> Oct 14, 2009 10:24:16 AM
>> org.glassfish.admin.amx.impl.j2ee.RegistrationSupport processResourceRef
>> INFO: Unrecognized resource type for JSR 77 purposes:
>> amx:pp=/domain/resources,type=admin-object-resource,name=jms/Topic
>> Oct 14, 2009 10:24:16 AM
>> org.glassfish.admin.amx.impl.j2ee.loader.AMXJ2EEStartupService
>> loadAMXMBeans
>> INFO: J2EEDomain registered at
>> amx:pp=/,type=J2EEDomain,j2eeType=J2EEDomain,name=amx
>> Oct 14, 2009 10:24:16 AM
>> org.glassfish.admin.amx.impl.AMXStartupService _loadAMXMBeans
>> INFO: AMXStartupServiceNew: AMX ready for use, DomainRoot =
>> amx:pp=,type=domain-root
>> Oct 14, 2009 10:24:18 AM
>> org.glassfish.admin.amx.impl.mbean.ComplianceMonitor$ValidatorThread
>> doRun
>> INFO: amx:pp=/mon/ORB-Root[S1AS-ORB],type=orb.ORBDataParserImpl
>>
>> org.glassfish.admin.amx.core.AMXValidator$ValidationFailureException:
>> "Metadata claims named (non-singleton), but no name property present
>> in ObjectName"
>> org.glassfish.admin.amx.core.AMXValidator.fail(AMXValidator.java:682)
>> org.glassfish.admin.amx.core.AMXValidator.validateObjectName(AMXValidator.java:785)
>>
>> org.glassfish.admin.amx.core.AMXValidator._validate(AMXValidator.java:488)
>>
>> org.glassfish.admin.amx.core.AMXValidator.validate(AMXValidator.java:1273)
>>
>> org.glassfish.admin.amx.impl.mbean.ComplianceMonitor$ValidatorThread.doRun(ComplianceMonitor.java:241)
>>
>> org.glassfish.admin.amx.impl.mbean.ComplianceMonitor$ValidatorThread.run(ComplianceMonitor.java:212)
>>
>>
>>
>> amx:pp=/mon/ORB-Root[S1AS-ORB],type=transport.CorbaTransportManagerImpl
>>
>> org.glassfish.admin.amx.core.AMXValidator$ValidationFailureException:
>> "Metadata claims named (non-singleton), but no name property present
>> in ObjectName"
>> org.glassfish.admin.amx.core.AMXValidator.fail(AMXValidator.java:682)
>> org.glassfish.admin.amx.core.AMXValidator.validateObjectName(AMXValidator.java:785)
>>
>> org.glassfish.admin.amx.core.AMXValidator._validate(AMXValidator.java:488)
>>
>> org.glassfish.admin.amx.core.AMXValidator.validate(AMXValidator.java:1273)
>>
>> org.glassfish.admin.amx.impl.mbean.ComplianceMonitor$ValidatorThread.doRun(ComplianceMonitor.java:241)
>>
>> org.glassfish.admin.amx.impl.mbean.ComplianceMonitor$ValidatorThread.run(ComplianceMonitor.java:212)
>>
>>
>>
>> 2 failures.
>> 2 MBeans tested.
>> Oct 14, 2009 10:24:50 AM org.glassfish.admingui.common.util.GuiUtil
>> initSessionAttributes
>> INFO: admin console: initSessionAttributes()
>> Oct 14, 2009 10:25:05 AM com.sun.jsftemplating.util.LogUtil info
>> INFO: JSFT0004: The requested resource (/dw_loader.js) is not available.
>>
>>
>> Thanks,
>> Kim
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>