Hi, I'm new to this interesting project. When testing replication, TreeCache is
ok but TreeCacheAop throws object instantiation exception:
failed creating instance of com.xxx.Customer; - nested throwable:
(java.lang.InstantiationException: com.xxx.Customer);
code is simple:
TreeCacheAopMBean cache =
ServiceLocator.getInstance().getTreeCacheAop("testTreeCacheAop");
if (!cache.exists(fqn))
{
...
}else
{
Customer c = (Customer)cache.getObject(fqn); // Exception
throws here
...
}
Note that it works fine locally, but after replicated(A->B), B get that
problem, both A and B using same stuff and the object is not Serializable, also
I don't use farming, but deploy .ear and tree-aop-service.xml under /deploy of
both machines respectively. Whatever using runtime interceptor or
pre-compile(aopc), get the same result.
So what's the problem...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890194#3890194
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890194
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user