[JBoss-user] [JBossCache] - Re: Inhertance problems

2006-06-29 Thread gshriki
Yep, Just tried that, and it's working... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3954297#3954297 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954297 Using Tomcat but need to do more? Need to support web services,

[JBoss-user] [JBossCache] - Inhertance problems

2006-06-28 Thread gshriki
Hi, I've got the following classes: public class Person { | protected String first_name; | protected String last_name; | ... public class User extends Person { | protected String username; | protected String password; | protected Device device; | ... public

[JBoss-user] [JBossCache] - Re: Using JBoss cache to replicate object between machines

2006-05-21 Thread gshriki
Hi, OK. After running the class loader: java org.jboss.aop.hook.GenerateInstrumentedClassLoader /opt/JBC1/bin/classloader/ I've tried to run my Main class: java -Xbootclasspath/p:/opt/JBC1/bin/classloader -Djboss.aop.path=/opt/JBC1/bin/META-INF/jboss-aodp.xml Main I got the following error:

[JBoss-user] [JBossCache] - Re: Using JBoss cache to replicate object between machines

2006-05-18 Thread gshriki
Hi, I'm trying to run the examples, distributed with the JBossCache, within Eclipse, but it looks like I'm missing something. I keep getting the following exception... java.lang.IllegalArgumentException: TreeCacheAop.putObject(): Object type is neither aspectized nor Serializable nor an array

[JBoss-user] [JBossCache] - Re: Using JBoss cache to replicate object between machines

2006-05-17 Thread gshriki
Hi, First, I would like to thank you for the answer. I'm trying to declare the object with annotation: @org.jboss.cache.aop.annotation.InstanceOfPojoCacheable | public class Node implements Serializable { | ... But I still haven't figured out how can I instrument the class using the

[JBoss-user] [JBossCache] - Re: Using JBoss cache to replicate object between machines

2006-05-17 Thread gshriki
BTW - when I'm trying to remove the implements Serializable on the Node declaration, I get: java.lang.IllegalArgumentException: TreeCacheAop.putObject(): | Object type is neither aspectized nor Serializable nor an array of primitives. | Object class name is Node Any idea why? Gilad

[JBoss-user] [JBossCache] - Using JBoss cache to replicate object between machines

2006-05-16 Thread gshriki
Hi there. I'm trying to replicate java objects between two machines, using JBoss Cache. The object is pretty simple one. The strange thing is that the first time I?m inserting the object with putObject, it is duplicated in to the other machine, but when I?m updating it, the cache does not