Cluster with JBossCacheTicketRegistry

Arnaud Lesueur arnaud.lesueur at gmail.com
Tue May 8 12:14:52 EDT 2007


On 5/8/07, Barrow Kwan <bhkwan at thoughtworks.com> wrote:
>
> Can anyone provide an example to use JBossCacheTicketRegistry?  is there
> any implementation that is not using multicast? ( eg Berkeley DB or JDBC
> etc... )
>
> thanks
>

Hi,

You should have a look in the directory :
cas-server-integration-jboss\src\test\resources. There are 2 files :
- jbossTestContext.xml : contains the bean definition that you should modify
in applicationcontext.xml
- jbossTestCache.xml : add it in your classpath

BTW, these configuration examples are using mulcasting over UDP. But,
JBossCache is using JGroups for the replication process and messages.

Here is an example of configuration over TCP :
<config>
    <TCP bind_addr="10.155.18.126" start_port="7800" loopback="true"/>
    <TCPPING initial_hosts="10.155.18.127[7800],10.155.18.128[7800],
10.155.18.129[7800]"
        port_range="3"
        timeout="3500"
        num_initial_members="3"
        up_thread="true"
        down_thread="true"/>
    <MERGE2 min_interval="5000" max_interval="10000"/>
    <FD shun="true" timeout="2500" max_tries="5" up_thread="true"
down_thread="true" />
    <VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false" />
    <pbcast.NAKACK down_thread="true" up_thread="true" gc_lag="100"
retransmit_timeout="300,600,1200,2400,4800,9600" />
    <pbcast.STABLE desired_avg_gossip="20000" down_thread="false"
up_thread="false"  stability_delay="1500"/>
    <pbcast.GMS join_timeout="5000"
        join_retry_timeout="2000"
        shun="true"
        print_local_addr="true"
        down_thread="true"
        up_thread="true"/>
    <pbcast.STATE_TRANSFER up_thread="true" down_thread="true" />
</config>

More information is available on JBoss Website :
http://docs.jboss.com/jbossas/guides/clusteringguide/r2/en/html_single/#jbosscache.chapt

And as you said, there is also other implementation that are not using
multicast such ad BerkeleyDB and JDBC.

Regards,

-- 
Arnaud Lesueur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20070508/4e127421/attachment.html 


More information about the cas mailing list