As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<?xml version='1.0' encoding='UTF-8'?> <ehcache> <!– defaults –> <diskStore path="java.io.tmpdir"/> <cacheManagerPeerProviderFactory class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory" properties="peerDiscovery=automatic, multicastGroupAddress=230.0.0.1, multicastGroupPort=4446"/> <cacheManagerPeerListenerFactory class="net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory"/> <defaultCache maxElementsInMemory="5000" eternal="true" timeToIdleSeconds="0" timeToLiveSeconds="0" overflowToDisk="false" > <cacheEventListenerFactory class="net.sf.ehcache.distribution.RMICacheReplicatorFactory" properties="replicateAsynchronously=false, replicatePuts=false,replicateUpdates=true,replicateUpdatesViaCopy=false,replicateRemovals=true"/> </defaultCache> <!– Hibernate usage –> <cache name="org.hibernate.cache.StandardQueryCache" maxElementsInMemory="50" eternal="true" overflowToDisk="false" /> […] </ehcache>
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'> <beans> <!– Schedule index tracking every 30s –> <bean id="indexTrackerTrigger" class="org.alfresco.util.CronTriggerBean"> <property name="jobDetail"> <bean class="org.springframework.scheduling.quartz.JobDetailBean"> <property name="jobClass"> <value>org.alfresco.repo.node.index.IndexRecoveryJob</value> </property> <property name="jobDataAsMap"> <map> <entry key="indexRecoveryComponent"> <ref bean="indexTrackerComponent" /> </entry> </map> </property> </bean> </property> <property name="scheduler"> <ref bean="schedulerFactory" /> </property> <property name="cronExpression"> <value>0,10,20,30,40,50 * * * * ?</value> </property> </bean> <bean id="indexTrackerComponent" class="org.alfresco.repo.node.index.IndexRemoteTransactionTracker" parent="indexRecoveryComponentBase"> <property name="remoteOnly"> <value>true</value> </property> </bean> <!– Forces the reindexing of nodes where content may have been missing before –> <!– This component can be triggered at intervals where asynchronous content sharing between clustered servers has been set up. –> <bean id="missingContentReindexTrigger" class="org.alfresco.util.TriggerBean"> <property name="jobDetail"> <bean class="org.springframework.scheduling.quartz.JobDetailBean"> <property name="jobClass"> <value>org.alfresco.repo.node.index.IndexRecoveryJob</value> </property> <property name="jobDataAsMap"> <map> <entry key="indexRecoveryComponent"> <ref bean="missingContentReindexComponent" /> </entry> </map> </property> </bean> </property> <property name="scheduler"> <ref bean="schedulerFactory" /> </property> <!– Give the server 5 minutes and then check for missing content –> <property name="startDelayMinutes"> <value>5</value> </property> <property name="repeatCount"> <value>0</value> </property> </bean> </beans>
# # The cache strategy # cache.strategy=transactional
hibernate.jdbc.use_streams_for_binary=true hibernate.show_sql=false hibernate.hbm2ddl.auto=update hibernate.cache.use_query_cache=true hibernate.max_fetch_depth=10 hibernate.cache.provider_class=org.alfresco.repo.cache.InternalEhCacheManagerFactoryBean hibernate.cache.use_second_level_cache=true hibernate.default_batch_fetch_size=1 hibernate.jdbc.batch_size=32 hibernate.connection.release_mode=auto hibernate.connection.isolation=4 hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect