Hello everybody.
I've just encountered a problem that can't figure out how to solve.
I tried to put a POJO precompiled by aopc into the cache.
Everything looks right if cache is used in the LOCAL mode.
But when i've turned it to either REPL_ASYNC or REPL_SYNC mode every putObject call
throws the exception
java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: MyPOJO
at org.jgroups.Message.getObject(Message.java:222)
at org.jgroups.blocks.RpcDispatcher.handle(RpcDispatcher.java:321)
at
org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:581)
at org.jgroups.blocks.RequestCorrelator.access$100(RequestCorrelator.java:39)
at org.jgroups.blocks.RequestCorrelator$Request.run(RequestCorrelator.java:812)
at org.jgroups.util.ReusableThread.run(ReusableThread.java:215)
at java.lang.Thread.run(Unknown Source)
The exception doesn't happen If only one instance of TreeCacheAop remains in the
system.
That error is quite strange as object of MyPOJO class has been just created, so the
class had been successfuly resolved.
It seems i've overlooked some a base thing.
Can anybody help me to avoid the error.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842291#3842291
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842291
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development