Return-Path: Delivered-To: apmail-db-ojb-dev-archive@www.apache.org Received: (qmail 16493 invoked from network); 30 Mar 2007 23:06:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Mar 2007 23:06:42 -0000 Received: (qmail 88187 invoked by uid 500); 30 Mar 2007 23:06:49 -0000 Delivered-To: apmail-db-ojb-dev-archive@db.apache.org Received: (qmail 88149 invoked by uid 500); 30 Mar 2007 23:06:49 -0000 Mailing-List: contact ojb-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "OJB Developers List" Reply-To: "OJB Developers List" Delivered-To: mailing list ojb-dev@db.apache.org Received: (qmail 88136 invoked by uid 500); 30 Mar 2007 23:06:48 -0000 Received: (qmail 88133 invoked by uid 99); 30 Mar 2007 23:06:48 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2007 16:06:48 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2007 16:06:38 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 6CBBE1A9844; Fri, 30 Mar 2007 16:06:18 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r524308 [2/2] - /db/ojb/branches/OJB_1_0_RELEASE/src/config/ Date: Fri, 30 Mar 2007 23:06:17 -0000 To: ojb-commits@db.apache.org From: arminw@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070330230618.6CBBE1A9844@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Added: db/ojb/branches/OJB_1_0_RELEASE/src/config/repository.dtd URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/config/repository.dtd?view=auto&rev=524308 ============================================================================== --- db/ojb/branches/OJB_1_0_RELEASE/src/config/repository.dtd (added) +++ db/ojb/branches/OJB_1_0_RELEASE/src/config/repository.dtd Fri Mar 30 16:06:16 2007 @@ -0,0 +1,1068 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Added: db/ojb/branches/OJB_1_0_RELEASE/src/config/repository.xml URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/config/repository.xml?view=auto&rev=524308 ============================================================================== --- db/ojb/branches/OJB_1_0_RELEASE/src/config/repository.xml (added) +++ db/ojb/branches/OJB_1_0_RELEASE/src/config/repository.xml Fri Mar 30 16:06:16 2007 @@ -0,0 +1,59 @@ + + + + + + + + + +]> + + + + + + &database; + + + &internal; + + + &user; + + Added: db/ojb/branches/OJB_1_0_RELEASE/src/config/repository_database.xml URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/config/repository_database.xml?view=auto&rev=524308 ============================================================================== --- db/ojb/branches/OJB_1_0_RELEASE/src/config/repository_database.xml (added) +++ db/ojb/branches/OJB_1_0_RELEASE/src/config/repository_database.xml Fri Mar 30 16:06:16 2007 @@ -0,0 +1,206 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Added: db/ojb/branches/OJB_1_0_RELEASE/src/config/repository_internal.xml URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/config/repository_internal.xml?view=auto&rev=524308 ============================================================================== --- db/ojb/branches/OJB_1_0_RELEASE/src/config/repository_internal.xml (added) +++ db/ojb/branches/OJB_1_0_RELEASE/src/config/repository_internal.xml Fri Mar 30 16:06:16 2007 @@ -0,0 +1,253 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Added: db/ojb/branches/OJB_1_0_RELEASE/src/config/repository_user.xml URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/config/repository_user.xml?view=auto&rev=524308 ============================================================================== --- db/ojb/branches/OJB_1_0_RELEASE/src/config/repository_user.xml (added) +++ db/ojb/branches/OJB_1_0_RELEASE/src/config/repository_user.xml Fri Mar 30 16:06:16 2007 @@ -0,0 +1,22 @@ + + + + + + Added: db/ojb/branches/OJB_1_0_RELEASE/src/config/simplelog.properties URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/config/simplelog.properties?view=auto&rev=524308 ============================================================================== --- db/ojb/branches/OJB_1_0_RELEASE/src/config/simplelog.properties (added) +++ db/ojb/branches/OJB_1_0_RELEASE/src/config/simplelog.properties Fri Mar 30 16:06:16 2007 @@ -0,0 +1,24 @@ +# +# +# simplelog config +# + +#set log levels +org.apache.commons.logging.simplelog.defaultlog=warn +org.apache.commons.logging.simplelog.log.org.apache.ojb.broker.accesslayer.JdbcAccess=warn +org.apache.commons.logging.simplelog.log.org.apache.ojb.broker.accesslayer.SqlGenerator=warn Added: db/ojb/branches/OJB_1_0_RELEASE/src/config/spy.properties URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/config/spy.properties?view=auto&rev=524308 ============================================================================== --- db/ojb/branches/OJB_1_0_RELEASE/src/config/spy.properties (added) +++ db/ojb/branches/OJB_1_0_RELEASE/src/config/spy.properties Fri Mar 30 16:06:16 2007 @@ -0,0 +1,242 @@ +# +################################################################# +# P6Spy Options File # +# See documentation for detailed instructions # +################################################################# + +################################################################# +# MODULES # +# # +# Modules provide the P6Spy functionality. If a module, such # +# as module_log is commented out, that functionality will not # +# be available. If it is not commented out (if it is active), # +# the functionality will be active. # +# # +# Values set in Modules cannot be reloaded using the # +# reloadproperties variable. Once they are loaded, they remain # +# in memory until the application is restarted. # +# # +################################################################# + +module.log=com.p6spy.engine.logging.P6LogFactory +#module.outage=com.p6spy.engine.outage.P6OutageFactory + +################################################################# +# REALDRIVER(s) # +# # +# In your application server configuration file you replace the # +# "real driver" name with com.p6spy.engine.P6SpyDriver. This is # +# where you put the name of your real driver P6Spy can find and # +# register your real driver to do the database work. # +# # +# If your application uses several drivers specify them in # +# realdriver2, realdriver3. See the documentation for more # +# details. # +# # +# Values set in REALDRIVER(s) cannot be reloaded using the # +# reloadproperties variable. Once they are loaded, they remain # +# in memory until the application is restarted. # +# # +################################################################# + +# oracle driver +# realdriver=oracle.jdbc.driver.OracleDriver + +# mysql Connector/J driver +# realdriver=com.mysql.jdbc.Driver + +# informix driver +# realdriver=com.informix.jdbc.IfxDriver + +# ibm db2 driver +# realdriver=COM.ibm.db2.jdbc.net.DB2Driver + +# the mysql open source driver +#realdriver=org.gjt.mm.mysql.Driver + +# the postgresql open source driver +#realdriver=org.postgresql.Driver + +# the hsqldb jdbc driver (OJB testsuite and tutorials) +realdriver=org.hsqldb.jdbcDriver + +#specifies another driver to use +#realdriver2=com.sap.dbtech.jdbc.DriverSapDB +realdriver2=oracle.jdbc.driver.OracleDriver +#specifies a third driver to use +realdriver3=org.gjt.mm.mysql.Driver + +################################################################ +# P6LOG SPECIFIC PROPERTIES # +################################################################ +# no properties currently available + +################################################################ +# P6OUTAGE SPECIFIC PROPERTIES # +################################################################ +# Outage Detection +# +# This feature detects long-running statements that may be indicative of +# a database outage problem. If this feature is turned on, it will log any +# statement that surpasses the configurable time boundary during its execution. +# When this feature is enabled, no other statements are logged except the long +# running statements. The interval property is the boundary time set in seconds. +# For example, if this is set to 2, then any statement requiring at least 2 +# seconds will be logged. Note that the same statement will continue to be logged +# for as long as it executes. So if the interval is set to 2, and the query takes +# 11 seconds, it will be logged 5 times (at the 2, 4, 6, 8, 10 second intervals). +# +# outagedetection=true|false +# outagedetectioninterval=integer time (seconds) +# +outagedetection=false +outagedetectioninterval= + +################################################################ +# COMMON PROPERTIES # +################################################################ + +# comma separated list of tables to include +include = +# comma separated list of tables to exclude +exclude = + +# sql expression to evaluate if using regex +sqlexpression = + +# filter what is logged +filter=false + +# turn on tracing +autoflush = true + +# sets the date format using Java's SimpleDateFormat routine +dateformat= + +#list of categories to explicitly include +includecategories= + +#list of categories to exclude: error, info, batch, debug, statement, +#commit, rollback and result are valid values +excludecategories=info,debug,result,batch,resultset,prepared + +#allows you to use a regex engine or your own matching engine to determine + +#which statements to log +# +#stringmatcher=com.p6spy.engine.common.GnuRegexMatcher +#stringmatcher=com.p6spy.engine.common.JakartaRegexMatcher +stringmatcher= + +# prints a stack trace for every statement logged +stacktrace=false +# if stacktrace=true, specifies the stack trace to print +stacktraceclass= + +# determines if property file should be reloaded +reloadproperties=false +# determines how often should be reloaded in seconds +reloadpropertiesinterval=60 + +#if=true then url must be prefixed with p6spy: +useprefix=false + +#specifies the appender to use for logging +#appender=com.p6spy.engine.logging.appender.Log4jLogger +#appender=com.p6spy.engine.logging.appender.StdoutLogger +appender=com.p6spy.engine.logging.appender.FileLogger + +# name of logfile to use, note Windows users should make sure to use forward slashes in their pathname (e:/test/spy.log) (used for file logger only) +logfile = spy.log + +# append to the p6spy log file. if this is set to false the +# log file is truncated every time. (file logger only) +append=true + +#The following are for log4j logging only +log4j.appender.STDOUT=org.apache.log4j.ConsoleAppender +log4j.appender.STDOUT.layout=org.apache.log4j.PatternLayout +log4j.appender.STDOUT.layout.ConversionPattern=p6spy - %m%n + +#log4j.appender.CHAINSAW_CLIENT=org.apache.log4j.net.SocketAppender +#log4j.appender.CHAINSAW_CLIENT.RemoteHost=localhost +#log4j.appender.CHAINSAW_CLIENT.Port=4445 +#log4j.appender.CHAINSAW_CLIENT.LocationInfo=true + +log4j.logger.p6spy=INFO,STDOUT + + +################################################################# +# DataSource replacement # +# # +# Replace the real DataSource class in your application server # +# configuration with the name com.p6spy.engine.spy.P6DataSource,# +# then add the JNDI name and class name of the real # +# DataSource here # +# # +# Values set in this item cannot be reloaded using the # +# reloadproperties variable. Once it is loaded, it remains # +# in memory until the application is restarted. # +# # +################################################################# +#realdatasource=/RealMySqlDS +#realdatasourceclass=com.mysql.jdbc.jdbc2.optional.MysqlDataSource + +################################################################# +# DataSource properties # +# # +# If you are using the DataSource support to intercept calls # +# to a DataSource that requires properties for proper setup, # +# define those properties here. Use name value pairs, separate # +# the name and value with a semicolon, and separate the # +# pairs with commas. # +# # +# The example shown here is for mysql # +# # +################################################################# +#realdatasourceproperties=port;3306,serverName;ibmhost,databaseName;mydb + +################################################################# +# JNDI DataSource lookup # +# # +# If you are using the DataSource support outside of an app # +# server, you will probably need to define the JNDI Context # +# environment. # +# # +# If the P6Spy code will be executing inside an app server then # +# do not use these properties, and the DataSource lookup will # +# use the naming context defined by the app server. # +# # +# The two standard elements of the naming environment are # +# jndicontextfactory and jndicontextproviderurl. If you need # +# additional elements, use the jndicontextcustom property. # +# You can define multiple properties in jndicontextcustom, # +# in name value pairs. Separate the name and value with a # +# semicolon, and separate the pairs with commas. # +# # +# The example shown here is for a standalone program running on # +# a machine that is also running JBoss, so the JDNI context # +# is configured for JBoss (3.0.4). # +# # +################################################################# +#jndicontextfactory=org.jnp.interfaces.NamingContextFactory +#jndicontextproviderurl=localhost:1099 +#jndicontextcustom=java.naming.factory.url.pkgs;org.jboss.nameing:org.jnp.interfaces + +#jndicontextfactory=com.ibm.websphere.naming.WsnInitialContextFactory +#jndicontextproviderurl=iiop://localhost:900 Added: db/ojb/branches/OJB_1_0_RELEASE/src/config/web.xml URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/config/web.xml?view=auto&rev=524308 ============================================================================== --- db/ojb/branches/OJB_1_0_RELEASE/src/config/web.xml (added) +++ db/ojb/branches/OJB_1_0_RELEASE/src/config/web.xml Fri Mar 30 16:06:16 2007 @@ -0,0 +1,62 @@ + + + + + OJB Lock-Server + + The OJB locking server servlet + + + + lockserver + org.apache.ojb.broker.locking.LockManagerServlet + + lockManager + org.apache.ojb.broker.locking.LockManagerInMemoryImpl + + + + lockTimeout + + 120000 + + + + blockTimeout + 1000 + + + + + + + + lockserver + / + + + + + index.jsp + index.html + index.htm + + --------------------------------------------------------------------- To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org For additional commands, e-mail: ojb-dev-help@db.apache.org