[jboss-dev] Further profling: Where should I focus?
Dimitris Andreadis
dandread at redhat.com
Thu Jan 14 09:20:24 EST 2010
It probably has to do with the correct mbeanserver not getting set early enough, when using
the tool.
Jaikiran Pai wrote:
> I keep getting that too (i started seeing that sometime after 5.1.0.GA
> was released). I get past it by setting the following 2 properties in
> JAVA_OPTS:
>
> -Djboss.platform.mbeanserver
> -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl
>
> regards,
> -Jaikiran
>
> Ales Justin wrote:
>> Running JProfiler6 with including JBoss (I removed org.jboss filter)
>> classes I get the bottom exception.
>> Any idea how to get past this?
>>
>> Is it an issue of JP manipulating with our classes
>> or does JP change JMX mbeanserver impl?
>>
>> ------------------------
>>
>> 14:06:58,531 ERROR [AbstractKernelController] Error installing to
>> Configured: name=ServiceBindingManager state=Configured:
>> java.lang.Exception: Error calling callback JMXRegistrationAdvice for
>> target context ServiceBindingManager
>> at
>> org.jboss.dependency.plugins.AbstractLifecycleCallbackItem.install(AbstractLifecycleCallbackItem.java:91)
>> at
>> org.jboss.dependency.plugins.AbstractController.handleLifecycleCallbacks(AbstractController.java:1830)
>> at
>> org.jboss.dependency.plugins.AbstractController.handleInstallLifecycleCallbacks(AbstractController.java:1795)
>> at
>> org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1008)
>> at
>> org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1217)
>> at
>> org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1141)
>> at
>> org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1048)
>> at
>> org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:842)
>> at
>> org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:589)
>> at
>> org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:180)
>> at
>> org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58)
>> at
>> org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
>> at
>> org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)
>> at
>> org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
>> at
>> org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1660)
>> at
>> org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1378)
>> at
>> org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1399)
>> at
>> org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1319)
>> at
>> org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
>> at
>> org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1856)
>> at
>> org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:999)
>> at
>> org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1217)
>> at
>> org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1141)
>> at
>> org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1048)
>> at
>> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:887)
>> at
>> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:602)
>> at
>> org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:898)
>> at
>> org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:677)
>> at
>> org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
>> at
>> org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
>> at
>> org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
>> at
>> org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)
>> at
>> org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
>> at
>> org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1856)
>> at
>> org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:999)
>> at
>> org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1217)
>> at
>> org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1141)
>> at
>> org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1048)
>> at
>> org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:842)
>> at
>> org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:589)
>> at
>> org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)
>> at
>> org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:259)
>> at
>> org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:100)
>> at
>> org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:860)
>> at
>> org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:441)
>> at java.lang.Thread.run(Thread.java:619)
>> Caused by: javax.management.InstanceNotFoundException:
>> JMImplementation:type=MBeanRegistry
>> at
>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
>> at
>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:833)
>> at
>> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
>> at
>> org.jboss.system.microcontainer.jmx.ServiceControllerRegistrationLifecycleCallback.install(ServiceControllerRegistrationLifecycleCallback.java:96)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
>> at
>> org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:151)
>> at
>> org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
>> at
>> org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:300)
>> at
>> org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:304)
>> at
>> org.jboss.dependency.plugins.AbstractLifecycleCallbackItem.install(AbstractLifecycleCallbackItem.java:87)
>> ... 45 more
>> _______________________________________________
>> jboss-development mailing list
>> jboss-development at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-development
>
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
More information about the jboss-development
mailing list