[jboss-dev-forums] [Design of JBossCache] - Re: Injection of MBeanServer

bstansberry@jboss.com do-not-reply at jboss.com
Sun Nov 5 23:28:04 EST 2006


Deploying this bean:


  |    <bean name="TomcatClusteringCache" class="org.jboss.cache.pojo.jmx.PojoCacheJmxWrapper">
  |       <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss.cache:service=TomcatClusterCache,partition=${jboss.partition.name:DefaultPartition}", exposedInterface=org.jboss.cache.pojo.jmx.PojoCacheJmxWrapperMBean.class)</annotation>
  |       
  |       <depends>jboss:service=Naming</depends>
  |       <depends>jgroups.mux:name=Multiplexer</depends>
  |       
  |       <property name="configuration"><inject bean="TomcatClusteringCacheConfig"/></property>
  |         
  |    </bean>

results in the bean not getting registered in JMX and this in the log:

2006-11-05 22:06:03,500 WARN  [org.jboss.kernel.plugins.dependency.DescribeAction] You have defined annotations for bean 'TomcatClusteringCache', but no KernelRepository has been installed under the name 'Repository'

I'll take this up with Kabir.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983354#3983354

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983354



More information about the jboss-dev-forums mailing list