[jboss-user] [JBoss Cache: Core Edition] - Re: Far cache problem (3.0.2) tx problems

rs1050 do-not-reply at jboss.com
Fri Feb 6 07:13:52 EST 2009


Here is the full config. Commented out section is what i used for TcpDelegatingCacheLoader.


  | <?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"
  |          lockParentForChildInsertRemove="false"
  |          lockAcquisitionTimeout="20000"
  |          nodeLockingScheme="mvcc"
  |          writeSkewCheck="false"
  |          concurrencyLevel="500"/>
  | 
  |    <transaction
  |          transactionManagerLookupClass="org.jboss.cache.transaction.GenericTransactionManagerLookup"
  |          syncRollbackPhase="false"
  |          syncCommitPhase="false"/>
  | 
  |    <jmxStatistics
  |          enabled="false"/>
  | 
  |    <shutdown
  |          hookBehavior="DEFAULT"/>
  | 
  |    <listeners
  |          asyncPoolSize="1"
  |          asyncQueueSize="1000000"/>
  | 
  |    <invocationBatching
  |          enabled="false"/>
  | 
  |     <serialization
  |              objectInputStreamPoolSize="12"
  |              objectOutputStreamPoolSize="14"
  |              version="3.0.0"
  |              marshallerClass="org.jboss.cache.marshall.VersionAwareMarshaller"
  |              useLazyDeserialization="false"
  |              useRegionBasedMarshalling="false"/>
  | 
  |    <loaders passivation="false" shared="false">
  |              <!--<loader class="org.jboss.cache.loader.TcpDelegatingCacheLoader"-->
  |                      <!--async="false"-->
  |                      <!--fetchPersistentState="true"-->
  |                      <!--ignoreModifications="false"-->
  |                      <!--purgeOnStartup="false">-->
  |                 <!--<properties>-->
  |                    <!--host=127.0.0.1-->
  |                    <!--port=7500-->
  |                    <!--timeout=100000-->
  |                    <!--reconnectWaitTime=2000-->
  |                 <!--</properties>-->
  |              <!--</loader>-->
  |        
  |       <loader class="org.jboss.cache.loader.JDBCCacheLoader" async="false" fetchPersistentState="false"
  |               ignoreModifications="false" purgeOnStartup="false">
  |          <properties>
  |             cache.jdbc.table.name=jbosscache
  |             cache.jdbc.table.create=true
  |             cache.jdbc.table.drop=true
  |             cache.jdbc.table.primarykey=jbosscache_pk
  |             cache.jdbc.fqn.column=fqn
  |             cache.jdbc.fqn.type=VARCHAR(255)
  |             cache.jdbc.node.column=node
  |             cache.jdbc.node.type=BLOB
  |             cache.jdbc.parent.column=parent
  |             cache.jdbc.driver=com.mysql.jdbc.Driver
  |             cache.jdbc.url=xxx
  |             cache.jdbc.user=xxx
  |             cache.jdbc.password=xxx
  |           </properties>
  |       </loader>
  | 
  |    </loaders>
  | 
  | </jbosscache>
  | 

Thank  you.

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

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



More information about the jboss-user mailing list