"[EMAIL PROTECTED]" wrote : 
  | I have checked in the code under 
jboss-head/testsuite/src/main/test/cache/test/standAloneAop/CollectionProxyAopTest.
 Check it out.
  | -Ben

When I browse the CVS repository here 
http://cvs.sourceforge.net/viewcvs.py/jboss/ I don't see the file, in fact I 
don't see anything at all under jboss-head.  Is there another way to access 
this file ?

As far as using the wrong distribution for examples I think it happened  
because in the JBossCache tutorial 
(http://docs.jboss.org/jbcache/Tutorial.html) there is a an instruction to 
download the stand alone TreeCache code from SourceForge, and to use the 
configuration files under the jboss-cache/etc directory.  This is a bit 
ambiguous as far as which actual distribution should be downloaded, and so I 
downloaded JBossCache-1.2.zip which does have the directory and files 
mentioned.  Unfortunately the configuration files are out of date, and contain 
a bug which prevents replication.  Specifically the replSync-service.xml 
contains an entry in the ClusterConfig attribute, bind_addr="localhost", which 
prevents synchronous replication from working.  This set me back for days, but 
once I located this bug the replication started working as advertised.  The 
example jboss-aop.xml contains invalid entries, but at least the correct 
entries are described in another document, and now that I am using these 
"prepare" entries all is well.

My suggestion is to modify the tutorial so that it no longer points new users 
to the wrong distribution for examples, as this will make learning how to use 
JBossCache much less frustrating.  I'm still not clear as to which exact 
distribution has correct examples, as I don't see a jboss-cache/etc under the 
JBossAOP distribution.  Perhaps there are good examples in the new JBossCache 
release ?

In any event I now have my application running with JBossCache using 
TreeCacheAop.  The replication works really well -- kudos to Ben and Bela and 
to the rest of the team who put this all together.


--James

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870389#3870389

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870389


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to