[jboss-user] [JBoss Cache] - PojoCache

Sagar N do-not-reply at jboss.com
Thu Feb 24 20:59:30 EST 2011


Sagar N [http://community.jboss.org/people/vsnallu] created the discussion

"PojoCache"

To view the discussion, visit: http://community.jboss.org/message/589637#589637

--------------------------------------------------------------
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
[http://community.jboss.org/message/589637#589637]

Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2052]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110224/12d2371d/attachment.html 


More information about the jboss-user mailing list