[jboss-user] [JBossCache] - Error when I put an object in a clustered pojo cache

itchy75 do-not-reply at jboss.com
Thu Aug 9 07:57:40 EDT 2007


I have the following the stack trace when I put an object object in the cache and I don't understand why this error appears. 

And sometimes, I'have this error too. But I have the jar file in the lib directory of my webapp.


  | 11:45:47,170 ERROR [STDERR] java.lang.ClassNotFoundException: No ClassLoaders found for: com.company.interfaces.ws.auth.User
  | 



  | javax.management.RuntimeMBeanException
  |         at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:176)
  |         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:163)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at org.springframework.jmx.access.MBeanClientInterceptor.invokeOperation(MBeanClientInterceptor.java:371)
  |         at org.springframework.jmx.access.MBeanClientInterceptor.invoke(MBeanClientInterceptor.java:302)
  |         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
  |         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
  |         at $Proxy51.putObject(Unknown Source)
  |         at fr.billetel.nl.common.asynchronous.impl.AsynchronousTaskSubmitter.submitJob(AsynchronousTaskSubmitter.java:48)
  |         at fr.billetel.interfaces.ws.allotement.etatventes.impl.EtatVentes.prepareBordereaux(EtatVentes.java:131)
  |         at fr.billetel.interfaces.ws.allotement.etatventes.PrepareEtatVentesMessageReceiverInOut.invokeBusinessLogic(PrepareEtatVentesMessageReceiverI
  | nOut.java:66)
  |         at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)
  |         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:144)
  |         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:279)
  |         at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:116)
  |         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  |         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  |         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  |         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.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  |         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  |         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  |         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  |         at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  |         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:869)
  |         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  |         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  |         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  |         at java.lang.Thread.run(Thread.java:595)
  | Caused by: java.lang.RuntimeException: PojoCache.putObject(): fqn: /dddd/23b41a0a020e5d00ff65bfe2651c2e20070809-102027
  |         at org.jboss.cache.aop.PojoCache.putObject(PojoCache.java:478)
  |         at org.jboss.cache.aop.PojoCache.putObject(PojoCache.java:423)
  |         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 org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  |         ... 37 more
  | Caused by: java.lang.RuntimeException: java.io.StreamCorruptedException: invalid stream header
  |         at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5526)
  |         at org.jboss.cache.TreeCache.put(TreeCache.java:3601)
  |         at org.jboss.cache.TreeCache.put(TreeCache.java:3332)
  |         at org.jboss.cache.aop.InternalDelegate.put(InternalDelegate.java:140)
  |         at org.jboss.cache.aop.SerializableObjectHandler.putIntoCache(SerializableObjectHandler.java:113)
  |         at org.jboss.cache.aop.SerializableObjectHandler.serializableObjectPut(SerializableObjectHandler.java:72)
  |         at org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:215)
  |         at org.jboss.cache.aop.PojoCache._putObject(PojoCache.java:731)
  |         at org.jboss.cache.aop.PojoCache.putObject(PojoCache.java:462)
  |         ... 43 more
  | Caused by: java.io.StreamCorruptedException: invalid stream header
  |         at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:753)
  |         at java.io.ObjectInputStream.<init>(ObjectInputStream.java:268)
  |         at org.jboss.invocation.MarshalledValueInputStream.<init>(MarshalledValueInputStream.java:74)
  |         at org.jboss.cache.marshall.VersionAwareMarshaller.objectFromByteBuffer(VersionAwareMarshaller.java:184)
  |         at org.jgroups.blocks.RpcDispatcher.handle(RpcDispatcher.java:203)
  |         at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:615)
  |         at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:512)
  |         at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:326)
  |         at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.handleUp(MessageDispatcher.java:722)
  |         at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.access$300(MessageDispatcher.java:554)
  |         at org.jgroups.blocks.MessageDispatcher$1.run(MessageDispatcher.java:691)
  |         ... 1 more
  | 

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

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



More information about the jboss-user mailing list