Author: arminw
Date: Fri Mar 30 16:08:35 2007
New Revision: 524312

URL: http://svn.apache.org/viewvc?view=rev&rev=524312
Log:
rework build section, centralize OJB's configuration files in new directory

Added:
    db/ojb/trunk/src/config/
    db/ojb/trunk/src/config/OJB-logging.properties
    db/ojb/trunk/src/config/OJB.properties
    db/ojb/trunk/src/config/cache.ccf
    db/ojb/trunk/src/config/commons-logging.properties
    db/ojb/trunk/src/config/log4j.properties
    db/ojb/trunk/src/config/oscache.properties
    db/ojb/trunk/src/config/repository.dtd
    db/ojb/trunk/src/config/repository.xml
    db/ojb/trunk/src/config/repository_database.xml
    db/ojb/trunk/src/config/repository_internal.xml
    db/ojb/trunk/src/config/repository_user.xml
    db/ojb/trunk/src/config/simplelog.properties
    db/ojb/trunk/src/config/spy.properties
    db/ojb/trunk/src/config/web.xml

Added: db/ojb/trunk/src/config/OJB-logging.properties
URL: 
http://svn.apache.org/viewvc/db/ojb/trunk/src/config/OJB-logging.properties?view=auto&rev=524312
==============================================================================
--- db/ojb/trunk/src/config/OJB-logging.properties (added)
+++ db/ojb/trunk/src/config/OJB-logging.properties Fri Mar 30 16:08:35 2007
@@ -0,0 +1,151 @@
+#<!--
+#/* Copyright 2002-2004 The Apache Software Foundation
+# *
+# * Licensed under the Apache License, Version 2.0 (the "License");
+# * you may not use this file except in compliance with the License.
+# * You may obtain a copy of the License at
+# *
+# *     http://www.apache.org/licenses/LICENSE-2.0
+# *
+# * Unless required by applicable law or agreed to in writing, software
+# * distributed under the License is distributed on an "AS IS" BASIS,
+# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# * See the License for the specific language governing permissions and
+# * limitations under the License.
+# */
+#-->
+#
+# OJB-logging.properties -- configuration of the logging within the OJB 
runtime environment
+# @version $Id: OJB-logging.properties 495673 2007-01-12 19:13:08 +0100 (Fr, 
12 Jan 2007) arminw $
+#----------------------------------------------------------------------------------------
+# The LoggerClass entry tells OJB which concrete Logger implementation is to 
be used.
+# If it is not specified (or this file is not present/found, then OJB will 
check
+# whether there is a log4j.properties or commons-logging.properties file, in 
which
+# case it will use Log4J/commons-logging. If neither is present, then OJB will 
default
+# to commons-logging.
+#
+# Commons-logging
+#LoggerClass=org.apache.ojb.broker.util.logging.CommonsLoggerImpl
+#
+# log4j based logging
+#LoggerClass=org.apache.ojb.broker.util.logging.Log4jLoggerImpl
+# specifiy the name of log4j properties file (only needed if file
+# name is different from "log4j.properties")
+#LoggerConfigFile=log4j.properties
+#
+# OJB's own simple looging support
+LoggerClass=org.apache.ojb.broker.util.logging.PoorMansLoggerImpl
+#
+#----------------------------------------------------------------
+# all following properties are specific to PoorMansLoggerImpl
+#----------------------------------------------------------------
+# The LogLevel entries tells OJB which LogLevels are active
+# for the different loggers used within OJB
+# Loglevels: DEBUG < INFO < WARN < ERROR < FATAL
+# That is loglevel WARN won't log DEBUG and INFO messages,
+# but will log WARN, ERROR, and FATAL messages
+#
+# Global default log level used for all logging
+# entities if not specified
+ROOT.LogLevel=ERROR
+#
+# The boot log level used to initialize logging
+BOOT.LogLevel=INFO
+#
+# The Default Logger instance used within OJB
+DEFAULT.LogLevel=WARN
+#
+# PB-api and Kernel
+# -----------------
+# Logger for PB-api base classes
+org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl.LogLevel=WARN
+org.apache.ojb.broker.core.PersistenceBrokerFactorySyncImpl.LogLevel=WARN
+org.apache.ojb.broker.core.PersistenceBrokerImpl.LogLevel=WARN
+#
+# Logger for metadata classes, useful for debugging parsing of repository.xml!
+# persistence capable object metadata
+org.apache.ojb.broker.metadata.MetadataManager.LogLevel=WARN
+org.apache.ojb.broker.metadata.DescriptorRepository.LogLevel=WARN
+org.apache.ojb.broker.metadata.RepositoryXmlHandler.LogLevel=WARN
+org.apache.ojb.broker.metadata.ConnectionDescriptorXmlHandler.LogLevel=WARN
+org.apache.ojb.broker.metadata.RepositoryPersistor.LogLevel=WARN
+org.apache.ojb.broker.metadata.SuperReferenceDescriptor$SuperReferenceField.LogLevel=WARN
+#
+# Logger for jdbc access querying and object materialization, useful
+# for debugging JDBC related problems
+org.apache.ojb.broker.accesslayer.JdbcAccessImpl.LogLevel=WARN
+org.apache.ojb.broker.accesslayer.RsIterator.LogLevel=WARN
+org.apache.ojb.broker.accesslayer.sql.SqlGeneratorDefaultImpl.LogLevel=WARN
+org.apache.ojb.broker.core.QueryReferenceBroker.LogLevel=WARN
+#
+# Jdbc Batch Handling
+org.apache.ojb.broker.accesslayer.batch.BatchManagerImpl.LogLevel=WARN
+org.apache.ojb.broker.accesslayer.batch.BatchStrategyDefaultImpl.LogLevel=WARN
+#
+# Logger for connection handling
+org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.LogLevel=WARN
+org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.LogLevel=WARN
+org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl.LogLevel=WARN
+org.apache.ojb.broker.accesslayer.ConnectionFactoryDBCPImpl.LogLevel=WARN
+#
+# Logger for Oracle/9i platform, useful for tracing failing Oracle-extensions 
or large LOB-support
+org.apache.ojb.broker.platforms.PlatformOracle9iImpl.LogLevel=WARN
+org.apache.ojb.broker.platforms.PlatformOracleImpl.LogLevel=WARN
+#
+# Logger for object caching
+org.apache.ojb.broker.cache.CacheDistributor.LogLevel=WARN
+org.apache.ojb.broker.cache.MaterializationCache.LogLevel=WARN
+org.apache.ojb.broker.cache.ObjectCacheDefaultImpl.LogLevel=WARN
+org.apache.ojb.broker.cache.ObjectCacheJCSImpl.LogLevel=WARN
+org.apache.ojb.broker.cache.ObjectCacheOSCacheImpl.LogLevel=WARN
+#
+# Logger for Oracle9i platform, useful for tracing failing Oracle-extensions 
or large LOB-support
+org.apache.ojb.broker.platforms.PlatformOracle9iImpl.LogLevel=WARN
+#
+# Logger for proxy classes
+org.apache.ojb.broker.core.proxy.IndirectionHandlerJDKImpl.LogLevel=WARN
+org.apache.ojb.broker.core.proxy.IndirectionHandlerCGLIBImpl.LogLevel=WARN
+org.apache.ojb.broker.core.proxy.ProxyFactoryJDKImpl.LogLevel=WARN
+org.apache.ojb.broker.core.proxy.ProxyFactoryCGLIBImpl.LogLevel=WARN
+#
+# OJB locking implementations
+org.apache.ojb.broker.locking.LockManagerInMemoryImpl.LogLevel=WARN
+org.apache.ojb.broker.locking.LockManagerCommonsImpl.LogLevel=WARN
+org.apache.ojb.broker.locking.LockManagerRemoteImpl.LogLevel=WARN
+org.apache.ojb.broker.locking.CommonsOJBLockManager.LogLevel=WARN
+#
+# OJB sequence manager implementations
+org.apache.ojb.broker.util.sequence.PerFieldManager.LogLevel=WARN
+org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl.LogLevel=WARN
+org.apache.ojb.broker.util.sequence.SequenceManagerInMemoryImpl.LogLevel=WARN
+org.apache.ojb.broker.util.sequence.SequenceManagerIdentityImpl.LogLevel=WARN
+org.apache.ojb.broker.util.sequence.SequenceManagerNativeImpl.LogLevel=WARN
+org.apache.ojb.broker.util.sequence.SequenceManagerNextValImpl.LogLevel=WARN
+org.apache.ojb.broker.util.sequence.SequenceManagerSeqHiLoImpl.LogLevel=WARN
+#
+# odmg-api
+# --------
+org.apache.ojb.odmg.TransactionImpl.LogLevel=WARN
+org.apache.ojb.odmg.J2EETransactionImpl.LogLevel=WARN
+org.apache.ojb.odmg.ImplementationImpl.LogLevel=WARN
+org.apache.ojb.odmg.DatabaseImpl.LogLevel=WARN
+org.apache.ojb.odmg.ObjectEnvelopeTable.LogLevel=WARN
+org.apache.ojb.odmg.ObjectEnvelope.LogLevel=WARN
+org.apache.ojb.odmg.Image.LogLevel=WARN
+org.apache.ojb.odmg.ObjectEnvelopeOrdering.LogLevel=WARN
+org.apache.ojb.odmg.LocalTxManager.LogLevel=WARN
+org.apache.ojb.odmg.JTATxManager.LogLevel=WARN
+org.apache.ojb.odmg.locking.LockManagerFactory.LogLevel=WARN
+#
+#
+# Special Logger categories used in test suite
+#
+# Logger for the performance tests
+performance.LogLevel=INFO
+# Logger for the failover tests
+failover.LogLevel=INFO
+#
+#
+#----------------------------------------------------------------------------------------
+# End of OJB.properties file
+#----------------------------------------------------------------------------------------

Added: db/ojb/trunk/src/config/OJB.properties
URL: 
http://svn.apache.org/viewvc/db/ojb/trunk/src/config/OJB.properties?view=auto&rev=524312
==============================================================================
--- db/ojb/trunk/src/config/OJB.properties (added)
+++ db/ojb/trunk/src/config/OJB.properties Fri Mar 30 16:08:35 2007
@@ -0,0 +1,505 @@
+#<!--
+#/* Copyright 2002-2004 The Apache Software Foundation
+# *
+# * Licensed under the Apache License, Version 2.0 (the "License");
+# * you may not use this file except in compliance with the License.
+# * You may obtain a copy of the License at
+# *
+# *     http://www.apache.org/licenses/LICENSE-2.0
+# *
+# * Unless required by applicable law or agreed to in writing, software
+# * distributed under the License is distributed on an "AS IS" BASIS,
+# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# * See the License for the specific language governing permissions and
+# * limitations under the License.
+# */
+#-->
+# OJB.properties -- configuration of the OJB runtime environment
+# Version: 1.0
+# (c) 2001, 2002, 2003 Apache Software Foundation
+# Author: Thomas Mahler and many others
+# @version $Id: OJB.properties 495673 2007-01-12 19:13:08 +0100 (Fr, 12 Jan 
2007) arminw $
+#
+#----------------------------------------------------------------------------------------
+# PersistenceBrokerFactory / PersistenceBroker
+#----------------------------------------------------------------------------------------
+# The PersistenceBrokerFactoryClass entry decides which concrete
+# PersistenceBrokerFactory implemention is to be used.
+PersistenceBrokerFactoryClass=org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl
+# If in managed environment *only* the PB-api was used it's recommended to use 
this factory
+# to enable the PersistenceBroker instances to participate in the JTA 
transaction. This makes
+# e.g. PBStateListener work properly in managed environments.
+#PersistenceBrokerFactoryClass=org.apache.ojb.broker.core.PersistenceBrokerFactorySyncImpl
+#
+# The PersistenceBrokerClass entry decides which concrete PersistenceBroker
+# implementation is to be served by the PersistenceBrokerFactory.
+# This is the singlevm implementation:
+PersistenceBrokerClass=org.apache.ojb.broker.core.PersistenceBrokerImpl
+#
+#
+# This setting can be helpful during development if the PersistenceBroker 
transaction
+# demarcation was used (this is true in most cases). If set 'true' on 
PB#store(...)
+# and PB#delete(...) methods calls OJB check for active PB-tx and if no active 
tx is
+# found a error is logged. This can help to avoid store/delete calls without a 
running
+# PB-tx while development. Default setting is 'false'. (Note: When using OJB 
in a managed
+# environment *without* OJB-caching, it's valid to use store/delete calls 
without a running
+# PB-tx - if the used PB instance is immediately closed after use)
+TxCheck=false
+#
+# This setting can be helpful during development to detect PersistenceBroker 
leaks
+# (PB instances which are not closed after use). If enabled an error message 
including
+# the caller stack trace is logged when garbage collector free unclosed PB 
instances.
+# Default setting is 'false'.
+BrokerLeakDetection=false
+#
+#----------------------------------------------------------------------------------------
+# PersistenceBroker pool
+#----------------------------------------------------------------------------------------
+# PersistenceBroker pool configuration
+# This pool uses the jakarta-commons-pool api.
+# There you can find things described in detail.
+#
+# maximum number of brokers that can be borrowed from the
+# pool at one time. When non-positive, there is no limit.
+maxActive=100
+#
+# controls the maximum number of brokers that can sit idle in the
+# pool (per key) at any time. When non-positive, there is no limit
+maxIdle=-1
+#
+# max time block to get broker instance from pool, after that exception is 
thrown.
+# When non-positive, block till last judgement
+maxWait=2000
+#
+# indicates how long the eviction thread should sleep before "runs" of 
examining
+# idle objects. When non-positive, no eviction thread will be launched.
+timeBetweenEvictionRunsMillis=-1
+#
+# specifies the minimum amount of time that an broker may sit idle
+# in the pool before it is eligable for eviction due to idle time.
+# When non-positive, no object will be dropped from the pool due
+# to idle time alone (depends on timeBetweenEvictionRunsMillis > 0)
+minEvictableIdleTimeMillis=1000000
+#
+# specifies the behaviour of the pool when broker capacity is
+# exhausted (see maxActive above)
+# 0 - fail
+# 1 - block
+# 2 - grow
+whenExhaustedAction=0
+#
+#
+#----------------------------------------------------------------------------------------
+# ProxyFactory and IndirectionHandler
+#----------------------------------------------------------------------------------------
+# The ProxyFactoryClass entry defines which ProxyFactory implementation is to 
be used.
+# By default, the CGLIB based entry is used, but a 1.0 compatiable, JDK-based 
version
+# is also available.
+#
+#      - ProxyFactoryCGLIBImpl: Refernece proxies are generated using bytecode 
manipulation
+#                      from the CGLIB library. Any class can become a dynamic 
proxy, and not just ones
+#                      that implement an interface.
+#   - ProxyFactoryJDKImpl: OJB 1.0 compatiable Proxy implementation. Proxies 
in this method 
+#                      can only be generated from classes that implement an 
interface, and the generated
+#                      Proxy will implement all methods of that interface.
+#
+# NOTE: The appropriate cooresponding IndirectionHandler must be choosen as 
well
+#
+ProxyFactoryClass=org.apache.ojb.broker.core.proxy.ProxyFactoryCGLIBImpl
+#ProxyFactoryClass=org.apache.ojb.broker.core.proxy.ProxyFactoryJDKImpl
+#
+# The optional IndirectionHandlerClass entry defines the class to be used by 
OJB's proxies to
+# handle method invocations. The IndirectionHandler implementation must match 
the implementation
+# of the ProxyFactory, i.e. it must implement the corresponding 
IndirectionHandler-derived
+# interface (IndirectionHandlerCGLIB, IndirectionHandlerJDK).
+# If this setting is unspecifies, then the default IndirectionHandler for the 
specified ProxyFactory
+# will be used.
+#
+IndirectionHandlerClass=org.apache.ojb.broker.core.proxy.IndirectionHandlerCGLIBImpl
+#IndirectionHandlerClass=org.apache.ojb.broker.core.proxy.IndirectionHandlerJDKImpl
+#
+#----------------------------------------------------------------------------------------
+# ListProxy
+#----------------------------------------------------------------------------------------
+# The ListProxyClass entry defines the proxy class to be used for collections 
that
+# implement the java.util.List interface.
+#
+ListProxyClass=org.apache.ojb.broker.core.proxy.ListProxyDefaultImpl
+#
+#----------------------------------------------------------------------------------------
+# SetProxy
+#----------------------------------------------------------------------------------------
+# The SetProxyClass entry defines the proxy class to be used for collections 
that
+# implement the java.util.Set interface.
+#
+SetProxyClass=org.apache.ojb.broker.core.proxy.SetProxyDefaultImpl
+#
+#----------------------------------------------------------------------------------------
+# CollectionProxy
+#----------------------------------------------------------------------------------------
+# The CollectionProxyClass entry defines the proxy class to be used for 
collections that
+# do not implement java.util.List or java.util.Set.
+#
+CollectionProxyClass=org.apache.ojb.broker.core.proxy.CollectionProxyDefaultImpl
+#
+#
+#----------------------------------------------------------------------------------------
+# LobHelper
+#----------------------------------------------------------------------------------------
+# Set the LobHelper implementation.
+LobHelperClass=org.apache.ojb.broker.lob.LobHelperImpl
+#
+# LOB-locator objects (Blob and Clob fields in persistence capable objects) 
are only
+# valid as long as the current PersistenceBroker transaction is active. After 
commit or
+# rollback the LOB-object will be invalidated and before next access to the 
LOB-locator
+# object it must be refreshed. Cached persistent objects with LOB-content need 
refresh
+# too. OJB will automatically refresh all objects requested by query or 
identity lookup.
+# Set this property to 'false' to disable this service.
+LobAutoRefresh=true
+#
+#
+#----------------------------------------------------------------------------------------
+# Locking
+#----------------------------------------------------------------------------------------
+# The 'LockManagerClass' specify the internal used LockManager implementation.
+# If OJB is running in distributed environment it is recommended to use the 
remote
+# lock manager. It guarantees to provide Lockmanagement across multiple JVM's.
+#
+# A servlet based lock implementation for distributed environments, needs 
enabled
+# property 'LockServletUrl' too.
+#LockManagerClass=org.apache.ojb.broker.locking.LockManagerRemoteImpl
+# Lock manager implementation using apache's commons-transaction locking api
+#LockManagerClass=org.apache.ojb.broker.locking.LockManagerCommonsImpl
+LockManagerClass=org.apache.ojb.broker.locking.LockManagerInMemoryImpl
+#
+# The LockTimeout entry defines the maximum time in milliseconds
+# that a lock may be hold. Defaults to 120000 = 2 minutes
+LockTimeout=120000
+#
+# The LockServletUrl entry points to the Lockserver servlet.
+# This Servlet is addressed by all distributed JVMs if LockManagerRemoteImpl
+# is used.
+#LockServletUrl=http://127.0.0.1:8080/ojb-lockserver
+#
+#
+#----------------------------------------------------------------------------------------
+# Meta data / mapping settings
+#----------------------------------------------------------------------------------------
+# The PersistentFieldClass property defines the implementation class
+# for PersistentField attributes used in the OJB MetaData layer.
+# By default the best performing attribute/refection based implementation
+# is selected (PersistentFieldDirectAccessImpl).
+#
+# - PersistentFieldDirectImpl
+#   is a high-speed version of the access strategies.
+#   It does not cooperate with an AccessController,
+#   but accesses the fields directly. Persistent
+#   attributes don't need getters and setters
+#   and don't have to be declared public or protected
+# - PersistentFieldCGLibImpl
+#   A very fast beans compliant (getter/setter access based) PersistentField
+#   implementation. Needs public getter/setter for all declared fields.
+# - PersistentFieldAutoProxyImpl
+#   for each field determines upon first access how to access this particular 
field
+#   (cglib based, directly, as a bean, as a dyna bean) and then uses that 
strategy.
+#   The order of field access testing goes from the fastest to slowest, so you 
will always
+#   get the best performance.
+# - PersistentFieldPrivilegedImpl
+#   Same as above, but does cooperate with AccessController and do not
+#   suppress the java language access check (but is slow compared with direct 
access).
+# - PersistentFieldIntrospectorImpl
+#   uses JavaBeans compliant calls only to access persistent attributes.
+#   No Reflection is needed. But for each attribute 'xxx' there must be
+#   public getXxx() and setXxx() methods.
+# - PersistentFieldDynaBeanAccessImpl
+#   implementation used to access a property from a
+#   org.apache.commons.beanutils.DynaBean.
+#   (Note: DynaBean implementation does not support nested fields)
+#
+PersistentFieldClass=org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectImpl
+#PersistentFieldClass=org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldCGLibImpl
+#PersistentFieldClass=org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldAutoProxyImpl
+#PersistentFieldClass=org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldPrivilegedImpl
+#PersistentFieldClass=org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldIntrospectorImpl
+#PersistentFieldClass=org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDynaBeanImpl
+#
+#
+# Allows to extend class RepositoryPersistor used to read and write (write is 
deprecated)
+# OJB's metadata.
+RepositoryPersistorClass=org.apache.ojb.broker.metadata.RepositoryPersistor
+#
+#
+#----------------------------------------------------------------------------------------
+# Transaction Management and assocation
+#----------------------------------------------------------------------------------------
+# (optional, only used when OJB runs within managed environments)
+# To praticipate in JTA transaction OJB needs access to the underlying 
transaction manager.
+# The TransactionManager is acquired in different ways dependent on the 
application server.
+# The JTATransactionManagerClass property allows you to specify the class that 
implements
+# the proper behaviour for finding the transaction manager. Only use when 
OJBTxManagerClass
+# is set to a factory that uses the application server transaction manager
+# (org.apache.ojb.odmg.JTATxManager)
+#
+# JBoss Transaction Manager Factory
+JTATransactionManagerClass=org.apache.ojb.broker.transaction.tm.JBossTransactionManagerFactory
+# Weblogic Transaction Manager Factory
+#JTATransactionManagerClass=org.apache.ojb.broker.transaction.tm.WeblogicTransactionManagerFactory
+# WebSphere transaction manager factory
+#JTATransactionManagerClass=org.apache.ojb.broker.transaction.tm.WebSphereTransactionManagerFactory
+# Orion transaction manager factory
+#JTATransactionManagerClass=org.apache.ojb.broker.transaction.tm.OrionTransactionManagerFactory
+# SunOne transaction manager factory
+#JTATransactionManagerClass=org.apache.ojb.broker.transaction.tm.SunOneTransactionManagerFactory
+# JOnAs transaction manager factory
+#JTATransactionManagerClass=org.apache.ojb.broker.transaction.tm.JOnASTransactionManagerFactory
+# OC4J transaction manager factory
+#JTATransactionManagerClass=org.apache.ojb.broker.transaction.tm.OC4JTransactionManagerFactory
+# Resin transaction manager factory
+#JTATransactionManagerClass=org.apache.ojb.broker.transaction.tm.ResinTransactionManagerFactory
+# JRun transaction manager factory
+#JTATransactionManagerClass=org.apache.ojb.broker.transaction.tm.JRunTransactionManagerFactory
+#
+#
+#----------------------------------------------------------------------------------------
+# ManageableCollection default settings
+#----------------------------------------------------------------------------------------
+# OJB use specific collection class implementations to provide 1:n and m:n 
references.
+# It's also possible to define specific collection classes for each defined 
1:n or m:n
+# reference - please see documentation (repository mapping docs).
+#
+# Default collection classes for 1:n references
+CollectionTypes.OneToManyArray=org.apache.ojb.broker.util.collections.RemovalAwareCollection
+CollectionTypes.OneToManyCollection=org.apache.ojb.broker.util.collections.RemovalAwareCollection
+CollectionTypes.OneToManyList=org.apache.ojb.broker.util.collections.RemovalAwareList
+CollectionTypes.OneToManyVector=org.apache.ojb.broker.util.collections.RemovalAwareVector
+CollectionTypes.OneToManySet=org.apache.ojb.broker.util.collections.RemovalAwareSet
+#
+# Default collection classes for m:n references (never use a removal aware 
collection
+# implementation for m:n relation)
+CollectionTypes.ManyToManyArray=org.apache.ojb.broker.util.collections.ManageableArrayList
+CollectionTypes.ManyToManyCollection=org.apache.ojb.broker.util.collections.ManageableArrayList
+CollectionTypes.ManyToManyList=org.apache.ojb.broker.util.collections.ManageableArrayList
+CollectionTypes.ManyToManyVector=org.apache.ojb.broker.util.collections.ManageableVector
+CollectionTypes.ManyToManySet=org.apache.ojb.broker.util.collections.ManageableHashSet
+#
+# The Query/OQLQuery entries define the collection types returned
+# from Criteria-based queries/OQL-queries. By default this value is set to a 
List.
+# This will be good for most situations. If you need the additional features 
replace
+# the implementation.
+# Default collection classes query results
+CollectionTypes.Query=org.apache.ojb.broker.util.collections.ManageableArrayList
+CollectionTypes.OQLQuery=org.apache.ojb.broker.util.collections.ManageableArrayList
+#
+#
+#----------------------------------------------------------------------------------------
+# repository file settings
+#----------------------------------------------------------------------------------------
+# The repositoryFile entry tells OJB to use this file as as its standard 
mapping
+# repository. First OJB lookup the file as resource from classpath, second as 
ordinary file.
+repositoryFile=repository.xml
+#
+# If the useSerializedRepository entry is set to true, OJB tries to load a
+# serialized version of the repository for performance reasons.
+# if set to false, OJB always loads the xml file.
+# Setting this flag to true will accelerate the startup sequence of OJB.
+# If set to true changes to the repository.xml file will only be detected
+# after maually deleting the repository.xml.serialized file.
+useSerializedRepository=false
+#
+# If Repository serialization is used the entry serializedRepositoryPath 
defines the
+# directory where the Repository is written to and read from.
+# this entry is used only when the useSerializedRepository flag is set to 
'true'
+serializedRepositoryPath=.
+#
+#
+#----------------------------------------------------------------------------------------
+# ConnectionManager
+#----------------------------------------------------------------------------------------
+# The ConnectionManagerClass entry defines the ConnectionManager 
implemementation to be used
+ConnectionManagerClass=org.apache.ojb.broker.accesslayer.ConnectionManagerImpl
+#
+#
+#----------------------------------------------------------------------------------------
+# SqlGenerator
+#----------------------------------------------------------------------------------------
+# The SqlGeneratorClass entry defines the SqlGenerator implemementation to be 
used
+SqlGeneratorClass=org.apache.ojb.broker.accesslayer.sql.SqlGeneratorDefaultImpl
+#
+#
+#----------------------------------------------------------------------------------------
+# StatementManager
+#----------------------------------------------------------------------------------------
+# The StatementManagerClass entry defines the StatementManager 
implemementation to be used
+StatementManagerClass=org.apache.ojb.broker.accesslayer.StatementManagerImpl
+#
+#
+#----------------------------------------------------------------------------------------
+# BatchManager
+#----------------------------------------------------------------------------------------
+# The BatchManagerClass entry defines the BatchManager implemementation to be 
used
+BatchManagerClass=org.apache.ojb.broker.accesslayer.batch.BatchManagerImpl
+#
+#
+#----------------------------------------------------------------------------------------
+# JdbcAccess
+#----------------------------------------------------------------------------------------
+# The JdbcAccessClass entry defines the JdbcAccess implemementation to be used
+JdbcAccessClass=org.apache.ojb.broker.accesslayer.JdbcAccessImpl
+#
+#
+#----------------------------------------------------------------------------------------
+# RowReader
+#----------------------------------------------------------------------------------------
+# Set the standard RowReader implementation. It is also possible to specify the
+# RowReader on class-descriptor level.
+RowReaderDefaultClass=org.apache.ojb.broker.accesslayer.RowReaderDefaultImpl
+#
+#
+#----------------------------------------------------------------------------------------
+# IdentityFactory
+#----------------------------------------------------------------------------------------
+# Specify implementation class for object identity creation, defined by
+# org.apache.ojb.broker.IdenityFactory.
+IdentityFactoryClass=org.apache.ojb.broker.core.IdentityFactoryImpl
+#
+#
+#----------------------------------------------------------------------------------------
+# OQL / SQL settings
+#----------------------------------------------------------------------------------------
+# The SqlInLimit entry limits the number of values in IN-sql statement,
+# -1 for no limits. This hint is used in Criteria.
+SqlInLimit=200
+#
+#
+#----------------------------------------------------------------------------------------
+# ObjectFactory
+#----------------------------------------------------------------------------------------
+# Specify implementation class for object factory used to instantiate 
persistent objects.
+ObjectFactoryClass=org.apache.ojb.broker.core.factory.ObjectFactoryDefaultImpl
+#
+#
+#----------------------------------------------------------------------------------------
+# Caching
+#----------------------------------------------------------------------------------------
+# NOTE: ObjectCacheClass declaration in OJB.properties file was removed (since 
OJB 1.0.2).
+# The concrete ObjectCache implementation has to specified in the repository 
file using
+# the 'object-cache' element. See documentation for more detailed info.
+#
+# The class used as first level cache. Each PersistenceBroker instance use its 
on
+# instance of this class.
+SessionCacheClass=org.apache.ojb.broker.cache.SessionCacheImpl
+#
+#
+#----------------------------------------------------------------------------------------
+# ODMG-api settings
+#----------------------------------------------------------------------------------------
+# Specify the used base class for ODMG API
+# - ImplementationDefaultImpl is the default class
+# - ImplementationJTAImpl is for use in managed environments like J2EE conform
+# Application Server
+#
+ImplementationClass=org.apache.ojb.odmg.ImplementationImpl
+#ImplementationClass=org.apache.ojb.odmg.ImplementationJTAImpl
+#
+# Specify the used tx handling.
+# - LocalTxManager use if you want the transaction to be associated by a thread
+# - JTATxManager use if you want the transaction to be associated via the 
Transaction
+# manager that is in your application server.
+#
+OJBTxManagerClass=org.apache.ojb.odmg.LocalTxManager
+#OJBTxManagerClass=org.apache.ojb.odmg.JTATxManager
+#
+#
+# The ImplicitLocking entry defines if implicit lock acquisition is
+# to be used. If set to 'true' OJB implicitly locks objects to ODMG
+# transactions after performing OQL queries.
+# Also if implicit locking is used locking objects is recursive, that is
+# associated objects are also locked.
+# If ImplicitLocking is set to 'false', no locks are obtained in OQL
+# queries, lookup objects and there is also no recursive locking.
+# This setting can be changed at runtime using OJB's ODMG extensions.
+ImplicitLocking=true
+#ImplicitLocking=false
+#
+# The LockAssociations entry defines the behaviour for the OJB
+# implicit locking feature. If set to WRITE (default) acquiring a write-
+# lock on a given object x implies write locks on all objects associated
+# to x. If set to READ implicit read-locks are acquired.
+# Acquiring a read-lock on x allways results in implicit read-locks
+# on all associated objects (if 'implicit locking' is enabled).
+# This setting can be changed at runtime using OJB's ODMG extensions.
+#LockAssociations=READ
+LockAssociations=WRITE
+#
+# Enable/Disable OJB's persistent object ordering algorithm on commit
+# of a transaction. If enabled OJB try to calculate a valid order for
+# all new/modified objects (and referenced objects).
+# If the used databases support 'deferred checks' it's recommended to use this
+# feature and to disable OJB's object ordering.
+# This setting can be changed at runtime using OJB's ODMG extensions.
+Ordering=true
+#
+# If set 'true' an optimized and performant way is used to detect the
+# state (persistent/transient) of an object.
+# The detection of transient objects could be costly (e.g. if a
+# select of ID in database is used to check if object already
+# exists) we do:
+# a.
+# Check if the object Identity mark the specified object as transient.
+# If this is 'false' the object has populated primary key fields,
+# if 'true' at least one PK field is <em>null</em>
+# and the object is transient.
+# b.
+# Then we check if the object was already registered in current transaction.
+# if 'true' we can ask for transient state.
+# c.
+# If the primary key fields are defined/mapped as 'autoIncrement' fields and
+# 'optimizedTransientObjectDetection' is enabled OJB assume that the object
+# is persistent. If the PK fields are not 'autoIncrement' fields or the
+# optimized detection is disabled a database "exists object"-query is
+# performed to check if the object is persistent or transient.
+OptimizedTransientObjectDetection=true
+#
+#
+# Set the specific odmg-LockManager used in ODMG implementation
+LockManagerOdmgClass=org.apache.ojb.odmg.locking.LockManagerOdmgImpl
+#
+#
+# Used ODMG collection implementation classes
+# (e.g. when do a Implementation#newDlist() call)
+# All implementation classes have to implement the
+# OJB odmg-collection extension classes, e.g. DListExt.
+#
+# org.odmg.DList implementation class
+DListClass=org.apache.ojb.odmg.collections.DListImpl
+#
+# org.odmg.DArray implementation class
+DArrayClass=org.apache.ojb.odmg.collections.DListImpl
+#
+# org.odmg.DMap implementation class
+DMapClass=org.apache.ojb.odmg.collections.DMapImpl
+#
+# org.odmg.DBag implementation class
+DBagClass=org.apache.ojb.odmg.collections.DBagImpl
+#
+# org.odmg.DSet implementation class
+DSetClass=org.apache.ojb.odmg.collections.DSetImpl
+#
+#
+#----------------------------------------------------------------------------------------
+# Component Intercepting for Profiling and Tracing
+#----------------------------------------------------------------------------------------
+# By enabling an InterceptorClass all OJB components will use
+# this Interceptor. Interceptors allow advanced tracing and Profiling
+# of all component method calls.
+# This is currently an experimental feature useful only for OJB kernel 
developers.
+#
+#InterceptorClass=org.apache.ojb.broker.util.interceptor.TracingInterceptor
+#
+#
+#----------------------------------------------------------------------------------------
+# Logging settings are now in their own file, OJB-logging.properties
+#----------------------------------------------------------------------------------------
+#----------------------------------------------------------------------------------------
+# End of OJB.properties file
+#----------------------------------------------------------------------------------------

Added: db/ojb/trunk/src/config/cache.ccf
URL: 
http://svn.apache.org/viewvc/db/ojb/trunk/src/config/cache.ccf?view=auto&rev=524312
==============================================================================
--- db/ojb/trunk/src/config/cache.ccf (added)
+++ db/ojb/trunk/src/config/cache.ccf Fri Mar 30 16:08:35 2007
@@ -0,0 +1,34 @@
+# JCS Basic Config, just a simple memory only cache
+
+jcs.default=
+jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
+jcs.default.cacheattributes.MaxObjects=1000
+jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
+jcs.default.elementattributes.IsSpool=false
+jcs.default.elementattributes.IsRemote=false
+jcs.default.elementattributes.IsLateral=false
+
+# default region used by the JCS ObjectCache implementations
+jcs.region.ojbDefault=
+jcs.region.ojbDefault.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
+jcs.region.ojbDefault.cacheattributes.MaxObjects=1000
+jcs.region.ojbDefault.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
+jcs.default.elementattributes.IsSpool=false
+jcs.default.elementattributes.IsRemote=false
+jcs.default.elementattributes.IsLateral=false
+
+# region used by test case
+jcs.region.org.apache.ojb.broker.cache.ObjectCacheTest$CacheObject=
+jcs.region.org.apache.ojb.broker.cache.ObjectCacheTest$CacheObject.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
+jcs.region.org.apache.ojb.broker.cache.ObjectCacheTest$CacheObject.cacheattributes.MaxObjects=2
+jcs.region.org.apache.ojb.broker.cache.ObjectCacheTest$CacheObject.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
+jcs.region.org.apache.ojb.broker.cache.ObjectCacheTest$CacheObject.cacheattributes.UseMemoryShrinker=false
+jcs.region.org.apache.ojb.broker.cache.ObjectCacheTest$CacheObject.cacheattributes.MaxMemoryIdleTimeSeconds=2
+jcs.region.org.apache.ojb.broker.cache.ObjectCacheTest$CacheObject.cacheattributes.ShrinkerIntervalSeconds=1
+jcs.region.org.apache.ojb.broker.cache.ObjectCacheTest$CacheObject.cacheattributes.MaxSpoolPerRun=500
+jcs.region.org.apache.ojb.broker.cache.ObjectCacheTest$CacheObject.elementattributes=org.apache.jcs.engine.ElementAttributes
+jcs.region.org.apache.ojb.broker.cache.ObjectCacheTest$CacheObject.elementattributes.IsEternal=false
+jcs.region.org.apache.ojb.broker.cache.ObjectCacheTest$CacheObject.elementattributes.MaxLifeSeconds=2
+jcs.default.elementattributes.IsSpool=false
+jcs.default.elementattributes.IsRemote=false
+jcs.default.elementattributes.IsLateral=false

Added: db/ojb/trunk/src/config/commons-logging.properties
URL: 
http://svn.apache.org/viewvc/db/ojb/trunk/src/config/commons-logging.properties?view=auto&rev=524312
==============================================================================
--- db/ojb/trunk/src/config/commons-logging.properties (added)
+++ db/ojb/trunk/src/config/commons-logging.properties Fri Mar 30 16:08:35 2007
@@ -0,0 +1,37 @@
+#<!--
+#/* Copyright 2002-2004 The Apache Software Foundation
+# *
+# * Licensed under the Apache License, Version 2.0 (the "License");
+# * you may not use this file except in compliance with the License.
+# * You may obtain a copy of the License at
+# *
+# *     http://www.apache.org/licenses/LICENSE-2.0
+# *
+# * Unless required by applicable law or agreed to in writing, software
+# * distributed under the License is distributed on an "AS IS" BASIS,
+# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# * See the License for the specific language governing permissions and
+# * limitations under the License.
+# */
+#-->
+#
+# commons-logging config
+# -----------------------
+# here can be specified which LogFactory and Log implementation
+# should be used by commons-logging. If none specified or this
+# file isn't in classpath, commons-logging use the default
+# discovery process to determine what type of Log implementation it
+# should use (see commons-logging documentation).
+#
+#org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl
+org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
+#org.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger
+#org.apache.commons.logging.Log=org.apache.commons.logging.impl.AvalonLogger
+#org.apache.commons.logging.Log=org.apache.commons.logging.impl.LogKitLogger
+#org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
+# commons-logging version <1.1
+#org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
+# commons-logging version >=1.1
+#org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4J13Logger
+#org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4J12Logger
+

Added: db/ojb/trunk/src/config/log4j.properties
URL: 
http://svn.apache.org/viewvc/db/ojb/trunk/src/config/log4j.properties?view=auto&rev=524312
==============================================================================
--- db/ojb/trunk/src/config/log4j.properties (added)
+++ db/ojb/trunk/src/config/log4j.properties Fri Mar 30 16:08:35 2007
@@ -0,0 +1,143 @@
+#<!--
+#/* Copyright 2002-2004 The Apache Software Foundation
+# *
+# * Licensed under the Apache License, Version 2.0 (the "License");
+# * you may not use this file except in compliance with the License.
+# * You may obtain a copy of the License at
+# *
+# *     http://www.apache.org/licenses/LICENSE-2.0
+# *
+# * Unless required by applicable law or agreed to in writing, software
+# * distributed under the License is distributed on an "AS IS" BASIS,
+# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# * See the License for the specific language governing permissions and
+# * limitations under the License.
+# */
+#-->
+# An example log4j configuration file that outputs both to System.out
+# and a file named 'org.apache.ojb.log'.
+#
+# For the general syntax of property based configuration files see the
+# documenation of org.apache.log4j.PropertyConfigurator.
+#
+# WARNING: Location information can be useful but is very costly in
+# terms of computation.
+#
+# The root category uses the appenders called A1 and A2. Since no
+# priority is set, the root category assumes the default which is
+# DEBUG
+#
+log4j.rootCategory=WARN, A1, A2
+#
+# The boot log level used to initialize logging
+log4j.logger.BOOT=INFO
+#
+# The Default Logger instance used within OJB
+log4j.logger.DEFAULT=WARN
+#
+# PB-api and Kernel
+# -----------------
+# Logger for PB-api base classes
+log4j.logger.org.apache.ojb.broker.core.PersistenceBrokerFactoryDefaultImpl=WARN
+log4j.logger.org.apache.ojb.broker.core.PersistenceBrokerFactorySyncImpl=WARN
+log4j.logger.org.apache.ojb.broker.core.PersistenceBrokerImpl=WARN
+#
+# Logger for metadata classes, useful for debugging parsing of repository.xml!
+# persistence capable object metadata
+log4j.logger.org.apache.ojb.broker.metadata.DescriptorRepository=WARN
+log4j.logger.org.apache.ojb.broker.metadata.RepositoryXmlHandler=WARN
+log4j.logger.org.apache.ojb.broker.metadata.ConnectionDescriptorXmlHandler=WARN
+log4j.logger.org.apache.ojb.broker.metadata.RepositoryPersistor=WARN
+log4j.logger.org.apache.ojb.broker.metadata.SuperReferenceDescriptor$SuperReferenceField=WARN
+#
+# Logger for jdbc access querying and object materialization, useful
+# for debugging JDBC related problems
+log4j.logger.org.apache.ojb.broker.accesslayer.JdbcAccessImpl=WARN
+log4j.logger.org.apache.ojb.broker.accesslayer.RsIterator=WARN
+log4j.logger.org.apache.ojb.broker.accesslayer.StatementsForClassImpl=WARN
+log4j.logger.org.apache.ojb.broker.accesslayer.sql.SqlGeneratorDefaultImpl=WARN
+#
+# Jdbc Batch Handling
+log4j.logger.org.apache.ojb.broker.accesslayer.batch.BatchManagerImpl=WARN
+log4j.logger.org.apache.ojb.broker.accesslayer.batch.BatchStrategyDefaultImpl=WARN
+#
+# Logger for connection handling
+log4j.logger.org.apache.ojb.broker.accesslayer.ConnectionManagerImpl=WARN
+log4j.logger.org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl=WARN
+log4j.logger.org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl=WARN
+log4j.logger.org.apache.ojb.broker.accesslayer.ConnectionFactoryDBCPImpl=WARN
+#
+# Logger for object caching
+log4j.logger.org.apache.ojb.broker.cache.CacheDistributor=WARN
+log4j.logger.org.apache.ojb.broker.cache.MaterializationCache=WARN
+log4j.logger.org.apache.ojb.broker.cache.ObjectCacheDefaultImpl=WARN
+log4j.logger.org.apache.ojb.broker.cache.ObjectCacheJCSImpl=WARN
+log4j.logger.org.apache.ojb.broker.cache.ObjectCacheOSCacheImpl=WARN
+#
+# Logger for Oracle9i platform, useful for tracing failing Oracle-extensions 
or large LOB-support
+log4j.logger.org.apache.ojb.broker.platforms.PlatformOracle9iImpl=WARN
+#
+# Logger for proxy classes
+log4j.logger.org.apache.ojb.broker.core.proxy.IndirectionHandlerJDKImpl=WARN
+log4j.logger.org.apache.ojb.broker.core.proxy.IndirectionHandlerCGLIBImpl=WARN
+log4j.logger.org.apache.ojb.broker.core.proxy.ProxyFactoryJDKImpl=WARN
+log4j.logger.org.apache.ojb.broker.core.proxy.ProxyFactoryCGLIBImpl=WARN
+#
+# OJB locking implementations
+log4j.logger.org.apache.ojb.broker.locking.LockManagerInMemoryImpl=WARN
+log4j.logger.org.apache.ojb.broker.locking.LockManagerCommonsImpl=WARN
+log4j.logger.org.apache.ojb.broker.locking.LockManagerRemoteImpl=WARN
+log4j.logger.org.apache.ojb.broker.locking.CommonsOJBLockManager=WARN
+#
+# odmg-api
+# --------
+log4j.logger.org.apache.ojb.odmg.TransactionImpl=WARN
+log4j.logger.org.apache.ojb.odmg.J2EETransactionImpl=WARN
+log4j.logger.org.apache.ojb.odmg.ImplementationImpl=WARN
+log4j.logger.org.apache.ojb.odmg.DatabaseImpl=WARN
+log4j.logger.org.apache.ojb.odmg.ObjectEnvelopeTable=WARN
+log4j.logger.org.apache.ojb.odmg.ObjectEnvelope=WARN
+log4j.logger.org.apache.ojb.odmg.ObjectEnvelopeOrdering=WARN
+log4j.logger.org.apache.ojb.odmg.LocalTxManager=WARN
+log4j.logger.org.apache.ojb.odmg.JTATxManager=WARN
+#
+# Special Logger categories used in test suite
+#
+# Logger for the performance tests
+log4j.logger.performance=INFO
+# Logger for the failover tests
+log4j.logger.failover=INFO
+
+
+# A1 is set to be ConsoleAppender sending its output to System.out
+log4j.appender.A1=org.apache.log4j.ConsoleAppender
+
+
+# A1 uses PatternLayout.
+log4j.appender.A1.layout=org.apache.log4j.PatternLayout
+
+# The conversion pattern consists of date in ISO8601 format, priority,
+# thread name, category name truncated to its rightmost two components
+# and left justified to 17 characters, location information consisting
+# of file name (padded to 13 characters) and line number, nested
+# diagnostic context, the and the application supplied message
+
+#log4j.appender.A1.layout.ConversionPattern=%-6r %-5p [%t] %-17c{2} (%13F:%L) 
%3x - %m%n
+
+# use a simpler output format
+log4j.appender.A1.layout.ConversionPattern=%-5r %-5p [%t] %c{2} - %m%n
+
+# Appender A2 writes to the file "org.apache.ojb.log".
+log4j.appender.A2=org.apache.log4j.FileAppender
+log4j.appender.A2.File=org.apache.ojb.log
+
+# Truncate 'test' if it aleady exists.
+log4j.appender.A2.Append=false
+
+# Appender A2 uses the PatternLayout.
+log4j.appender.A2.layout=org.apache.log4j.PatternLayout
+log4j.appender.A2.layout.ConversionPattern=%-5r %-5p [%t] %c{2} - %m%n
+
+
+
+

Added: db/ojb/trunk/src/config/oscache.properties
URL: 
http://svn.apache.org/viewvc/db/ojb/trunk/src/config/oscache.properties?view=auto&rev=524312
==============================================================================
--- db/ojb/trunk/src/config/oscache.properties (added)
+++ db/ojb/trunk/src/config/oscache.properties Fri Mar 30 16:08:35 2007
@@ -0,0 +1,138 @@
+# CACHE IN MEMORY
+#
+# If you want to disable memory caching, just uncomment this line.
+#
+# cache.memory=false
+
+
+# CACHE KEY
+#
+# This is the key that will be used to store the cache in the application
+# and session scope.
+#
+# If you want to set the cache key to anything other than the default
+# uncomment this line and change the cache.key
+#
+# cache.key=__oscache_cache
+
+
+# USE HOST DOMAIN NAME IN KEY
+#
+# Servers for multiple host domains may wish to add host name info to
+# the generation of the key.  If this is true, then uncomment the
+# following line.
+#
+# cache.use.host.domain.in.key=true
+
+
+# CACHE LISTENERS
+#
+# These hook OSCache events and perform various actions such as logging
+# cache hits and misses, or broadcasting to other cache instances across a 
cluster.
+# See the documentation for further information.
+#
+# 
cache.event.listeners=com.opensymphony.oscache.plugins.clustersupport.JMSBroadcastingListener,
  \
+#                       
com.opensymphony.oscache.extra.CacheEntryEventListenerImpl,               \
+#                       
com.opensymphony.oscache.extra.CacheMapAccessEventListenerImpl,           \
+#                       com.opensymphony.oscache.extra.ScopeEventListenerImpl
+
+
+# CACHE PERSISTENCE CLASS
+#
+# Specify the class to use for persistence. If you use the supplied 
DiskPersistenceListener,
+# don't forget to supply the cache.path property to specify the location of 
the cache
+# directory.
+# 
+# If a persistence class is not specified, OSCache will use memory caching 
only.
+#
+# 
cache.persistence.class=com.opensymphony.oscache.plugins.diskpersistence.DiskPersistenceListener
+
+# CACHE OVERFLOW PERSISTENCE
+# Use persistent cache in overflow or not. The default value is false, which 
means
+# the persistent cache will be used at all times for every entry.  true is the 
recommended setting.
+#
+# cache.persistence.overflow.only=true
+
+# CACHE DIRECTORY
+#
+# This is the directory on disk where caches will be stored by the 
DiskPersistenceListener.
+# it will be created if it doesn't already exist. Remember that OSCache must 
have
+# write permission to this directory.
+#
+# Note: for Windows machines, this needs \ to be escaped
+# ie Windows:
+# cache.path=c:\\myapp\\cache
+# or *ix:
+# cache.path=/opt/myapp/cache
+#
+# cache.path=c:\\app\\cache
+
+
+# CACHE ALGORITHM
+#
+# Default cache algorithm to use. Note that in order to use an algorithm
+# the cache size must also be specified. If the cache size is not specified,
+# the cache algorithm will be Unlimited cache.
+#
+# cache.algorithm=com.opensymphony.oscache.base.algorithm.LRUCache
+# cache.algorithm=com.opensymphony.oscache.base.algorithm.FIFOCache
+# cache.algorithm=com.opensymphony.oscache.base.algorithm.UnlimitedCache
+
+# THREAD BLOCKING BEHAVIOR
+#
+# When a request is made for a stale cache entry, it is possible that another 
thread is already
+# in the process of rebuilding that entry. This setting specifies how OSCache 
handles the
+# subsequent 'non-building' threads. The default behaviour 
(cache.blocking=false) is to serve
+# the old content to subsequent threads until the cache entry has been 
updated. This provides
+# the best performance (at the cost of serving slightly stale data). When 
blocking is enabled,
+# threads will instead block until the new cache entry is ready to be served. 
Once the new entry
+# is put in the cache the blocked threads will be restarted and given the new 
entry.
+# Note that even if blocking is disabled, when there is no stale data 
available to be served
+# threads will block until the data is added to the cache by the thread that 
is responsible
+# for building the data.
+#
+# cache.blocking=false
+
+# CACHE SIZE
+#
+# Default cache size in number of items. If a size is specified but not
+# an algorithm, the cache algorithm used will be LRUCache.
+#
+cache.capacity=1000
+
+
+# CACHE UNLIMITED DISK
+# Use unlimited disk cache or not. The default value is false, which means
+# the disk cache will be limited in size to the value specified by 
cache.capacity.
+#
+# cache.unlimited.disk=false
+
+
+# JMS CLUSTER PROPERTIES
+#
+# Configuration properties for JMS clustering. See the clustering documentation
+# for more information on these settings.
+#
+#cache.cluster.jms.topic.factory=java:comp/env/jms/TopicConnectionFactory
+#cache.cluster.jms.topic.name=java:comp/env/jms/OSCacheTopic
+#cache.cluster.jms.node.name=node1
+
+
+# JAVAGROUPS CLUSTER PROPERTIES
+#
+# Configuration properites for the JavaGroups clustering. Only one of these
+# should be specified. Default values (as shown below) will be used if niether
+# property is set. See the clustering documentation and the JavaGroups project
+# (www.javagroups.com) for more information on these settings.
+#
+#cache.cluster.properties=UDP(mcast_addr=231.12.21.132;mcast_port=45566;ip_ttl=32;\
+#mcast_send_buf_size=150000;mcast_recv_buf_size=80000):\
+#PING(timeout=2000;num_initial_members=3):\
+#MERGE2(min_interval=5000;max_interval=10000):\
+#FD_SOCK:VERIFY_SUSPECT(timeout=1500):\
+#pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800;max_xmit_size=8192):\
+#UNICAST(timeout=300,600,1200,2400):\
+#pbcast.STABLE(desired_avg_gossip=20000):\
+#FRAG(frag_size=8096;down_thread=false;up_thread=false):\
+#pbcast.GMS(join_timeout=5000;join_retry_timeout=2000;shun=false;print_local_addr=true)
+#cache.cluster.multicast.ip=231.12.21.132



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to