I'm trying to get to grips with JBossCache in standalone mode. I try to put an 
object (a SessionState class) into the cache (a TreeCache) and get the 
following. Any suggestions please.


org.jboss.util.NestedRuntimeException: java.lang.ClassNotFoundException: 
com.misys.riskvision.TestCache.SessionState; - nested throwable: 
(java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: 
com.misys.riskvision.TestCache.SessionState)
        at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3083)
        at org.jboss.cache.TreeCache.put(TreeCache.java:1758)
        at org.jboss.cache.TreeCache.put(TreeCache.java:1741)
        at 
com.misys.riskvision.TestCache.SessionStore.putSession(SessionStore.java:61)
        at 
com.misys.riskvision.TestCache.SessionCache.main(SessionCache.java:28)
Caused by: java.lang.IllegalArgumentException: 
java.lang.ClassNotFoundException: com.misys.riskvision.TestCache.SessionState
        at org.jgroups.Message.getObject(Message.java:224)
        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)
        at java.lang.Thread.run(Thread.java:534)


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

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


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to