We are using JBoss 4.0.2

Here is my config files for clustering:

tc5-cluster-service.xml:
---------------------------

   

        jboss:service=Naming
        jboss:service=TransactionManager

        <!-- Configure the TransactionManager -->
        org.jboss.cache.JBossTransactionManagerLookup

        <!--
            Isolation level : SERIALIZABLE
                              REPEATABLE_READ (default)
                              READ_COMMITTED
                              READ_UNCOMMITTED
                              NONE
        -->
        REPEATABLE_READ

        <!--
             Valid modes are LOCAL, REPL_ASYNC and REPL_SYNC
        -->
        REPL_SYNC

        <!-- Name of cluster. Needs to be the same for all clusters, in order
             to find each other
        -->
        Tomcat-Cluster

        <!-- JGroups protocol stack properties. Can also be a URL,
             e.g. file:/home/bela/default.xml
           
        -->

        
            <!--
            The default UDP stack:
            - If you have a multihomed machine, set the UDP protocol's 
bind_addr attribute to the
            appropriate NIC IP address, e.g bind_addr="192.168.0.2".
            - On Windows machines, because of the media sense feature being 
broken with multicast
            (even after disabling media sense) set the UDP protocol's loopback 
attribute to true
            -->

            
                <UDP bind_addr="10.38.9.174" mcast_port="45577"
                    ip_ttl="8" ip_mcast="true" 
                    mcast_send_buf_size="150000" mcast_recv_buf_size="80000"
                    ucast_send_buf_size="150000" ucast_recv_buf_size="80000"
                    loopback="true"/>
                <PING timeout="2000" num_initial_members="3"
                    up_thread="false" down_thread="false"/>
                <MERGE2 min_interval="10000" max_interval="20000"/>

------------------
jboss-service.xml
-------------------
      <!--
         Configuration for HTTP Session Clustering using JBossCache
      -->
      jboss.cache:service=TomcatClusteringCache
      jboss:service=TransactionManager

----------------------
web.xml
-----------------------
<web-app>
          
        
        <servlet-name>jsp</servlet-name>
        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
        <init-param>
            <param-name>fork</param-name>
            <param-value>false</param-value>
        </init-param>

--------------------------
jboss-web.xml
--------------------------
<replication-config>
<replication-trigger>SET_AND_NON_PRIMITIVE_GET</replication-trigger>
<replication-granularity>SESSION</replication-granularity>
</replication-config>






-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------

After I received lock and timeout exception , 
I set up ISOLATION to "NONE"
and CachMode to "REPL_ASYNC"

even with this, it is tremendously slow. Any idea??


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

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


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to