I am trying to put kbase object into Grid
DurGridDAO dao = new DurGridDAO("durtest");
Object o = dao.getVAlue("durKnowledgeBase1");
System.out.println(o);
//
if(o==null){
System.out.println("Knowledgebase not found in cache kbase = " + o);
o = readKnowledgeBase();
System.out.println(o);
dao.putVAlue("durKnowledgeBase1", o);//
}
KnowledgeBase kbase = (KnowledgeBase)o;
Caused by: java.lang.ClassCastException: [B cannot be cast to
com.gemstone.gemfire.cache.Operation
at
com.gemstone.gemfire.internal.cache.tier.sockets.command.Put65.cmdExecute(Put65.java:85)
at
com.gemstone.gemfire.internal.cache.tier.sockets.BaseCommand.execute(BaseCommand.java:133)
at
com.gemstone.gemfire.internal.cache.tier.sockets.ServerConnection.doNormalMsg(ServerConnection.java:758)
at
com.gemstone.gemfire.internal.cache.tier.sockets.ServerConnection.doOneMessage(ServerConnection.java:879)
at
com.gemstone.gemfire.internal.cache.tier.sockets.ServerConnection.run(ServerConnection.java:1103)
--
View this message in context:
http://drools.46999.n3.nabble.com/error-while-trying-to-put-kbase-in-cach...
Sent from the Drools: User forum mailing list archive at
Nabble.com.