[jboss-user] [JBoss Cache: Core Edition] - org.jboss.cache.CacheException: java.io.UTFDataFormatExcepti

guazi do-not-reply at jboss.com
Mon Oct 6 01:55:36 EDT 2008


I used jbossCache in my web application,but sometimes it not work well. It throwed the excetpion like this:
org.jboss.cache.CacheException: java.io.UTFDataFormatException
  | 
  |          at org.jboss.cache.invocation.AbstractInvocationDelegate.invoke(AbstractInvocationDelegate.java:135)
  | 
  |          at org.jboss.cache.invocation.AbstractInvocationDelegate.invoke(AbstractInvocationDelegate.java:64)
  | 
  |          at org.jboss.cache.invocation.CacheInvocationDelegate.put(CacheInvocationDelegate.java:488)
  | 
  |          at org.jboss.cache.invocation.NodeInvocationDelegate.put(NodeInvocationDelegate.java:343)
  | 
  |          at com.topsoft.common.cache.TopCacheImpl.put(TopCacheImpl.java:61)
  | 
  |          at com.topsoft.common.codetable.StoreCodeTableTemplate.reload(StoreCodeTableTemplate.java:58)
  | 
  |          at com.topsoft.common.codetable.StoreCodeTableTemplate.init(StoreCodeTableTemplate.java:67)
  | 
  |          at com.topsoft.common.codetable.AbstractCodeTableTemplate.getNameByCode(AbstractCodeTableTemplate.java:75)
  | 
  |          at com.topsoft.common.codetable.StoreCodeTableTemplate.getNameByCode(StoreCodeTableTemplate.java:100)
  | 
  |          at com.topnet.tais.web.dnc.action.TaxpayerBaseAction.findTaxpayerVo(TaxpayerBaseAction.java:65)
  | 
  |          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:585)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:267)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
  | 
  |          at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:221)
  | 
  |          at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
  | 
  |          at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
  | 
  |          at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:150)
  | 
  |          at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:48)
  | 
  |          at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
  | 
  |          at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
  | 
  |          at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:123)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
  | 
  |          at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
  | 
  |          at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:167)
  | 
  |          at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
  | 
  |          at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
  | 
  |          at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:105)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
  | 
  |          at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
  | 
  |          at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:83)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
  | 
  |          at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
  | 
  |          at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:207)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
  | 
  |          at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
  | 
  |          at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:74)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
  | 
  |          at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
  | 
  |          at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:127)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
  | 
  |          at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
  | 
  |          at org.apache.struts2.interceptor.ProfilingActivationInterceptor.intercept(ProfilingActivationInterceptor.java:107)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
  | 
  |          at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
  | 
  |          at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:206)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
  | 
  |          at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
  | 
  |          at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:115)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
  | 
  |          at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
  | 
  |          at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:143)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
  | 
  |          at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
  | 
  |          at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:121)
  | 
  |          at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
  | 
  |          at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
  | 
  |          at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:170)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
  | 
  |          at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
  | 
  |          at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:123)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
  | 
  |          at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
  | 
  |          at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
  | 
  |          at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
  | 
  |          at com.topsoft.log.biz.LogRecordInterceptor.intercept(LogRecordInterceptor.java:36)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
  | 
  |          at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
  | 
  |          at com.topnet.sof.web.common.CheckLoginAction.intercept(CheckLoginAction.java:35)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
  | 
  |          at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
  | 
  |          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:221)
  | 
  |          at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:50)
  | 
  |          at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:504)
  | 
  |          at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)
  | 
  |          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 
  |          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 
  |          at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119)
  | 
  |          at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55)
  | 
  |          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 
  |          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 
  |          at com.topnet.util.web.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:33)
  | 
  |          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | 
  |          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | 
  |          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | 
  |          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | 
  |          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | 
  |          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | 
  |          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | 
  |          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | 
  |          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
  | 
  |          at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
  | 
  |          at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | 
  |          at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
  | 
  |          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
  | 
  |          at java.lang.Thread.run(Thread.java:595)
  | 
  | Caused by: java.io.UTFDataFormatException
  | 
  |          at java.io.ObjectInputStream$BlockDataInputStream.readUTFSpan(ObjectInputStream.java:3027)
  | 
  |          at java.io.ObjectInputStream$BlockDataInputStream.readUTFBody(ObjectInputStream.java:2960)
  | 
  |          at java.io.ObjectInputStream$BlockDataInputStream.readUTF(ObjectInputStream.java:2773)
  | 
  |          at java.io.ObjectInputStream.readString(ObjectInputStream.java:1566)
  | 
  |          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1295)
  | 
  |          at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1917)
  | 
  |          at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1841)
  | 
  |          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1718)
  | 
  |          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304)
  | 
  |          at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349)
  | 
  |          at java.util.ArrayList.readObject(ArrayList.java:591)
  | 
  |          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:585)
  | 
  |          at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946)
  | 
  |          at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1818)
  | 
  |          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1718)
  | 
  |          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304)
  | 
  |          at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349)
  | 
  |          at org.jboss.cache.marshall.MarshalledValue.deserialize(MarshalledValue.java:80)
  | 
  |          at org.jboss.cache.marshall.MarshalledValue.hashCode(MarshalledValue.java:184)
  | 
  |          at org.jboss.cache.marshall.MarshalledValue.writeExternal(MarshalledValue.java:133)
  | 
  |          at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1310)
  | 
  |          at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1288)
  | 
  |          at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
  | 
  |          at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
  | 
  |          at java.util.HashMap.writeObject(HashMap.java:985)
  | 
  |          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:585)
  | 
  |          at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
  | 
  |          at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
  | 
  |          at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
  | 
  |          at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
  | 
  |          at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
  | 
  |          at com.sleepycat.bind.serial.SerialBinding.objectToEntry(SerialBinding.java:121)
  | 
  |          at org.jboss.cache.loader.bdbje.BdbjeCacheLoader.makeDataEntry(BdbjeCacheLoader.java:1108)
  | 
  |          at org.jboss.cache.loader.bdbje.BdbjeCacheLoader.doPut(BdbjeCacheLoader.java:479)
  | 
  |          at org.jboss.cache.loader.bdbje.BdbjeCacheLoader.doPut(BdbjeCacheLoader.java:621)
  | 
  |          at org.jboss.cache.loader.bdbje.BdbjeCacheLoader.performTransaction(BdbjeCacheLoader.java:920)
  | 
  |          at org.jboss.cache.loader.bdbje.BdbjeCacheLoader.commitModifications(BdbjeCacheLoader.java:895)
  | 
  |          at org.jboss.cache.loader.bdbje.BdbjeCacheLoader.commitModification(BdbjeCacheLoader.java:882)
  | 
  |          at org.jboss.cache.loader.bdbje.BdbjeCacheLoader.put(BdbjeCacheLoader.java:438)
  | 
  |          at org.jboss.cache.interceptors.CacheStoreInterceptor.handlePutKeyValue(CacheStoreInterceptor.java:289)
  | 
  |          at org.jboss.cache.interceptors.CacheStoreInterceptor.handlePutKeyValueMethod(CacheStoreInterceptor.java:278)
  | 
  |          at org.jboss.cache.interceptors.MethodDispacherInterceptor.invoke(MethodDispacherInterceptor.java:75)
  | 
  |          at org.jboss.cache.interceptors.Interceptor.nextInterceptor(Interceptor.java:111)
  | 
  |          at org.jboss.cache.interceptors.CacheLoaderInterceptor.handlePutKeyValueMethod(CacheLoaderInterceptor.java:109)
  | 
  |          at org.jboss.cache.interceptors.MethodDispacherInterceptor.invoke(MethodDispacherInterceptor.java:75)
  | 
  |          at org.jboss.cache.interceptors.Interceptor.nextInterceptor(Interceptor.java:111)
  | 
  |          at org.jboss.cache.interceptors.PessimisticLockInterceptor.handlePutMethod(PessimisticLockInterceptor.java:160)
  | 
  |          at org.jboss.cache.interceptors.PessimisticLockInterceptor.handlePutKeyValueMethod(PessimisticLockInterceptor.java:135)
  | 
  |          at org.jboss.cache.interceptors.MethodDispacherInterceptor.invoke(MethodDispacherInterceptor.java:75)
  | 
  |          at org.jboss.cache.interceptors.PessimisticLockInterceptor.invoke(PessimisticLockInterceptor.java:81)
  | 
  |          at org.jboss.cache.interceptors.Interceptor.nextInterceptor(Interceptor.java:111)
  | 
  |          at org.jboss.cache.interceptors.MethodDispacherInterceptor.invoke(MethodDispacherInterceptor.java:58)
  | 
  |          at org.jboss.cache.interceptors.Interceptor.nextInterceptor(Interceptor.java:111)
  | 
  |          at org.jboss.cache.interceptors.MarshalledValueInterceptor.invoke(MarshalledValueInterceptor.java:69)
  | 
  |          at org.jboss.cache.interceptors.Interceptor.nextInterceptor(Interceptor.java:111)
  | 
  |          at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:456)
  | 
  |          at org.jboss.cache.interceptors.TxInterceptor.handlePutKeyValueMethod(TxInterceptor.java:265)
  | 
  |          at org.jboss.cache.interceptors.MethodDispacherInterceptor.invoke(MethodDispacherInterceptor.java:75)
  | 
  |          at org.jboss.cache.interceptors.Interceptor.nextInterceptor(Interceptor.java:111)
  | 
  |          at org.jboss.cache.interceptors.CacheMgmtInterceptor.handlePutExternalAndKeyValue(CacheMgmtInterceptor.java:139)
  | 
  |          at org.jboss.cache.interceptors.CacheMgmtInterceptor.handlePutKeyValueMethod(CacheMgmtInterceptor.java:132)
  | 
  |          at org.jboss.cache.interceptors.MethodDispacherInterceptor.invoke(MethodDispacherInterceptor.java:75)
  | 
  |          at org.jboss.cache.interceptors.Interceptor.nextInterceptor(Interceptor.java:111)
  | 
  |          at org.jboss.cache.interceptors.InvocationContextInterceptor.invoke(InvocationContextInterceptor.java:73)
  | 
  |          at org.jboss.cache.invocation.AbstractInvocationDelegate.invoke(AbstractInvocationDelegate.java:123)
  | 
  |          ... 140 more
  | 

my config jbossCache used this file:

  | <server>
  | 	<mbean code="org.jboss.cache.jmx.CacheJmxWrapper"
  | 		name="jboss.cache:service=Cache">
  | 		<!-- Configure the TransactionManager -->
  | 		<attribute name="TransactionManagerLookupClass">
  | 			com.topsoft.common.cache.CacheTransationManagerLookUp
  | 		</attribute>
  | 		<!-- Node locking level : SERIALIZABLE
  | 			REPEATABLE_READ (default)
  | 			READ_COMMITTED
  | 			READ_UNCOMMITTED
  | 			NONE -->
  | 		<attribute name="IsolationLevel">READ_COMMITTED</attribute>
  | 		<!-- Lock parent before doing node additions/removes -->
  | 		<attribute name="LockParentForChildInsertRemove">
  | 			true
  | 		</attribute>
  | 		<!-- Valid modes are LOCAL (default)
  | 			REPL_ASYNC
  | 			REPL_SYNC
  | 			INVALIDATION_ASYNC
  | 			INVALIDATION_SYNC -->
  | 		<attribute name="CacheMode">LOCAL</attribute>
  | 		<!-- Max number of milliseconds to wait for a lock acquisition -->
  | 		<attribute name="LockAcquisitionTimeout">15000</attribute>
  | 		<!-- Specific eviction policy configurations. This is LRU -->
  | 
  | 		
  | 
  | 		<!--
  | 			The max amount of time (in milliseconds) we wait until the
  | 			state (ie. the contents of the cache) are retrieved from
  | 			existing members in a clustered environment
  | 		-->
  | 		<attribute name="StateRetrievalTimeout">20000</attribute>
  | 
  | 		<!--
  | 			Number of milliseconds to wait until all responses for a
  | 			synchronous call have been received.
  | 		-->
  | 		<attribute name="SyncReplTimeout">15000</attribute>
  | 
  | 		<!-- Max number of milliseconds to wait for a lock acquisition -->
  | 		<attribute name="LockAcquisitionTimeout">10000</attribute>
  | 		<attribute name="ShutdownHookBehavior">DEFAULT</attribute>
  | 		<attribute name="UseLazyDeserialization">true</attribute>
  | 
  | 
  | 		<attribute name="EvictionPolicyConfig">
  | 			<config>
  | 				<attribute name="wakeUpIntervalSeconds">5</attribute>
  | 				<!-- This defaults to 200000 if not specified -->
  | 				<attribute name="eventQueueSize">200000</attribute>
  | 				<attribute name="policyClass">
  | 					org.jboss.cache.eviction.LRUPolicy
  | 				</attribute>
  | 
  | 				<!-- Cache wide default -->
  | 				<region name="/_default_">
  | 					<attribute name="maxNodes">5000</attribute>
  | 					<attribute name="timeToLiveSeconds">1000</attribute>
  | 				</region>
  | 			</config>
  | 		</attribute>
  | 		<attribute name="CacheLoaderConfig" replace="false">
  | 			<config>
  | 				<shared>false</shared>
  | 				<cacheloader>
  | 
  | 					<class>
  | 						org.jboss.cache.loader.bdbje.BdbjeCacheLoader
  | 					</class>
  | 					<properties>location=./topCache_local_temp/</properties>
  | 					<async>false</async>
  | 					<!-- if set to true, purges the contents of this cache loader when the cache starts up.
  | 						Defaults to false. -->
  | 					<purgeOnStartup>true</purgeOnStartup>
  | 				</cacheloader>
  | 			</config>
  | 		</attribute>
  | 	</mbean>
  | </server>
  | 

what should I do? thank you.

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

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



More information about the jboss-user mailing list