2 Replies Latest reply on Oct 15, 2008 6:18 PM by ssomasun

    Problem configuring service jboss.cache:service=TreeCache

    Ravi Kiran Kaushik Y Newbie

      I am using Jboss cache 2.0.0 GA. I've used the configuration file- local-eviction-cacheloader-service.xml, available under JBossCache-all-2.0.0.GA\etc\META-INF and place it in Jboss\server\default\deploy folder. But while starting the server, I am getting incomplete deployment error as shown below. Could any of you please help me out in resolving this?

      12:01:43,095 INFO [ServiceConfigurator] Problem configuring service jboss.cache:service=TreeCache
      org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@110195c on mbean jboss.cache:service=TreeCache; - nested throwable: (java.lang.VerifyError: (class: org/jboss/cache/config/Configuration, method: setCacheLoaderConfig signature: (Lorg/jboss/cache/config/CacheLoaderConfig;)V) Incompatible argument to function)
      at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:698)
      at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:332)


      Caused by: java.lang.VerifyError: (class: org/jboss/cache/config/Configuration, method: setCacheLoaderConfig signature: (Lorg/jboss/cache/config/CacheLoaderConfig;)V) Incompatible argument to function
      at org.jboss.cache.jmx.CacheJmxWrapper.getConfiguration(CacheJmxWrapper.java:124)
      at org.jboss.cache.jmx.CacheJmxWrapper.setTransactionManagerLookupClass(CacheJmxWrapper.java:545)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.cache:service=TreeCache
      State: FAILED
      Reason: org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@110195c on mbean jboss.cache:service=TreeCache; - nested throwable: (java.lang.VerifyError: (class: org/jboss/cache/config/Configuration, method: setCacheLoaderConfig signature: (Lorg/jboss/cache/config/CacheLoaderConfig;)V) Incompatible argument to function)
      I Depend On:
      jboss:service=Naming
      jboss:service=TransactionManager