0 Replies Latest reply on Nov 21, 2005 9:56 AM by James B

    TreeCache

    James B Newbie

      Hi all,
      I have added the following MBean tag in jboss-service.xml, I am getting the error in the jboss console...Please someone tell me what I am missing.
      Thank you
      Vnay

      MBean tag
      -------------------------------------------------------------------------------

      jboss:service=invoker,type=jrmp
      jboss.cache:service=TreeCache
      MyCache true org.jboss.cache.TreeCacheMBean

      org.jboss.proxy.ClientMethodInterceptor
      org.jboss.proxy.SecurityInterceptor
      org.jboss.invocation.InvokerInterceptor

      jboss:service=invoker,type=jrmp
      jboss.cache:service=TreeCache

      -----------------------------------------------------------------------------------

      error
      -------------------------------------------------------------------------------------
      MBeans waiting for other MBeans:
      ObjectName: mydomain:service=proxyFactory,type=jrmp,target=factory
      state: CONFIGURED
      I Depend On: jboss:service=invoker,type=jrmp
      jboss.cache:service=TreeCache

      Depends On Me:

      MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
      ObjectName: jboss.cache:service=TreeCache
      state: NOTYETINSTALLED
      I Depend On:
      Depends On Me: mydomain:service=proxyFactory,type=jrmp,target=factory


      20:10:06,671 ERROR [Server] Root deployment has missing dependencies; continuing
      Incomplete Deployment listing:
      MBeans waiting for other MBeans:
      ObjectName: mydomain:service=proxyFactory,type=jrmp,target=factory
      state: CONFIGURED
      I Depend On: jboss:service=invoker,type=jrmp
      jboss.cache:service=TreeCache

      Depends On Me:

      MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
      ObjectName: jboss.cache:service=TreeCache
      state: NOTYETINSTALLED
      I Depend On:
      Depends On Me: mydomain:service=proxyFactory,type=jrmp,target=factory


      at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1155)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:607)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588)
      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:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311)
      at org.jboss.Main.boot(Main.java:191)
      at org.jboss.Main$1.run(Main.java:480)
      at java.lang.Thread.run(Thread.java:534)
      20:10:06,953 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
      20:10:07,453 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009
      20:10:07,531 INFO [JkMain] Jk running ID=0 time=0/188 config=null

      -----------------------------------------------------------------------------------