JBoss Community

PojoCache

created by Sagar N in JBoss Cache - View the full discussion

Hi,

 

I am using PojoCache in my project. I used @org.jboss.cache.pojo.annotation.Replicable annotation for the data class and the classes it is referring. Used the ant task "aopc" to precompile the classes for instrumentation. I am using CacheManager to get my pojoCache. I am attaching a data class to pojoCache in contextInitialized of a class that extends ServletContextListener. This data class get's its data from database. First node in the cluster is starting without any issues. When I start the second node in the cluster,  in the contextInitialized method the find method of pojoCache is throwing the ClassNotFound Exception. The class it could not found is one of the class my data class is referring. I am annotating all the classes the data class is referring with @replicable.

Please help me in resolving the issue.

 

Thanks & Regards,

Sagar

Reply to this message by going to Community

Start a new discussion in JBoss Cache at Community