[JBoss-dev] [JBossCache] - AOPC Ant target question

2005-03-31 Thread Bill Bejeck
Hi, I plan on pre-compiling all classes that will be uses in the TreeCacheAop. The issue is that the files are located in different places in the project. In the aopc ant build target how woul I list multiple directories in the src path=/ element? I have tried using ref-id's to path

[JBoss-dev] [JBossCache] - Re: TreeCacheAop questions

2005-03-24 Thread Bill Bejeck
Ok, I made a mistake before, and Serialized objects work fine in the TreeCacheAop. But I have another question now. I am having trouble using the org.jboss.aop.standalone.SystemClassLoader in Tomcat. The error is failed to transform TreeCacheAOP with a linked exception to the

[JBoss-dev] [JBossCache] - Concurrency Question

2005-03-23 Thread Bill Bejeck
Hi, I have a question concerning transaction isolation levels. Using the Serilizable level no write or read locks will be granted to TXN2 until TXN1 releases them. Will the same hold for n number of TreeCache instances in cluster of n machines? In other words, Will TXN1 on node a/b/c on

[JBoss-dev] [JBossCache] - TreeCacheAop questions

2005-03-23 Thread Bill Bejeck
Hi, I have questions regarding using TreeCacheAop. | A) If I have an object that once created is used only for read only | purposes, is there any problem with not-aspectizing the object | and still using the method putObject()? | | B) It seems that objects in the

[JBoss-dev] [JBossCache] - Fetch state on startup in TreeCacheAOP

2005-03-17 Thread Bill Bejeck
Hi, I am working with TreeCache and TreeCacheAOP. I have both configured with the FetchStateOnStartUp set to true. To test both I start one instance of TreeCache and TreeCacheAOP. In my TreeCacheLogs I see that when I start a second TreeCache it is updated from whatever is in the first

[JBoss-dev] [JBossCache] - Re: JBossCache 1.2.1 released

2005-03-14 Thread Bill Bejeck
Bela, The jar files in the lib directory are a little different, if I have a working copy of TreeCache 1.2 installed, what jar files should I keep and/or replace? Thanks, Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3870058#3870058 Reply to the post :

[JBoss-dev] [JBossCache] - Synchronizing TreeCache in cluser

2005-03-07 Thread Bill Bejeck
Hi, I need to restrict access to the TreeCache in our cluster to ensure that no two updates will occur on the same node at the same time. Is there a mechinism in TreeCacheAOP that handles this? Or would I have to develop my own locking mechanism from JGroups using a class like

[JBoss-dev] [JBossCache] - Re: JBossCache in Tomcat w/ Transaction Support

2005-03-02 Thread Bill Bejeck
Great thanks. Any idea when 1.2.1 will be available? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3868378#3868378 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3868378

[JBoss-dev] [JBossCache] - Interceptors, Cache Loaders

2005-02-25 Thread Bill Bejeck
Hi, As a developer, is there ever any reason to work with classes in the TreeCache API like interceptors, cache loaders etc when working on developing a distributed cache? Or is it considered best practice to primarily work with TreeCache class ? Thanks View the original post :

[JBoss-dev] [JBossCache] - Re: JBossCache in Tomcat w/ Transaction Support

2005-02-25 Thread Bill Bejeck
Bela, I was able to solve my original problem. I stopped using a JDBCCacheLoader. But I get an entirely different error now. I am using TreeCache, Tomcat add JOTM for transactions on two different JVM's. When the following code is exectued | txn.begin(); |

[JBoss-dev] [JBossCache] - Re: JBossCache in Tomcat w/ Transaction Support

2005-02-23 Thread Bill Bejeck
Bela, I isolated the problem (I think). I have two webapps running on two tomcat servers on my machine. The error occurs in webapp_2 when when webapp_1 call utx.commit() on a put(fqn,key,data) into the tree. The error is coming from the org.jboss.cache.interceptors.CacheStoreInterceptor

[JBoss-dev] [JBossCache] - JBossCache in Tomcat w/ Transaction Support

2005-02-22 Thread Bill Bejeck
Hi, I am currently evaluating JBossCache for my company. For our purposes we will need to use JBossCache inside of Tomcact. For transaction support I have added the JOTM jar files and used the configuration example from the JOTM docs. In the JBossCache config file I set the

[JBoss-dev] [JBossCache] - Re: JBossCache in Tomcat w/ Transaction Support

2005-02-22 Thread Bill Bejeck
anonymous wrote : Regarding the _put(): can you debug and print out the method that fails ? | The method that is failing is tree.put(node,currentCount,item); when I have transactions configured. JOTM does not specify a Transaction Manager Factory. Does that mean I would have to create one

[JBoss-dev] [JBossCache] - Re: JBossCache in Tomcat w/ Transaction Support

2005-02-22 Thread Bill Bejeck
Right now it is in a small web app, I will try to extract the code, unless you want me to send my Java and JSP files View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3867502#3867502 Reply to the post :