dev@glassfish.java.net

Re: new build, AdminConsoleAdapter files

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Mon, 22 Sep 2008 10:47:57 -0700

Anissa,

Yes, I can bring up the admin gui via localhost:4848.

Can you squelch the big stack trace at startup? It's large and noisy,
and I start the server so many times each day for testing...

Lloyd

..............................................
Lloyd Chambers
lloyd.chambers_at_sun.com
GlassFish team, LSARC member






On Sep 22, 2008, at 10:18 AM, Anissa Lam wrote:

>
> This exception is expected from developer build which doesn't
> include any update center info. For promoted or nightly build, this
> will not occur. The AdminConsoleAdapter needs to find out the
> version of 'glassfish-gui' ips package that is downloaded and the
> UpdateCenter API throws such an exception.
> However, this shouldn't affect your ability to bring up the console
> since i ensure the code will still works fine even without this
> directory.
> Are you able to bring up the console by going to http://localhost:
> 4848 when you see this error ?
>
> thanks
> Anissa
>
> Lloyd Chambers wrote:
>> SEVERE: java.io.FileNotFoundException: /v3/
>> glassfish/../.org.opensolaris,pkg/cfg_cache (No such file or
>> directory)
>>
>>
>> ..............
>>
>> Sep 22, 2008 9:32:02 AM
>> com.sun.enterprise.admin.launcher.GFLauncherLogger info
>> INFO: JVM invocation command line:
>> /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/
>> java
>> -cp
>> /v3/glassfish/modules/glassfish-10.0-SNAPSHOT-sources.jar:/v3/
>> glassfish/modules/glassfish-10.0-SNAPSHOT.jar
>> -XX:+UnlockDiagnosticVMOptions
>> -XX:+LogVMOutput
>> -XX:NewRatio=2
>> -XX:LogFile=/v3/glassfish/domains/domain1/logs/jvm.log
>> -Xmx512m
>> -client
>> -Dcom.sun.aas.instanceRoot=/v3/glassfish/domains/domain1
>> -Djava.ext.dirs=/System/Library/Frameworks/JavaVM.framework/
>> Versions/1.5.0/Home/lib/ext:/System/Library/Frameworks/
>> JavaVM.framework/Versions/1.5.0/Home/jre/lib/ext:/v3/glassfish/
>> domains/domain1/lib/ext:/v3/glassfish/javadb/lib
>> -Djava.security.policy=/v3/glassfish/domains/domain1/config/
>> server.policy
>> -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
>> -Djava.endorsed.dirs=/v3/glassfish/lib/endorsed
>> -
>> Dcom
>> .sun
>> .enterprise
>> .config
>> .config_environment_factory_class
>> =
>> com
>> .sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
>> -Djavax.net.ssl.trustStore=/v3/glassfish/domains/domain1/config/
>> cacerts.jks
>> -Djavax.net.ssl.keyStore=/v3/glassfish/domains/domain1/config/
>> keystore.jks
>> -Dcom.sun.aas.installRoot=/v3/glassfish
>> -Dsun.rmi.dgc.server.gcInterval=3600000
>> -Dsun.rmi.dgc.client.gcInterval=3600000
>> -Djava.security.auth.login.config=/v3/glassfish/domains/domain1/
>> config/login.conf
>> com.sun.enterprise.glassfish.bootstrap.ASMain
>> -debug
>> false
>> -domaindir
>> /v3/glassfish/domains/domain1
>> -instancename
>> server
>> -verbose
>> true
>> -domainname
>> domain1
>> Sep 22, 2008 9:32:02 AM
>> com.sun.enterprise.admin.launcher.GFLauncherLogger info
>> INFO: Successfully launched in 18 msec.
>> Sep 22, 2008 9:32:02 AM
>> com.sun.enterprise.glassfish.bootstrap.ASMain main
>> INFO: Launching GlassFish on Apache Felix OSGi platform
>> Time zero is 1222101122536
>>
>> Welcome to Felix.
>> =================
>>
>> Sep 22, 2008 9:32:02 AM HK2Main start
>> INFO: contextRootDir = /v3/glassfish/modules
>> Sep 22, 2008 9:32:02 AM OSGiFactoryImpl initialize
>> INFO: Singleton already initialized as
>> com.sun.enterprise.module.impl.HK2Factory_at_27461b
>> Sep 22, 2008 9:32:03 AM OSGiModuleImpl start
>> INFO: Started bundle org.glassfish.core.kernel [73]
>> Sep 22, 2008 9:32:03 AM OSGiModuleImpl start
>> INFO: Started bundle org.glassfish.common.glassfish-mbeanserver [14]
>> Sep 22, 2008 9:32:03 AM OSGiModuleImpl start
>> INFO: Started bundle org.glassfish.common.common-util [88]
>> Sep 22, 2008 9:32:04 AM HK2Main$HK2ServiceTrackerCustomizer
>> addingService
>> INFO: registering service =
>> org.apache.felix.framework.StartLevelImpl_at_21f956, contract =
>> org.osgi.service.startlevel.StartLevel, name = null
>> Sep 22, 2008 9:32:04 AM HK2Main$HK2ServiceTrackerCustomizer
>> addingService
>> INFO: registering service =
>> org.apache.felix.framework.PackageAdminImpl_at_aab87f, contract =
>> org.osgi.service.packageadmin.PackageAdmin, name = null
>> Sep 22, 2008 9:32:04 AM OSGiModuleImpl start
>> INFO: Started bundle org.glassfish.branding.branding [90]
>> Sep 22, 2008 9:32:04 AM OSGiModuleImpl start
>> INFO: Started bundle GlassFish-Application-Common-Module [15]
>> Sep 22, 2008 9:32:04 AM APIClassLoaderService createAPIClassLoader
>> INFO: APIClassLoader = Class Loader for Bundle [GlassFish-
>> Application-Common-Module [15] ]
>> Sep 22, 2008 9:32:04 AM AppServerStartup run
>> INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
>> Sep 22, 2008 9:32:04 AM OSGiModuleImpl start
>> INFO: Started bundle org.glassfish.admin.config-api [80]
>> Sep 22, 2008 9:32:04 AM OSGiModuleImpl start
>> INFO: Started bundle org.glassfish.common.internal-api [30]
>> Sep 22, 2008 9:32:04 AM OSGiModuleImpl start
>> INFO: Started bundle org.glassfish.deployment.deployment-common [98]
>> Sep 22, 2008 9:32:04 AM OSGiModuleImpl start
>> INFO: Started bundle org.glassfish.deployment.deployment-autodeploy
>> [42]
>> Sep 22, 2008 9:32:04 AM OSGiModuleImpl start
>> INFO: Started bundle org.glassfish.flashlight.flashlight-framework
>> [102]
>> Sep 22, 2008 9:32:04 AM OSGiModuleImpl start
>> INFO: Started bundle org.glassfish.common.container-common [37]
>> Sep 22, 2008 9:32:04 AM OSGiModuleImpl start
>> INFO: Started bundle org.glassfish.common.glassfish-naming [27]
>> Sep 22, 2008 9:32:04 AM OSGiModuleImpl start
>> INFO: Started bundle org.glassfish.common.glassfish-api [99]
>> Sep 22, 2008 9:32:04 AM OSGiModuleImpl start
>> INFO: Started bundle org.glassfish.connectors.connectors-runtime [40]
>> Sep 22, 2008 9:32:04 AM
>> com.sun.enterprise.v3.services.impl.GrizzlyProxy start
>> INFO: Listening on port 8080
>> Sep 22, 2008 9:32:04 AM
>> com.sun.enterprise.v3.services.impl.GrizzlyService postConstruct
>> INFO: Network listener http-listener-2 on port 8181 has been disabled
>> Sep 22, 2008 9:32:04 AM OSGiModuleImpl start
>> INFO: Started bundle org.glassfish.transaction.jta [68]
>> Sep 22, 2008 9:32:04 AM
>> com.sun.enterprise.v3.services.impl.GrizzlyProxy start
>> INFO: Listening on port 4848
>> Sep 22, 2008 9:32:04 AM
>> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter
>> setDownloadedVersion
>> WARNING: !!!!! Cannot create Update Center Image
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: java.io.FileNotFoundException: /v3/
>> glassfish/../.org.opensolaris,pkg/cfg_cache (No such file or
>> directory)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at java.io.FileInputStream.open(Native Method)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at java.io.FileInputStream.<init>(FileInputStream.java:
>> 106)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at java.io.FileReader.<init>(FileReader.java:55)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at com.sun.pkg.client.Image.loadConfig(Image.java:939)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at com.sun.pkg.client.Image.<init>(Image.java:806)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at
>> com
>> .sun
>> .enterprise
>> .v3
>> .admin
>> .adapter
>> .AdminConsoleAdapter.setDownloadedVersion(AdminConsoleAdapter.java:
>> 708)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at
>> com
>> .sun
>> .enterprise
>> .v3.admin.adapter.AdminConsoleAdapter.init(AdminConsoleAdapter.java:
>> 416)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at
>> com
>> .sun
>> .enterprise
>> .v3
>> .admin
>> .adapter.AdminConsoleAdapter.postConstruct(AdminConsoleAdapter.java:
>> 370)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at
>> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:
>> 150)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at
>> com
>> .sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:
>> 86)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at
>> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at
>> com
>> .sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:
>> 58)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at
>> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at
>> com
>> .sun
>> .hk2
>> .component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at org.jvnet.hk2.component.Habitat$1.get(Habitat.java:
>> 252)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at java.util.AbstractList$Itr.next(AbstractList.java:422)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at
>> com
>> .sun
>> .enterprise
>> .v3
>> .services
>> .impl.GrizzlyService.registerNetworkProxy(GrizzlyService.java:293)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at
>> com
>> .sun
>> .enterprise
>> .v3.services.impl.GrizzlyService.postConstruct(GrizzlyService.java:
>> 208)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at
>> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:
>> 150)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at
>> com
>> .sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:
>> 86)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at
>> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at
>> com
>> .sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:
>> 58)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at
>> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at
>> com
>> .sun
>> .hk2
>> .component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at
>> com
>> .sun
>> .enterprise
>> .v3
>> .server
>> .ApplicationLoaderInjector
>> .postConstruct(ApplicationLoaderInjector.java:52)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at
>> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:
>> 150)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at
>> com
>> .sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:
>> 86)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at
>> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at
>> com
>> .sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:
>> 58)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at
>> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at
>> com
>> .sun
>> .hk2
>> .component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at
>> com
>> .sun
>> .enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:203)
>> Sep 22, 2008 9:32:04 AM
>> SEVERE: at com.sun.enterprise.v3.server.AppServerStartup
>> $1.run(AppServerStartup.java:116)
>> Sep 22, 2008 9:32:04 AM
>> com.sun.enterprise.v3.admin.adapter.AdminConsoleAdapter setStateMsg
>> INFO: The Admin Console Web Application has been downloaded.
>> Sep 22, 2008 9:32:04 AM
>> com.sun.enterprise.v3.server.AppServerStartup run
>> INFO: GlassFish Prelude 10.0-SNAPSHOT startup time : Felix(1551ms)
>> startup services(753ms) total(2304ms)
>> Sep 22, 2008 9:32:04 AM
>> org.glassfish.admin.mbeanserver.ConnectorStartupService
>> $ConnectorsStarterThread$RMIConnectorStarter startRMIConnector
>> INFO: RMI connector server URL = service:jmx:rmi:///jndi/rmi://
>> 192.168.1.8:8686/jmxrmi
>> Sep 22, 2008 9:32:04 AM
>> INFO: JMXMP connector server URL = service:jmx:jmxmp://localhost:8888
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>