[jboss-user] [JBoss Cache: Core Edition] - Re: Possible deadlock with JBoss Cache? - Timeout exceptions

rsmysore do-not-reply at jboss.com
Wed Aug 19 15:52:01 EDT 2009


Additional Note:

Though we do configure for clustering, there is only one node in this case. See more configuration details below.  


Eviction configuration. 

    <eviction wakeUpInterval="3000">
  |         <default algorithmClass="org.jboss.cache.eviction.LRUAlgorithm" eventQueueSize="200000">
  |             <property name="maxNodes" value="10000"/>
  |         </default>
  |         <region name="/Metadata/Form">
  | 			<property name="maxNodes" value="10000"/>
  | 		</region>
  | 
  | 		<region name="/Workflow/Escalation">
  | 			<property name="maxNodes" value="5000"/>
  | 		</region>
  | 
  | 		<region name="/Workflow/Filter">
  | 			<property name="maxNodes" value="5000"/>
  | 		</region>
  | 
  | 		<region name="/Workflow/ActiveLink">
  | 			<property name="maxNodes" value="5000"/>
  | 		</region>
  | 
  | 		<region name="/Metadata/Menu">
  | 			<property name="maxNodes" value="5000"/>
  | 		</region>
  | 
  | 		<region name="/Metadata/Container">
  | 			<property name="maxNodes" value="5000"/>
  | 		</region>
  | 
  | 		<region name="/AccessControl/User">
  | 			<property name="maxNodes" value="10000"/>
  | 		</region>
  | 		
  | 		<region name="/Metadata/Container/Application">
  | 			<property name="maxNodes" value="0"/>
  | 		</region>
  | 		
  | 		<region name="/Config">
  | 			<property name="maxNodes" value="0"/>
  | 		</region>
  | 		
  |     </eviction>
  | 
  | <clustering mode="invalidation" clusterName="JBossCache-Cluster">
  | 		
  |         <!--
  |            Defines whether to retrieve state on startup
  |         -->
  |         <stateRetrieval timeout="20000" fetchInMemoryState="false"/>
  | 
  |         <!--
  |            Network calls are synchronous.
  |         -->
  |         <sync replTimeout="20000"/>
  |         
  |         <!--
  |            Configures the JGroups channel.  Looks up a JGroups config file on the classpath or filesystem.  udp.xml
  |            ships with jgroups.jar and will be picked up by the class loader.
  |         -->
  |     	<jgroupsConfig configFile="jgroups-config.xml"/>
  |     </clustering> 
  |     


The atomikos transaction manager is injected using the DummyTransactionManager. See configuration below. 

<!--
  |     Used to register a transaction manager and participate in ongoing transactions. There is no 
  |     JNDI present, since we are out of the container. Dummy lookup. 
  |     The transaction manager is injected programatically.
  |     -->
  |     <transaction transactionManagerLookupClass="org.jboss.cache.transaction.DummyTransactionManagerLookup"
  |             syncRollbackPhase="true"
  |             syncCommitPhase="true"/>

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

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



More information about the jboss-user mailing list