admin@glassfish.java.net

can't get MBeanServer

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Mon, 17 Mar 2008 15:24:11 -0700

Jerome,

This is broken for me too now, as with Sreeni.

The MBeanServer injection was broken by someone over the weekend, or
maybe the mbeanserver module is not running at startup?

(I've got to run out for an hour or so).


Lloyd


MB2:hk2 lloyd$ runv3
****************************************************
************ TP2 Launcher *******************
** The commandline below is temporarily here for your info. When
logging is setup it will go to the log file.
** jvm command line **
---------------------------------------------------
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/java
-cp
/v3/run/modules/glassfish-10.0-SNAPSHOT.jar:/v3/run/lib/appserv-
launch.jar
-XX:NewRatio=2
-Xmx512m
-client
-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/run/domains/domain1/lib/ext:/v3/
run/javadb/lib
-Djava.security.policy=/v3/run/domains/domain1/config/server.policy
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djava.endorsed.dirs=/v3/run/lib/endorsed
-
Dcom
.sun
.enterprise
.config
.config_environment_factory_class
=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Djavax.net.ssl.trustStore=/v3/run/domains/domain1/config/cacerts.jks
-Djavax.net.ssl.keyStore=/v3/run/domains/domain1/config/keystore.jks
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djava.security.auth.login.config=/v3/run/domains/domain1/config/
login.conf
com.sun.enterprise.glassfish.bootstrap.Main
-debug
false
-domaindir
/v3/run/domains/domain1
-instancename
server
-embedded
false
-verbose
true
-domainname
domain1
****************************************************
Mar 17, 2008 3:22:43 PM
com.sun.enterprise.admin.launcher.GFLauncherLogger info
INFO: Successfully launched in 104 msec.
Mar 17, 2008 3:22:43 PM
com.sun.enterprise.module.common_impl.DefaultModuleDefinition
parseClassPath
WARNING: Skipping loading metadata from file /v3/run/modules/phobos-
debugger-api-0.5.10.jar pointed from org.glassfish.extras:gf-phobos-
connector in classpath, as it doesn't exist
Mar 17, 2008 3:22:43 PM
com.sun.enterprise.module.common_impl.DefaultModuleDefinition
parseClassPath
WARNING: Skipping loading metadata from file /v3/run/modules/phobos-
rhino-0.5.10.jar pointed from org.glassfish.extras:gf-phobos-connector
in classpath, as it doesn't exist
Mar 17, 2008 3:22:43 PM
com.sun.enterprise.module.common_impl.DefaultModuleDefinition
parseClassPath
WARNING: Skipping loading metadata from file /v3/run/modules/jaxb-
api-2.1.jar pointed from javax.javaee:javaee in classpath, as it
doesn't exist
Mar 17, 2008 3:22:44 PM
com.sun.enterprise.module.common_impl.DefaultModuleDefinition
parseClassPath
WARNING: Skipping loading metadata from file /v3/run/modules/phobos-
debugger-api-0.5.10.jar pointed from org.glassfish.extras:gf-phobos-
connector in classpath, as it doesn't exist
Mar 17, 2008 3:22:44 PM
com.sun.enterprise.module.common_impl.DefaultModuleDefinition
parseClassPath
WARNING: Skipping loading metadata from file /v3/run/modules/phobos-
rhino-0.5.10.jar pointed from org.glassfish.extras:gf-phobos-connector
in classpath, as it doesn't exist
Mar 17, 2008 3:22:44 PM
com.sun.enterprise.module.common_impl.DefaultModuleDefinition
parseClassPath
WARNING: Skipping loading metadata from file /v3/run/modules/jaxb-
api-2.1.jar pointed from javax.javaee:javaee in classpath, as it
doesn't exist
Mar 17, 2008 3:22:44 PM com.sun.enterprise.v3.server.AppServerStartup
run
INFO: HK2 initialized in 326 ms
Mar 17, 2008 3:22:44 PM com.sun.enterprise.v3.server.AppServerStartup
run
INFO: com.sun.enterprise.naming.impl.ServicesHookup_at_aa282 Init done in
338 ms
Mar 17, 2008 3:22:44 PM com.sun.enterprise.v3.server.AppServerStartup
run
INFO: com.sun.enterprise.v3.server.Globals_at_5c458c Init done in 339 ms
Mar 17, 2008 3:22:44 PM com.sun.enterprise.v3.server.AppServerStartup
run
INFO: com.sun.enterprise.v3.services.impl.LogManagerService_at_e13a2c
Init done in 365 ms
Mar 17, 2008 3:22:44 PM com.sun.enterprise.v3.server.AppServerStartup
run
INFO: com.sun.enterprise.v3.services.impl.CmdLineParamProcessor_at_e389b8
Init done in 368 ms
Mar 17, 2008 3:22:44 PM com.sun.enterprise.v3.server.AppServerStartup
run
INFO: com.sun.enterprise.v3.server.SystemTasks_at_539d49 Init done in 416
ms
Mar 17, 2008 3:22:44 PM com.sun.enterprise.v3.server.AppServerStartup
run
INFO: com.sun.enterprise.v3.services.impl.HouseKeeper_at_72edc Init done
in 417 ms
Mar 17, 2008 3:22:44 PM
com.sun.enterprise.v3.services.impl.GrizzlyProxy start
INFO: Listening on port 8080
Mar 17, 2008 3:22:44 PM
com.sun.enterprise.v3.services.impl.GrizzlyEmbeddedHttpConfigurator
configureSSL
WARNING: HTTP listener on port: 8181 is secured, but SSL configuration
is not found!
Mar 17, 2008 3:22:44 PM
com.sun.enterprise.v3.services.impl.GrizzlyProxy start
INFO: Listening on port 8181
Mar 17, 2008 3:22:44 PM
com.sun.enterprise.v3.services.impl.GrizzlyProxy start
INFO: Listening on port 4848
Mar 17, 2008 3:22:44 PM com.sun.enterprise.v3.server.AppServerStartup
run
INFO: com.sun.enterprise.v3.services.impl.GrizzlyService_at_e3f34c
startup done in 615 ms
Mar 17, 2008 3:22:44 PM com.sun.enterprise.v3.server.AppServerStartup
run
INFO: org.glassfish.javaee.services.ResourceManager_at_2bf6c0 startup
done in 797 ms
Mar 17, 2008 3:22:44 PM com.sun.enterprise.v3.server.AppServerStartup
run
INFO: Glassfish v3 started in 798 ms
Mar 17, 2008 3:22:47 PM org.jvnet.hk2.component.InjectionManager inject
INFO: Cannot inject private javax.management.MBeanServer
org.glassfish.admin.amx.cmd.AMXCommandBase.mMBeanServer in
componentorg.glassfish.admin.amx.cmd.AMXCommand_at_5695c8
Mar 17, 2008 3:22:47 PM
SEVERE: org.jvnet.hk2.component.UnsatisfiedDepedencyException:
Unsatisfied dependency exception : private
javax.management.MBeanServer
org.glassfish.admin.amx.cmd.AMXCommandBase.mMBeanServer
Mar 17, 2008 3:22:47 PM
SEVERE: at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:
86)
Mar 17, 2008 3:22:47 PM
SEVERE: at
com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:64)
Mar 17, 2008 3:22:47 PM
SEVERE: at
com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:
50)
Mar 17, 2008 3:22:47 PM
SEVERE: at
com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:39)
Mar 17, 2008 3:22:47 PM
SEVERE: at
com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:
22)
Mar 17, 2008 3:22:47 PM
SEVERE: at
com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:71)
Mar 17, 2008 3:22:47 PM
SEVERE: at
com
.sun
.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:
24)
Mar 17, 2008 3:22:47 PM
SEVERE: at org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:
286)
Mar 17, 2008 3:22:47 PM
SEVERE: at
com
.sun.enterprise.v3.admin.CommandRunner.getCommand(CommandRunner.java:
281)
Mar 17, 2008 3:22:47 PM
SEVERE: at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:
75)
Mar 17, 2008 3:22:47 PM
SEVERE: at
com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:
144)
Mar 17, 2008 3:22:47 PM
SEVERE: at
com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:109)
Mar 17, 2008 3:22:47 PM
SEVERE: at
com
.sun
.grizzly
.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:605)
Mar 17, 2008 3:22:47 PM
SEVERE: at
com
.sun
.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:
536)
Mar 17, 2008 3:22:47 PM
SEVERE: at
com
.sun
.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:
785)
Mar 17, 2008 3:22:47 PM
SEVERE: at
com
.sun
.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:
130)
Mar 17, 2008 3:22:47 PM
SEVERE: at
com
.sun
.enterprise
.v3.services.impl.HttpProtocolFilter.execute(HttpProtocolFilter.java:99)
Mar 17, 2008 3:22:47 PM
SEVERE: at
com
.sun
.enterprise
.v3
.services
.impl
.GlassfishProtocolChain
.executeProtocolFilter(GlassfishProtocolChain.java:61)
Mar 17, 2008 3:22:47 PM
SEVERE: at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:
78)
Mar 17, 2008 3:22:47 PM
SEVERE: at
com
.sun
.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:
54)
Mar 17, 2008 3:22:47 PM
SEVERE: at
com
.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:
57)
Mar 17, 2008 3:22:47 PM
SEVERE: at
com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:179)
Mar 17, 2008 3:22:47 PM
SEVERE: Caused by:
org.jvnet.hk2.component.UnsatisfiedDepedencyException: Unsatisfied
dependency exception : private javax.management.MBeanServer
org.glassfish.admin.amx.cmd.AMXCommandBase.mMBeanServer
Mar 17, 2008 3:22:47 PM
SEVERE: at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:
81)
Mar 17, 2008 3:22:47 PM
SEVERE: ... 21 more
Mar 17, 2008 3:22:47 PM com.sun.enterprise.v3.admin.CommandRunner
getCommand
INFO: Command amx not found
Mar 17, 2008 3:22:47 PM com.sun.grizzly.tcp.StaticResourcesAdapter
service
INFO: File not found /v3/run/domains/domain1/docroot/favicon.ico



---
Lloyd L Chambers
lloyd.chambers_at_sun.com
Sun Microsystems, Inc