I'm happy to hear that you found what you were looking for :-)

Do not hesitate to complete the CAS User Manual on JBossCacheTicketRegistry:
http://www.ja-sig.org/wiki/display/CASUM/Home

Regards,

--
Arnaud Lesueur

LinkedIn: http://www.linkedin.com/in/lesueur

On 5/8/07, Barrow Kwan <[EMAIL PROTECTED]> wrote:

this is awesome! exactly what I am looking for.  I did look at the example
but it is using multicast which is not an option for us.  Your sample
definitely help!
thanks

On May 8, 2007, at 9:14 AM, Arnaud Lesueur wrote:

On 5/8/07, Barrow Kwan <[EMAIL PROTECTED]> 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
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas


Barrow Kwan
ThoughtWorks Inc
410 Townsend St, 4th Floor
San Francisco, CA 94107
USA
(415)869-3103

_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to