[jboss-user] [Clustering/JBoss] - Re: Cluster setup
krishnan366
do-not-reply at jboss.com
Tue Mar 17 23:15:32 EDT 2009
Please find the complete configuration file.
Yes, they are writing to a single shared DB
<?xml version="1.0" encoding="UTF-8"?>
| <jbosscache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:jboss:jbosscache-core:config:3.0">
|
| <locking
| isolationLevel="READ_COMMITTED"/>
| <transaction
| transactionManagerLookupClass="org.jboss.cache.transaction.GenericTransactionManagerLookup"
| syncRollbackPhase="false"
| syncCommitPhase="false"/>
|
|
| <clustering mode="replication">
|
|
| <stateRetrieval timeout="20000" fetchInMemoryState="false"/>
| <sync replTimeout="20000"/>
|
| </clustering>
|
| <eviction wakeUpInterval="500" >
|
| <default algorithmClass="org.jboss.cache.eviction.FIFOAlgorithm" eventQueueSize="100000">
| <property name="maxNodes" value="100" />
| <property name="minTimeToLive" value="36000"/>
| </default>
|
| <region name="/regionA">
| <property name="maxNodes" value="3" />
| <property name="minTimeToLive" value="2000"/>
|
| </region>
| </eviction>
|
|
| <loaders passivation="false" shared="true">
| <preload><node fqn="/"></node></preload>
| <loader class="org.jboss.cache.loader.JDBCCacheLoader" async="false" fetchPersistentState="false"
| ignoreModifications="false" purgeOnStartup="true">
| <properties>
| cache.jdbc.datasource=java:/ProjectOracleDS
| location=./
| cache.jdbc.table.drop=false
| cache.jdbc.table.name=cache_loader
| cache.jdbc.table.primarykey=FQN
| cache.jdbc.fqn.column=FQN
| cache.jdbc.node.column=cache_data
| cache.jdbc.parent.column=parent_fqn
| cache.jdbc.sql-concat=1||2
| </properties>
|
| </loader>
| </loaders>
|
|
|
|
| </jbosscache>
|
I got get this exception
org.jboss.cache.lock.TimeoutException: Unable to acquire lock on Fqn
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218859#4218859
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4218859
More information about the jboss-user
mailing list