[jboss-user] [JBossCache] - Re: How do I configure JBossCache in JBoss-4.0.2?

yrk.kaushik do-not-reply at jboss.com
Tue Feb 26 08:09:10 EST 2008


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 at 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 at 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 

I've placed the configuration file. Could any one of you please let me know whether I am missing any thing because of which I am getting this error.


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

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



More information about the jboss-user mailing list