You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2006/12/11 02:29:19 UTC

svn commit: r485455 - in /incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main: conf/ conf/instantdb.properties resources/ resources/openejb resources/openejb.bat resources/openejb.conf

Author: dblevins
Date: Sun Dec 10 17:29:18 2006
New Revision: 485455

URL: http://svn.apache.org/viewvc?view=rev&rev=485455
Log:
guess they were needed after all

Added:
    incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/conf/
    incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/conf/instantdb.properties   (with props)
    incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/resources/
    incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/resources/openejb   (with props)
    incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/resources/openejb.bat   (with props)
    incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/resources/openejb.conf   (with props)

Added: incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/conf/instantdb.properties
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/conf/instantdb.properties?view=auto&rev=485455
==============================================================================
--- incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/conf/instantdb.properties (added)
+++ incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/conf/instantdb.properties Sun Dec 10 17:29:18 2006
@@ -0,0 +1,996 @@
+!---------------------------------------------------------------------
+!  Licensed to the Apache Software Foundation (ASF) under one or more
+!  contributor license agreements.  See the NOTICE file distributed with
+!  this work for additional information regarding copyright ownership.
+!  The ASF licenses this file to You 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.
+!---------------------------------------------------------------------
+!---------------------------------------------------------------------
+!
+! BASIC PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! Path where index tables are held. Can be absolute or relative 
+! to the properties file. Defaults to tablePath.
+!
+indexPath=./database/indexes
+!
+! Path where system tables are held. Can be absolute or relative to 
+! the properties file. Defaults to tablePath.
+!
+systemPath=./database/system
+!
+! Path where database tables are held. Can be absolute or relative 
+! to the properties file. Defaults to "current" directory.
+!
+tablePath=./database/tables
+!
+! Path where results set tables are held. Can be absolute or relative 
+! to the properties file. Defaults to tablePath.
+!
+tmpPath=./database/tmp
+!
+! Non-zero means paths are relative to the properties file. 
+! Default is absolute paths for files.
+!
+relativeToProperties=1
+!
+! Alternative partitions can be defined so that tables can be placed
+! in multiple locations. Each partition is numbered: 1, 2, 3,... Tables
+! can be created on partitions using the syntax 
+!
+!   CREATE TABLE <name> ON PARTITION <number>...
+!
+! The partition count has to be supplied.
+!
+!partitionCount=2
+!
+! The locations of each partition must be supplied. These are always
+! absolute path names.
+!
+!partition1=d:/petes
+!partition2=c:/temp
+
+
+!---------------------------------------------------------------------
+!
+! TUNING PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! The amount of each column to cache, expressed either as an absolute 
+! number of rows or as a percentage figure. Defaults to 256 or 10 respectively.
+!
+! This value applies only when tables are first created. It has no effect
+! when a table is being re-opened.
+!
+cacheAmount=512
+!
+! CACHE_ROWS Must be one of CACHE_ROWS or CACHE_PERCENT. Determines whether 
+! to cache columns in tables based on an absolute number of rows, or the 
+! percentage number of rows in the table. 
+!
+! This value applies only when tables are first created. It has no effect
+! when a table is being re-opened.
+!
+cacheCondition=CACHE_ROWS
+!
+! The amount of the system tables to be cached. Defaults to 100.
+!
+! This value applies only when tables are first created. It has no effect
+! when a table is being re-opened.
+!
+!systemCacheSize=10
+!
+! Similar to cacheCondition, but applies only to the system tables.
+!
+! This value applies only when tables are first created. It has no effect
+! when a table is being re-opened.
+!
+!systemCacheCondition=CACHE_ROWS
+!
+! The percentage cache hit improvement required in order to move the 
+! cache to a new location in a column. 
+!
+! (Currently not implemented).
+!
+cacheResetPercent=10
+!
+! Non-zero means that database changes do not get written to the 
+! database immediately. See tuning.html. 
+!
+fastUpdate=0
+!
+! Percentage of free space in an index that must be present before 
+! the index reorganises itself. High values means frequent index
+! reorganisation. Low values means slow index inserts.
+!
+indexLoad=5
+!
+! The number of cache misses to include in calculations of the next 
+! base for the cache. 
+!
+! (Currently not implemented).
+!
+missesInCacheStats=100
+!
+! Non-zero means that results sets get instantiated on disk. By default
+! InstantDB holds results sets emtirely in memory (apart from Binary
+! columns). For large results sets this can be a problem. This property
+! forces all results sets to be held on disk.
+!
+resultsOnDisk=0
+!
+! Similar to cacheCondition but applies only to disk based
+! results sets. Default is CACHE_ROWS.
+!
+resultsSetCache=CACHE_ROWS
+!
+! Similar to cacheAmount but applies only to disk based
+! results sets. Default is 100.
+!
+resultsSetCacheAmount=100
+!
+! Number of rows to read into the disk read ahead buffer. 
+! Recommended to be set somewhere around 128 to 256. 
+! Default is 20.
+!
+rowCacheSize=128
+!
+! The read ahead buffer is effective at speeding up full
+! table scans. However for indexed lookups or multiple
+! simultaneous scans it is better to read a single row at
+! a time. Each table holds a small number of single row
+! buffers to improve such operations. Default is 8.
+!
+!singleRowCount=4
+!
+! Sometimes the look ahead buffer can be held by a single
+! thread even though it is not retrieveing many values from it.
+! If too many lookups retrieve data from the single row
+! buffers then it is better to flush the look ahead buffer and
+! make it available for re-use. Default is 128.
+!
+!flushAfterCacheMisses=64
+!
+! Number of rows to read ahead for system tables. By default
+! system tables cache everything, so it is wasteful to have large
+! read ahead buffers since they will very rarely be used. This
+! allows the size of the system read ahead buffers to be reduced
+! if necessary. Defaults to rowCacheSize.
+!
+!systemRows=20
+!
+! The control column in all tables normally has a large cache
+! since this speeds up all operation on that table. This can be
+! varied to either improve performance or to reduce space.
+! default is 8192.
+!
+! This value applies only when tables are first created. It has no effect
+! when a table is being re-opened.
+!
+!controlColCacheSize=512
+!
+! By default, InstantDB only does a cursory search for deleted rows during 
+! UPDATE statements. Setting searchDeletes=1 causes more detailed searches 
+! for deleted rows. This slows down UPDATE executions, but reults in more 
+! compact tables.  Default is 0.
+!
+searchDeletes=0
+!
+! The interval, in milliseconds, between checks for statement execution
+! timeouts. Default is 5000.
+!
+!timerCheck=5000
+
+!---------------------------------------------------------------------
+!
+! LOGGING AND DEBUGGING PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! Non-zero means include SQL statements in the export file. 
+!
+exportSQL=0
+!
+! Non-zero means trace output also directed to console. 
+! Defaults to 0.
+!
+traceConsole=0
+!
+! Relative or absolute path where exporting and tracing goes.
+!
+!traceFile=./logs/trace.log
+!
+! Bitmap of various items that can be traced. See debug.html. 
+! Defaults to 0.
+!
+traceLevel=0
+
+!---------------------------------------------------------------------
+!
+! TRANSACTION AND RECOVERY PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! 0 means do not perform recovery on startup.
+! 1 means perform automatic recovery
+! 2 (default) means prompt the user using standard in 
+!
+recoveryPolicy=1
+!
+! Sets the level of transaction journalling. See trans.html.
+! Defaults to 1.
+!
+! 0 - No journalling takes place.
+! 1 - Normal journalling (default).
+! 2 - Full journalling.
+!
+transLevel=2
+!
+! When doing an import, defines the number of rows imported 
+! before the transaction is committed. Recommended value 8192.
+! defaults to 100.
+!
+transImports=100
+
+!---------------------------------------------------------------------
+!
+! DATE, TIME AND CURRENCY PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! Number of digits after decimal point in currency outputs. Defaults to 2.
+!
+currencyDecimal=2
+!
+! Currency symbol used in currency outputs. Defaults to $.
+!
+currencySymbol=$
+!
+! Default format for date columns. Defaults to "yyyy-mm-dd".
+!
+dateFormat=yyyy-mm-dd
+!
+! Default format for timestamp columns. Defaults to "yyyy-mm-dd hh:mm:ss.lll".
+!
+dateTimeFormat=yyyy-mm-dd hh:mm:ss.lll
+!
+! If set, then all two digit dates less than its value are interpreted 
+! as 21st century dates. 
+!
+!milleniumBoundary=50
+!
+! Set to 1 causes the date string "now" to store a full timestamp. 
+! Default is to store only the date for fields with now hour in the 
+! format string.
+!
+nowMeansTime=0
+
+!---------------------------------------------------------------------
+!
+! STRING HANDLING PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! If set to 1 then String hashes use the JDK Object.hashCode() function.
+! By default, uses InstantDB's String hashing.
+!
+altStringHashing=0
+!
+! Set to 1 to cause LIKE clauses to always perform case insensitive 
+! comparisons. 
+!
+likeIgnoreCase=0
+!
+! Same as SET LITERAL STRICT_ON. Prevents string literals being interpreted
+! as column names or numbers. Default is 0.
+!
+strictLiterals=0
+!
+! Set this value to 1 (one) if you would like PreparedStatement.setString()
+! to ignore "\" (backslash) characters when proceesing string constants.
+! When set, InstantDB will not attempt to interpret \ as the start of an
+! escape sequence. Default is 0.
+!
+!prepareIgnoresEscapes=1
+
+!---------------------------------------------------------------------
+!
+! MISCELLANEOUS PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! Allows selected InstantDB keywords to be un-reserved. 
+! e.g. ignoreKeywords=url,quote would allow the keywords 
+! url and quote to be used as table or column names. 
+!
+! This faciliy is provided for compatatbility reasons only.
+! It's use is not recommended AND IS NOT SUPPORTED.
+!
+!ignoreKeywords
+!
+! Non-zero means database is opened in read only mode.
+!
+readOnly=0
+!---------------------------------------------------------------------
+!  Licensed to the Apache Software Foundation (ASF) under one or more
+!  contributor license agreements.  See the NOTICE file distributed with
+!  this work for additional information regarding copyright ownership.
+!  The ASF licenses this file to You 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.
+!---------------------------------------------------------------------
+!---------------------------------------------------------------------
+!
+! BASIC PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! Path where index tables are held. Can be absolute or relative 
+! to the properties file. Defaults to tablePath.
+!
+indexPath=./database/indexes
+!
+! Path where system tables are held. Can be absolute or relative to 
+! the properties file. Defaults to tablePath.
+!
+systemPath=./database/system
+!
+! Path where database tables are held. Can be absolute or relative 
+! to the properties file. Defaults to "current" directory.
+!
+tablePath=./database/tables
+!
+! Path where results set tables are held. Can be absolute or relative 
+! to the properties file. Defaults to tablePath.
+!
+tmpPath=./database/tmp
+!
+! Non-zero means paths are relative to the properties file. 
+! Default is absolute paths for files.
+!
+relativeToProperties=1
+!
+! Alternative partitions can be defined so that tables can be placed
+! in multiple locations. Each partition is numbered: 1, 2, 3,... Tables
+! can be created on partitions using the syntax 
+!
+!   CREATE TABLE <name> ON PARTITION <number>...
+!
+! The partition count has to be supplied.
+!
+!partitionCount=2
+!
+! The locations of each partition must be supplied. These are always
+! absolute path names.
+!
+!partition1=d:/petes
+!partition2=c:/temp
+
+
+!---------------------------------------------------------------------
+!
+! TUNING PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! The amount of each column to cache, expressed either as an absolute 
+! number of rows or as a percentage figure. Defaults to 256 or 10 respectively.
+!
+! This value applies only when tables are first created. It has no effect
+! when a table is being re-opened.
+!
+cacheAmount=512
+!
+! CACHE_ROWS Must be one of CACHE_ROWS or CACHE_PERCENT. Determines whether 
+! to cache columns in tables based on an absolute number of rows, or the 
+! percentage number of rows in the table. 
+!
+! This value applies only when tables are first created. It has no effect
+! when a table is being re-opened.
+!
+cacheCondition=CACHE_ROWS
+!
+! The amount of the system tables to be cached. Defaults to 100.
+!
+! This value applies only when tables are first created. It has no effect
+! when a table is being re-opened.
+!
+!systemCacheSize=10
+!
+! Similar to cacheCondition, but applies only to the system tables.
+!
+! This value applies only when tables are first created. It has no effect
+! when a table is being re-opened.
+!
+!systemCacheCondition=CACHE_ROWS
+!
+! The percentage cache hit improvement required in order to move the 
+! cache to a new location in a column. 
+!
+! (Currently not implemented).
+!
+cacheResetPercent=10
+!
+! Non-zero means that database changes do not get written to the 
+! database immediately. See tuning.html. 
+!
+fastUpdate=0
+!
+! Percentage of free space in an index that must be present before 
+! the index reorganises itself. High values means frequent index
+! reorganisation. Low values means slow index inserts.
+!
+indexLoad=5
+!
+! The number of cache misses to include in calculations of the next 
+! base for the cache. 
+!
+! (Currently not implemented).
+!
+missesInCacheStats=100
+!
+! Non-zero means that results sets get instantiated on disk. By default
+! InstantDB holds results sets emtirely in memory (apart from Binary
+! columns). For large results sets this can be a problem. This property
+! forces all results sets to be held on disk.
+!
+resultsOnDisk=0
+!
+! Similar to cacheCondition but applies only to disk based
+! results sets. Default is CACHE_ROWS.
+!
+resultsSetCache=CACHE_ROWS
+!
+! Similar to cacheAmount but applies only to disk based
+! results sets. Default is 100.
+!
+resultsSetCacheAmount=100
+!
+! Number of rows to read into the disk read ahead buffer. 
+! Recommended to be set somewhere around 128 to 256. 
+! Default is 20.
+!
+rowCacheSize=128
+!
+! The read ahead buffer is effective at speeding up full
+! table scans. However for indexed lookups or multiple
+! simultaneous scans it is better to read a single row at
+! a time. Each table holds a small number of single row
+! buffers to improve such operations. Default is 8.
+!
+!singleRowCount=4
+!
+! Sometimes the look ahead buffer can be held by a single
+! thread even though it is not retrieveing many values from it.
+! If too many lookups retrieve data from the single row
+! buffers then it is better to flush the look ahead buffer and
+! make it available for re-use. Default is 128.
+!
+!flushAfterCacheMisses=64
+!
+! Number of rows to read ahead for system tables. By default
+! system tables cache everything, so it is wasteful to have large
+! read ahead buffers since they will very rarely be used. This
+! allows the size of the system read ahead buffers to be reduced
+! if necessary. Defaults to rowCacheSize.
+!
+!systemRows=20
+!
+! The control column in all tables normally has a large cache
+! since this speeds up all operation on that table. This can be
+! varied to either improve performance or to reduce space.
+! default is 8192.
+!
+! This value applies only when tables are first created. It has no effect
+! when a table is being re-opened.
+!
+!controlColCacheSize=512
+!
+! By default, InstantDB only does a cursory search for deleted rows during 
+! UPDATE statements. Setting searchDeletes=1 causes more detailed searches 
+! for deleted rows. This slows down UPDATE executions, but reults in more 
+! compact tables.  Default is 0.
+!
+searchDeletes=0
+!
+! The interval, in milliseconds, between checks for statement execution
+! timeouts. Default is 5000.
+!
+!timerCheck=5000
+
+!---------------------------------------------------------------------
+!
+! LOGGING AND DEBUGGING PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! Non-zero means include SQL statements in the export file. 
+!
+exportSQL=0
+!
+! Non-zero means trace output also directed to console. 
+! Defaults to 0.
+!
+traceConsole=0
+!
+! Relative or absolute path where exporting and tracing goes.
+!
+!traceFile=./logs/trace.log
+!
+! Bitmap of various items that can be traced. See debug.html. 
+! Defaults to 0.
+!
+traceLevel=0
+
+!---------------------------------------------------------------------
+!
+! TRANSACTION AND RECOVERY PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! 0 means do not perform recovery on startup.
+! 1 means perform automatic recovery
+! 2 (default) means prompt the user using standard in 
+!
+recoveryPolicy=1
+!
+! Sets the level of transaction journalling. See trans.html.
+! Defaults to 1.
+!
+! 0 - No journalling takes place.
+! 1 - Normal journalling (default).
+! 2 - Full journalling.
+!
+transLevel=2
+!
+! When doing an import, defines the number of rows imported 
+! before the transaction is committed. Recommended value 8192.
+! defaults to 100.
+!
+transImports=100
+
+!---------------------------------------------------------------------
+!
+! DATE, TIME AND CURRENCY PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! Number of digits after decimal point in currency outputs. Defaults to 2.
+!
+currencyDecimal=2
+!
+! Currency symbol used in currency outputs. Defaults to $.
+!
+currencySymbol=$
+!
+! Default format for date columns. Defaults to "yyyy-mm-dd".
+!
+dateFormat=yyyy-mm-dd
+!
+! Default format for timestamp columns. Defaults to "yyyy-mm-dd hh:mm:ss.lll".
+!
+dateTimeFormat=yyyy-mm-dd hh:mm:ss.lll
+!
+! If set, then all two digit dates less than its value are interpreted 
+! as 21st century dates. 
+!
+!milleniumBoundary=50
+!
+! Set to 1 causes the date string "now" to store a full timestamp. 
+! Default is to store only the date for fields with now hour in the 
+! format string.
+!
+nowMeansTime=0
+
+!---------------------------------------------------------------------
+!
+! STRING HANDLING PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! If set to 1 then String hashes use the JDK Object.hashCode() function.
+! By default, uses InstantDB's String hashing.
+!
+altStringHashing=0
+!
+! Set to 1 to cause LIKE clauses to always perform case insensitive 
+! comparisons. 
+!
+likeIgnoreCase=0
+!
+! Same as SET LITERAL STRICT_ON. Prevents string literals being interpreted
+! as column names or numbers. Default is 0.
+!
+strictLiterals=0
+!
+! Set this value to 1 (one) if you would like PreparedStatement.setString()
+! to ignore "\" (backslash) characters when proceesing string constants.
+! When set, InstantDB will not attempt to interpret \ as the start of an
+! escape sequence. Default is 0.
+!
+!prepareIgnoresEscapes=1
+
+!---------------------------------------------------------------------
+!
+! MISCELLANEOUS PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! Allows selected InstantDB keywords to be un-reserved. 
+! e.g. ignoreKeywords=url,quote would allow the keywords 
+! url and quote to be used as table or column names. 
+!
+! This faciliy is provided for compatatbility reasons only.
+! It's use is not recommended AND IS NOT SUPPORTED.
+!
+!ignoreKeywords
+!
+! Non-zero means database is opened in read only mode.
+!
+readOnly=0
+!---------------------------------------------------------------------
+!  Licensed to the Apache Software Foundation (ASF) under one or more
+!  contributor license agreements.  See the NOTICE file distributed with
+!  this work for additional information regarding copyright ownership.
+!  The ASF licenses this file to You 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.
+!---------------------------------------------------------------------
+!---------------------------------------------------------------------
+!
+! BASIC PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! Path where index tables are held. Can be absolute or relative 
+! to the properties file. Defaults to tablePath.
+!
+indexPath=./database/indexes
+!
+! Path where system tables are held. Can be absolute or relative to 
+! the properties file. Defaults to tablePath.
+!
+systemPath=./database/system
+!
+! Path where database tables are held. Can be absolute or relative 
+! to the properties file. Defaults to "current" directory.
+!
+tablePath=./database/tables
+!
+! Path where results set tables are held. Can be absolute or relative 
+! to the properties file. Defaults to tablePath.
+!
+tmpPath=./database/tmp
+!
+! Non-zero means paths are relative to the properties file. 
+! Default is absolute paths for files.
+!
+relativeToProperties=1
+!
+! Alternative partitions can be defined so that tables can be placed
+! in multiple locations. Each partition is numbered: 1, 2, 3,... Tables
+! can be created on partitions using the syntax 
+!
+!   CREATE TABLE <name> ON PARTITION <number>...
+!
+! The partition count has to be supplied.
+!
+!partitionCount=2
+!
+! The locations of each partition must be supplied. These are always
+! absolute path names.
+!
+!partition1=d:/petes
+!partition2=c:/temp
+
+
+!---------------------------------------------------------------------
+!
+! TUNING PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! The amount of each column to cache, expressed either as an absolute 
+! number of rows or as a percentage figure. Defaults to 256 or 10 respectively.
+!
+! This value applies only when tables are first created. It has no effect
+! when a table is being re-opened.
+!
+cacheAmount=512
+!
+! CACHE_ROWS Must be one of CACHE_ROWS or CACHE_PERCENT. Determines whether 
+! to cache columns in tables based on an absolute number of rows, or the 
+! percentage number of rows in the table. 
+!
+! This value applies only when tables are first created. It has no effect
+! when a table is being re-opened.
+!
+cacheCondition=CACHE_ROWS
+!
+! The amount of the system tables to be cached. Defaults to 100.
+!
+! This value applies only when tables are first created. It has no effect
+! when a table is being re-opened.
+!
+!systemCacheSize=10
+!
+! Similar to cacheCondition, but applies only to the system tables.
+!
+! This value applies only when tables are first created. It has no effect
+! when a table is being re-opened.
+!
+!systemCacheCondition=CACHE_ROWS
+!
+! The percentage cache hit improvement required in order to move the 
+! cache to a new location in a column. 
+!
+! (Currently not implemented).
+!
+cacheResetPercent=10
+!
+! Non-zero means that database changes do not get written to the 
+! database immediately. See tuning.html. 
+!
+fastUpdate=0
+!
+! Percentage of free space in an index that must be present before 
+! the index reorganises itself. High values means frequent index
+! reorganisation. Low values means slow index inserts.
+!
+indexLoad=5
+!
+! The number of cache misses to include in calculations of the next 
+! base for the cache. 
+!
+! (Currently not implemented).
+!
+missesInCacheStats=100
+!
+! Non-zero means that results sets get instantiated on disk. By default
+! InstantDB holds results sets emtirely in memory (apart from Binary
+! columns). For large results sets this can be a problem. This property
+! forces all results sets to be held on disk.
+!
+resultsOnDisk=0
+!
+! Similar to cacheCondition but applies only to disk based
+! results sets. Default is CACHE_ROWS.
+!
+resultsSetCache=CACHE_ROWS
+!
+! Similar to cacheAmount but applies only to disk based
+! results sets. Default is 100.
+!
+resultsSetCacheAmount=100
+!
+! Number of rows to read into the disk read ahead buffer. 
+! Recommended to be set somewhere around 128 to 256. 
+! Default is 20.
+!
+rowCacheSize=128
+!
+! The read ahead buffer is effective at speeding up full
+! table scans. However for indexed lookups or multiple
+! simultaneous scans it is better to read a single row at
+! a time. Each table holds a small number of single row
+! buffers to improve such operations. Default is 8.
+!
+!singleRowCount=4
+!
+! Sometimes the look ahead buffer can be held by a single
+! thread even though it is not retrieveing many values from it.
+! If too many lookups retrieve data from the single row
+! buffers then it is better to flush the look ahead buffer and
+! make it available for re-use. Default is 128.
+!
+!flushAfterCacheMisses=64
+!
+! Number of rows to read ahead for system tables. By default
+! system tables cache everything, so it is wasteful to have large
+! read ahead buffers since they will very rarely be used. This
+! allows the size of the system read ahead buffers to be reduced
+! if necessary. Defaults to rowCacheSize.
+!
+!systemRows=20
+!
+! The control column in all tables normally has a large cache
+! since this speeds up all operation on that table. This can be
+! varied to either improve performance or to reduce space.
+! default is 8192.
+!
+! This value applies only when tables are first created. It has no effect
+! when a table is being re-opened.
+!
+!controlColCacheSize=512
+!
+! By default, InstantDB only does a cursory search for deleted rows during 
+! UPDATE statements. Setting searchDeletes=1 causes more detailed searches 
+! for deleted rows. This slows down UPDATE executions, but reults in more 
+! compact tables.  Default is 0.
+!
+searchDeletes=0
+!
+! The interval, in milliseconds, between checks for statement execution
+! timeouts. Default is 5000.
+!
+!timerCheck=5000
+
+!---------------------------------------------------------------------
+!
+! LOGGING AND DEBUGGING PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! Non-zero means include SQL statements in the export file. 
+!
+exportSQL=0
+!
+! Non-zero means trace output also directed to console. 
+! Defaults to 0.
+!
+traceConsole=0
+!
+! Relative or absolute path where exporting and tracing goes.
+!
+!traceFile=./logs/trace.log
+!
+! Bitmap of various items that can be traced. See debug.html. 
+! Defaults to 0.
+!
+traceLevel=0
+
+!---------------------------------------------------------------------
+!
+! TRANSACTION AND RECOVERY PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! 0 means do not perform recovery on startup.
+! 1 means perform automatic recovery
+! 2 (default) means prompt the user using standard in 
+!
+recoveryPolicy=1
+!
+! Sets the level of transaction journalling. See trans.html.
+! Defaults to 1.
+!
+! 0 - No journalling takes place.
+! 1 - Normal journalling (default).
+! 2 - Full journalling.
+!
+transLevel=2
+!
+! When doing an import, defines the number of rows imported 
+! before the transaction is committed. Recommended value 8192.
+! defaults to 100.
+!
+transImports=100
+
+!---------------------------------------------------------------------
+!
+! DATE, TIME AND CURRENCY PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! Number of digits after decimal point in currency outputs. Defaults to 2.
+!
+currencyDecimal=2
+!
+! Currency symbol used in currency outputs. Defaults to $.
+!
+currencySymbol=$
+!
+! Default format for date columns. Defaults to "yyyy-mm-dd".
+!
+dateFormat=yyyy-mm-dd
+!
+! Default format for timestamp columns. Defaults to "yyyy-mm-dd hh:mm:ss.lll".
+!
+dateTimeFormat=yyyy-mm-dd hh:mm:ss.lll
+!
+! If set, then all two digit dates less than its value are interpreted 
+! as 21st century dates. 
+!
+!milleniumBoundary=50
+!
+! Set to 1 causes the date string "now" to store a full timestamp. 
+! Default is to store only the date for fields with now hour in the 
+! format string.
+!
+nowMeansTime=0
+
+!---------------------------------------------------------------------
+!
+! STRING HANDLING PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! If set to 1 then String hashes use the JDK Object.hashCode() function.
+! By default, uses InstantDB's String hashing.
+!
+altStringHashing=0
+!
+! Set to 1 to cause LIKE clauses to always perform case insensitive 
+! comparisons. 
+!
+likeIgnoreCase=0
+!
+! Same as SET LITERAL STRICT_ON. Prevents string literals being interpreted
+! as column names or numbers. Default is 0.
+!
+strictLiterals=0
+!
+! Set this value to 1 (one) if you would like PreparedStatement.setString()
+! to ignore "\" (backslash) characters when proceesing string constants.
+! When set, InstantDB will not attempt to interpret \ as the start of an
+! escape sequence. Default is 0.
+!
+!prepareIgnoresEscapes=1
+
+!---------------------------------------------------------------------
+!
+! MISCELLANEOUS PROPERTIES
+!
+!---------------------------------------------------------------------
+
+!
+! Allows selected InstantDB keywords to be un-reserved. 
+! e.g. ignoreKeywords=url,quote would allow the keywords 
+! url and quote to be used as table or column names. 
+!
+! This faciliy is provided for compatatbility reasons only.
+! It's use is not recommended AND IS NOT SUPPORTED.
+!
+!ignoreKeywords
+!
+! Non-zero means database is opened in read only mode.
+!
+readOnly=0

Propchange: incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/conf/instantdb.properties
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/resources/openejb
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/resources/openejb?view=auto&rev=485455
==============================================================================
--- incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/resources/openejb (added)
+++ incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/resources/openejb Sun Dec 10 17:29:18 2006
@@ -0,0 +1,618 @@
+#!/bin/sh
+#============================================================
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+#============================================================
+#   Control script for OpenEJB
+#   --------------------------
+#    
+#   This script is the central entry point to 
+#   all of OpenEJB's functions.
+#  
+#   Contributed by:
+#
+#    - David Blevins <da...@visi.com>
+#    - Daniel S. Haischt <da...@daniel-s-haischt.biz>
+#             
+#               
+# ___________________________________________________________
+# $Rev$ $Date$
+#============================================================
+
+cygwin=false
+case "`uname`" in
+CYGWIN*) cygwin=true;;
+esac
+
+if [ -z "$OPENEJB_HOME" -o ! -d "$OPENEJB_HOME" ] ; then
+  # find OpenEJB
+  if [ -d /opt/openejb ] ; then
+    OPENEJB_HOME=/opt/openejb
+  fi
+
+  if [ -d "${HOME}/opt/openejb" ] ; then
+    OPENEJB_HOME="${HOME}/opt/openejb"
+  fi
+
+  ## resolve links - $0 may be a link to openejb's home
+  PRG="$0"
+  progname=`basename "$0"`
+
+  # need this for relative symlinks
+  while [ -h "$PRG" ] ; do
+    ls=`ls -ld "$PRG"`
+    link=`expr "$ls" : '.*-> \(.*\)$'`
+    if expr "$link" : '/.*' > /dev/null; then
+      PRG="$link"
+    else
+      PRG=`dirname "$PRG"`"/$link"
+    fi
+  done
+
+
+  OPENEJB_HOME=`dirname "$PRG"`/..
+
+  # make it fully qualified
+  OPENEJB_HOME=`cd "$OPENEJB_HOME" && pwd`
+fi
+
+if $cygwin; then
+  OPENEJB_HOME=`cygpath --path --windows "$OPENEJB_HOME"`
+fi
+
+echo OPENEJB_HOME = $OPENEJB_HOME
+
+OPTIONS="-Dopenejb.home=$OPENEJB_HOME"
+
+OPENEJB_CORE_JAR="$OPENEJB_HOME/lib/openejb-core-${pom.version}.jar"
+
+#============================================================
+_command_help()
+{
+    case $2 in
+        "validate")
+            java -jar $OPENEJB_CORE_JAR validate --help
+        ;;
+        "deploy")
+            java -jar $OPENEJB_CORE_JAR deploy --help
+        ;;
+        "start")
+            java -jar $OPENEJB_CORE_JAR start --help
+        ;;
+        "stop")
+            java -jar $OPENEJB_CORE_JAR stop --help
+        ;;
+        "test")
+            java -jar $OPENEJB_CORE_JAR test --help
+        ;;
+        *)
+            java -jar $OPENEJB_CORE_JAR
+        ;;
+    esac
+}
+#============================================================
+_command_deploy()
+{
+   shift
+   java -jar $OPENEJB_CORE_JAR deploy $@
+}
+#============================================================
+_command_validate()
+{
+   shift
+   java -jar $OPENEJB_CORE_JAR validate $@
+}
+#============================================================
+_command_start()
+{
+   java -jar $OPENEJB_CORE_JAR start $@
+}
+#============================================================
+_command_stop()
+{
+   java -jar $OPENEJB_CORE_JAR stop $@
+}
+#============================================================
+_test_intravm()
+{
+   java -jar $OPENEJB_CORE_JAR test local
+}
+#============================================================
+_test_server()
+{
+   java -jar $OPENEJB_CORE_JAR test remote
+}
+#============================================================
+_command_test()
+{
+case $2 in
+    "local")
+        _test_intravm
+    ;;
+    "remote")
+        _test_server
+    ;;
+    "--help")
+        _test_help
+    ;;
+    *)
+        _test_noargs
+    ;;
+esac
+}
+#============================================================
+_test_help()
+{
+   java -jar $OPENEJB_CORE_JAR test --help
+}
+#============================================================
+_test_noargs()
+{
+   _test_intravm
+   _test_server
+}
+#============================================================
+case $1 in
+    "build")
+        _command_build $@
+    ;;
+    "test")
+        _command_test $@
+    ;;
+    "validate")
+        _command_validate $@
+    ;;
+    "deploy")
+        _command_deploy $@
+    ;;
+    "start")
+        _command_start $@
+    ;;
+    "stop")
+        _command_stop $@
+    ;;
+    "corba")
+        _start_corba $@
+    ;;
+    "create_stubs")
+        _create_stubs $@
+    ;;
+    "help")
+        _command_help $@
+    ;;
+    "-help")
+        _command_help $@
+    ;;
+    "--help")
+        _command_help $@
+    ;;
+    *)  _command_help $@
+    ;;
+esac
+
+
+
+#!/bin/sh
+#============================================================
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+#============================================================
+#   Control script for OpenEJB
+#   --------------------------
+#    
+#   This script is the central entry point to 
+#   all of OpenEJB's functions.
+#  
+#   Contributed by:
+#
+#    - David Blevins <da...@visi.com>
+#    - Daniel S. Haischt <da...@daniel-s-haischt.biz>
+#             
+#               
+# ___________________________________________________________
+# $Rev$ $Date$
+#============================================================
+
+cygwin=false
+case "`uname`" in
+CYGWIN*) cygwin=true;;
+esac
+
+if [ -z "$OPENEJB_HOME" -o ! -d "$OPENEJB_HOME" ] ; then
+  # find OpenEJB
+  if [ -d /opt/openejb ] ; then
+    OPENEJB_HOME=/opt/openejb
+  fi
+
+  if [ -d "${HOME}/opt/openejb" ] ; then
+    OPENEJB_HOME="${HOME}/opt/openejb"
+  fi
+
+  ## resolve links - $0 may be a link to openejb's home
+  PRG="$0"
+  progname=`basename "$0"`
+
+  # need this for relative symlinks
+  while [ -h "$PRG" ] ; do
+    ls=`ls -ld "$PRG"`
+    link=`expr "$ls" : '.*-> \(.*\)$'`
+    if expr "$link" : '/.*' > /dev/null; then
+      PRG="$link"
+    else
+      PRG=`dirname "$PRG"`"/$link"
+    fi
+  done
+
+
+  OPENEJB_HOME=`dirname "$PRG"`/..
+
+  # make it fully qualified
+  OPENEJB_HOME=`cd "$OPENEJB_HOME" && pwd`
+fi
+
+if $cygwin; then
+  OPENEJB_HOME=`cygpath --path --windows "$OPENEJB_HOME"`
+fi
+
+echo OPENEJB_HOME = $OPENEJB_HOME
+
+OPTIONS="-Dopenejb.home=$OPENEJB_HOME"
+
+OPENEJB_CORE_JAR="$OPENEJB_HOME/lib/openejb-core-${pom.version}.jar"
+
+#============================================================
+_command_help()
+{
+    case $2 in
+        "validate")
+            java -jar $OPENEJB_CORE_JAR validate --help
+        ;;
+        "deploy")
+            java -jar $OPENEJB_CORE_JAR deploy --help
+        ;;
+        "start")
+            java -jar $OPENEJB_CORE_JAR start --help
+        ;;
+        "stop")
+            java -jar $OPENEJB_CORE_JAR stop --help
+        ;;
+        "test")
+            java -jar $OPENEJB_CORE_JAR test --help
+        ;;
+        *)
+            java -jar $OPENEJB_CORE_JAR
+        ;;
+    esac
+}
+#============================================================
+_command_deploy()
+{
+   shift
+   java -jar $OPENEJB_CORE_JAR deploy $@
+}
+#============================================================
+_command_validate()
+{
+   shift
+   java -jar $OPENEJB_CORE_JAR validate $@
+}
+#============================================================
+_command_start()
+{
+   java -jar $OPENEJB_CORE_JAR start $@
+}
+#============================================================
+_command_stop()
+{
+   java -jar $OPENEJB_CORE_JAR stop $@
+}
+#============================================================
+_test_intravm()
+{
+   java -jar $OPENEJB_CORE_JAR test local
+}
+#============================================================
+_test_server()
+{
+   java -jar $OPENEJB_CORE_JAR test remote
+}
+#============================================================
+_command_test()
+{
+case $2 in
+    "local")
+        _test_intravm
+    ;;
+    "remote")
+        _test_server
+    ;;
+    "--help")
+        _test_help
+    ;;
+    *)
+        _test_noargs
+    ;;
+esac
+}
+#============================================================
+_test_help()
+{
+   java -jar $OPENEJB_CORE_JAR test --help
+}
+#============================================================
+_test_noargs()
+{
+   _test_intravm
+   _test_server
+}
+#============================================================
+case $1 in
+    "build")
+        _command_build $@
+    ;;
+    "test")
+        _command_test $@
+    ;;
+    "validate")
+        _command_validate $@
+    ;;
+    "deploy")
+        _command_deploy $@
+    ;;
+    "start")
+        _command_start $@
+    ;;
+    "stop")
+        _command_stop $@
+    ;;
+    "corba")
+        _start_corba $@
+    ;;
+    "create_stubs")
+        _create_stubs $@
+    ;;
+    "help")
+        _command_help $@
+    ;;
+    "-help")
+        _command_help $@
+    ;;
+    "--help")
+        _command_help $@
+    ;;
+    *)  _command_help $@
+    ;;
+esac
+
+
+
+#!/bin/sh
+#============================================================
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+#============================================================
+#   Control script for OpenEJB
+#   --------------------------
+#    
+#   This script is the central entry point to 
+#   all of OpenEJB's functions.
+#  
+#   Contributed by:
+#
+#    - David Blevins <da...@visi.com>
+#    - Daniel S. Haischt <da...@daniel-s-haischt.biz>
+#             
+#               
+# ___________________________________________________________
+# $Rev: 475597 $ $Date: 2006-11-15 22:44:46 -0800 (Wed, 15 Nov 2006) $
+#============================================================
+
+cygwin=false
+case "`uname`" in
+CYGWIN*) cygwin=true;;
+esac
+
+if [ -z "$OPENEJB_HOME" -o ! -d "$OPENEJB_HOME" ] ; then
+  # find OpenEJB
+  if [ -d /opt/openejb ] ; then
+    OPENEJB_HOME=/opt/openejb
+  fi
+
+  if [ -d "${HOME}/opt/openejb" ] ; then
+    OPENEJB_HOME="${HOME}/opt/openejb"
+  fi
+
+  ## resolve links - $0 may be a link to openejb's home
+  PRG="$0"
+  progname=`basename "$0"`
+
+  # need this for relative symlinks
+  while [ -h "$PRG" ] ; do
+    ls=`ls -ld "$PRG"`
+    link=`expr "$ls" : '.*-> \(.*\)$'`
+    if expr "$link" : '/.*' > /dev/null; then
+      PRG="$link"
+    else
+      PRG=`dirname "$PRG"`"/$link"
+    fi
+  done
+
+
+  OPENEJB_HOME=`dirname "$PRG"`/..
+
+  # make it fully qualified
+  OPENEJB_HOME=`cd "$OPENEJB_HOME" && pwd`
+fi
+
+if $cygwin; then
+  OPENEJB_HOME=`cygpath --path --windows "$OPENEJB_HOME"`
+fi
+
+echo OPENEJB_HOME = $OPENEJB_HOME
+
+OPTIONS="-Dopenejb.home=$OPENEJB_HOME"
+
+OPENEJB_CORE_JAR="$OPENEJB_HOME/lib/openejb-core-${pom.version}.jar"
+
+#============================================================
+_command_help()
+{
+    case $2 in
+        "validate")
+            java -jar $OPENEJB_CORE_JAR validate --help
+        ;;
+        "deploy")
+            java -jar $OPENEJB_CORE_JAR deploy --help
+        ;;
+        "start")
+            java -jar $OPENEJB_CORE_JAR start --help
+        ;;
+        "stop")
+            java -jar $OPENEJB_CORE_JAR stop --help
+        ;;
+        "test")
+            java -jar $OPENEJB_CORE_JAR test --help
+        ;;
+        *)
+            java -jar $OPENEJB_CORE_JAR
+        ;;
+    esac
+}
+#============================================================
+_command_deploy()
+{
+   shift
+   java -jar $OPENEJB_CORE_JAR deploy $@
+}
+#============================================================
+_command_validate()
+{
+   shift
+   java -jar $OPENEJB_CORE_JAR validate $@
+}
+#============================================================
+_command_start()
+{
+   java -jar $OPENEJB_CORE_JAR start $@
+}
+#============================================================
+_command_stop()
+{
+   java -jar $OPENEJB_CORE_JAR stop $@
+}
+#============================================================
+_test_intravm()
+{
+   java -jar $OPENEJB_CORE_JAR test local
+}
+#============================================================
+_test_server()
+{
+   java -jar $OPENEJB_CORE_JAR test remote
+}
+#============================================================
+_command_test()
+{
+case $2 in
+    "local")
+        _test_intravm
+    ;;
+    "remote")
+        _test_server
+    ;;
+    "--help")
+        _test_help
+    ;;
+    *)
+        _test_noargs
+    ;;
+esac
+}
+#============================================================
+_test_help()
+{
+   java -jar $OPENEJB_CORE_JAR test --help
+}
+#============================================================
+_test_noargs()
+{
+   _test_intravm
+   _test_server
+}
+#============================================================
+case $1 in
+    "build")
+        _command_build $@
+    ;;
+    "test")
+        _command_test $@
+    ;;
+    "validate")
+        _command_validate $@
+    ;;
+    "deploy")
+        _command_deploy $@
+    ;;
+    "start")
+        _command_start $@
+    ;;
+    "stop")
+        _command_stop $@
+    ;;
+    "corba")
+        _start_corba $@
+    ;;
+    "create_stubs")
+        _create_stubs $@
+    ;;
+    "help")
+        _command_help $@
+    ;;
+    "-help")
+        _command_help $@
+    ;;
+    "--help")
+        _command_help $@
+    ;;
+    *)  _command_help $@
+    ;;
+esac
+
+
+

Propchange: incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/resources/openejb
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/resources/openejb.bat
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/resources/openejb.bat?view=auto&rev=485455
==============================================================================
--- incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/resources/openejb.bat (added)
+++ incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/resources/openejb.bat Sun Dec 10 17:29:18 2006
@@ -0,0 +1,453 @@
+@echo off
+REM================================================
+REM Licensed to the Apache Software Foundation (ASF) under one or more
+REM contributor license agreements.  See the NOTICE file distributed with
+REM this work for additional information regarding copyright ownership.
+REM The ASF licenses this file to You under the Apache License, Version 2.0
+REM (the "License"); you may not use this file except in compliance with
+REM the License.  You may obtain a copy of the License at
+REM
+REM    http://www.apache.org/licenses/LICENSE-2.0
+REM
+REM Unless required by applicable law or agreed to in writing, software
+REM distributed under the License is distributed on an "AS IS" BASIS,
+REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+REM See the License for the specific language governing permissions and
+REM limitations under the License.
+REM================================================
+REM   Control script for OpenEJB
+REM   --------------------------
+REM    
+REM   This script is the central entry point to 
+REM   all of OpenEJB's functions.
+REM  
+REM   Tested on Windows 2000
+REM
+REM
+REM   Created by David Blevins 
+REM             <da...@visi.com>
+REM _______________________________________________
+REM $Rev$ $Date$
+REM================================================
+
+SETLOCAL
+
+set OPENEJB_CORE_JAR=%OPENEJB_HOME%/lib/openejb-core-${pom.version}.jar
+
+rem find OPENEJB_HOME if it does not exist due to either an invalid value passed
+rem by the user or the %0 problem on Windows 9x
+if exist "%OPENEJB_CORE_JAR%" goto openejbHomeSet
+
+:noOpenEJBHome
+echo OPENEJB_HOME is set incorrectly or OpenEJB could not be located. Please set OPENEJB_HOME.
+goto EOF
+
+:openejbHomeSet
+set OPTIONS=-Dopenejb.home=%OPENEJB_HOME%
+
+set P1=_%1
+set P2=_%2
+
+if /I %P1% EQU _TEST         goto TEST
+if /I %P1% EQU _VALIDATE     goto VALIDATE 
+if /I %P1% EQU _DEPLOY       goto DEPLOY 
+if /I %P1% EQU _START        goto START_SERVER
+if /I %P1% EQU _STOP         goto STOP_SERVER
+
+echo Unknown option: %1
+goto HELP
+
+goto EOF
+REM================================================
+:HELP
+   
+	java -jar %OPENEJB_CORE_JAR%
+
+goto EOF
+REM================================================
+:TEST
+   if /I %P2% EQU _LOCAL     goto TEST_INTRAVM
+   if /I %P2% EQU _REMOTE    goto TEST_SERVER
+   if /I %P2% EQU _--HELP    goto HELP_TEST
+   if /I %P2% EQU _          goto TEST_NOARGS
+
+   echo Unknown option: %2
+   goto HELP_TEST                                   
+
+goto EOF
+REM================================================
+:VALIDATE 
+   shift
+   java -jar %OPENEJB_CORE_JAR% validate %1 %2 %3 %4 %5 %6 %7 %8 %9
+
+goto EOF
+REM================================================
+:DEPLOY 
+   shift
+   java -jar %OPENEJB_CORE_JAR% deploy %1 %2 %3 %4 %5 %6 %7 %8 %9
+
+goto EOF
+REM================================================
+:START_SERVER
+   shift
+   java -jar %OPENEJB_CORE_JAR% start %1 %2 %3 %4 %5 %6 %7 %8 %9
+
+goto EOF
+REM================================================
+:STOP_SERVER
+   shift
+   java -jar %OPENEJB_CORE_JAR% stop %1 %2 %3 %4 %5 %6 %7 %8 %9
+
+goto EOF
+REM================================================
+:TEST_NOARGS
+   goto TEST_INTRAVM
+goto EOF
+REM================================================
+:TEST_INTRAVM
+
+   java -jar %OPENEJB_CORE_JAR% test local
+         
+if /I %P2% EQU _ goto TEST_SERVER
+goto EOF
+REM================================================
+:TEST_SERVER
+
+   java -jar %OPENEJB_CORE_JAR% test remote
+   
+goto EOF
+REM================================================
+:HELP_TEST
+   
+	java -jar %OPENEJB_CORE_JAR% test --help
+
+goto EOF
+REM================================================
+:HELP_DEPLOY
+   
+	java -jar %OPENEJB_CORE_JAR% deploy --help
+	
+goto EOF
+REM================================================
+:HELP_VALIDATE
+   
+	java -jar %OPENEJB_CORE_JAR% validate --help
+
+goto EOF
+REM================================================
+:HELP_START
+   
+	java -jar %OPENEJB_CORE_JAR% start --help
+
+goto EOF
+REM================================================
+:HELP_STOP
+   
+	java -jar %OPENEJB_CORE_JAR% stop --help
+
+goto EOF
+
+:EOF
+ENDLOCAL
+@echo off
+REM================================================
+REM Licensed to the Apache Software Foundation (ASF) under one or more
+REM contributor license agreements.  See the NOTICE file distributed with
+REM this work for additional information regarding copyright ownership.
+REM The ASF licenses this file to You under the Apache License, Version 2.0
+REM (the "License"); you may not use this file except in compliance with
+REM the License.  You may obtain a copy of the License at
+REM
+REM    http://www.apache.org/licenses/LICENSE-2.0
+REM
+REM Unless required by applicable law or agreed to in writing, software
+REM distributed under the License is distributed on an "AS IS" BASIS,
+REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+REM See the License for the specific language governing permissions and
+REM limitations under the License.
+REM================================================
+REM   Control script for OpenEJB
+REM   --------------------------
+REM    
+REM   This script is the central entry point to 
+REM   all of OpenEJB's functions.
+REM  
+REM   Tested on Windows 2000
+REM
+REM
+REM   Created by David Blevins 
+REM             <da...@visi.com>
+REM _______________________________________________
+REM $Rev$ $Date$
+REM================================================
+
+SETLOCAL
+
+set OPENEJB_CORE_JAR=%OPENEJB_HOME%/lib/openejb-core-${pom.version}.jar
+
+rem find OPENEJB_HOME if it does not exist due to either an invalid value passed
+rem by the user or the %0 problem on Windows 9x
+if exist "%OPENEJB_CORE_JAR%" goto openejbHomeSet
+
+:noOpenEJBHome
+echo OPENEJB_HOME is set incorrectly or OpenEJB could not be located. Please set OPENEJB_HOME.
+goto EOF
+
+:openejbHomeSet
+set OPTIONS=-Dopenejb.home=%OPENEJB_HOME%
+
+set P1=_%1
+set P2=_%2
+
+if /I %P1% EQU _TEST         goto TEST
+if /I %P1% EQU _VALIDATE     goto VALIDATE 
+if /I %P1% EQU _DEPLOY       goto DEPLOY 
+if /I %P1% EQU _START        goto START_SERVER
+if /I %P1% EQU _STOP         goto STOP_SERVER
+
+echo Unknown option: %1
+goto HELP
+
+goto EOF
+REM================================================
+:HELP
+   
+	java -jar %OPENEJB_CORE_JAR%
+
+goto EOF
+REM================================================
+:TEST
+   if /I %P2% EQU _LOCAL     goto TEST_INTRAVM
+   if /I %P2% EQU _REMOTE    goto TEST_SERVER
+   if /I %P2% EQU _--HELP    goto HELP_TEST
+   if /I %P2% EQU _          goto TEST_NOARGS
+
+   echo Unknown option: %2
+   goto HELP_TEST                                   
+
+goto EOF
+REM================================================
+:VALIDATE 
+   shift
+   java -jar %OPENEJB_CORE_JAR% validate %1 %2 %3 %4 %5 %6 %7 %8 %9
+
+goto EOF
+REM================================================
+:DEPLOY 
+   shift
+   java -jar %OPENEJB_CORE_JAR% deploy %1 %2 %3 %4 %5 %6 %7 %8 %9
+
+goto EOF
+REM================================================
+:START_SERVER
+   shift
+   java -jar %OPENEJB_CORE_JAR% start %1 %2 %3 %4 %5 %6 %7 %8 %9
+
+goto EOF
+REM================================================
+:STOP_SERVER
+   shift
+   java -jar %OPENEJB_CORE_JAR% stop %1 %2 %3 %4 %5 %6 %7 %8 %9
+
+goto EOF
+REM================================================
+:TEST_NOARGS
+   goto TEST_INTRAVM
+goto EOF
+REM================================================
+:TEST_INTRAVM
+
+   java -jar %OPENEJB_CORE_JAR% test local
+         
+if /I %P2% EQU _ goto TEST_SERVER
+goto EOF
+REM================================================
+:TEST_SERVER
+
+   java -jar %OPENEJB_CORE_JAR% test remote
+   
+goto EOF
+REM================================================
+:HELP_TEST
+   
+	java -jar %OPENEJB_CORE_JAR% test --help
+
+goto EOF
+REM================================================
+:HELP_DEPLOY
+   
+	java -jar %OPENEJB_CORE_JAR% deploy --help
+	
+goto EOF
+REM================================================
+:HELP_VALIDATE
+   
+	java -jar %OPENEJB_CORE_JAR% validate --help
+
+goto EOF
+REM================================================
+:HELP_START
+   
+	java -jar %OPENEJB_CORE_JAR% start --help
+
+goto EOF
+REM================================================
+:HELP_STOP
+   
+	java -jar %OPENEJB_CORE_JAR% stop --help
+
+goto EOF
+
+:EOF
+ENDLOCAL
+@echo off
+REM================================================
+REM Licensed to the Apache Software Foundation (ASF) under one or more
+REM contributor license agreements.  See the NOTICE file distributed with
+REM this work for additional information regarding copyright ownership.
+REM The ASF licenses this file to You under the Apache License, Version 2.0
+REM (the "License"); you may not use this file except in compliance with
+REM the License.  You may obtain a copy of the License at
+REM
+REM    http://www.apache.org/licenses/LICENSE-2.0
+REM
+REM Unless required by applicable law or agreed to in writing, software
+REM distributed under the License is distributed on an "AS IS" BASIS,
+REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+REM See the License for the specific language governing permissions and
+REM limitations under the License.
+REM================================================
+REM   Control script for OpenEJB
+REM   --------------------------
+REM    
+REM   This script is the central entry point to 
+REM   all of OpenEJB's functions.
+REM  
+REM   Tested on Windows 2000
+REM
+REM
+REM   Created by David Blevins 
+REM             <da...@visi.com>
+REM _______________________________________________
+REM $Rev: 475597 $ $Date: 2006-11-15 22:44:46 -0800 (Wed, 15 Nov 2006) $
+REM================================================
+
+SETLOCAL
+
+set OPENEJB_CORE_JAR=%OPENEJB_HOME%/lib/openejb-core-${pom.version}.jar
+
+rem find OPENEJB_HOME if it does not exist due to either an invalid value passed
+rem by the user or the %0 problem on Windows 9x
+if exist "%OPENEJB_CORE_JAR%" goto openejbHomeSet
+
+:noOpenEJBHome
+echo OPENEJB_HOME is set incorrectly or OpenEJB could not be located. Please set OPENEJB_HOME.
+goto EOF
+
+:openejbHomeSet
+set OPTIONS=-Dopenejb.home=%OPENEJB_HOME%
+
+set P1=_%1
+set P2=_%2
+
+if /I %P1% EQU _TEST         goto TEST
+if /I %P1% EQU _VALIDATE     goto VALIDATE 
+if /I %P1% EQU _DEPLOY       goto DEPLOY 
+if /I %P1% EQU _START        goto START_SERVER
+if /I %P1% EQU _STOP         goto STOP_SERVER
+
+echo Unknown option: %1
+goto HELP
+
+goto EOF
+REM================================================
+:HELP
+   
+	java -jar %OPENEJB_CORE_JAR%
+
+goto EOF
+REM================================================
+:TEST
+   if /I %P2% EQU _LOCAL     goto TEST_INTRAVM
+   if /I %P2% EQU _REMOTE    goto TEST_SERVER
+   if /I %P2% EQU _--HELP    goto HELP_TEST
+   if /I %P2% EQU _          goto TEST_NOARGS
+
+   echo Unknown option: %2
+   goto HELP_TEST                                   
+
+goto EOF
+REM================================================
+:VALIDATE 
+   shift
+   java -jar %OPENEJB_CORE_JAR% validate %1 %2 %3 %4 %5 %6 %7 %8 %9
+
+goto EOF
+REM================================================
+:DEPLOY 
+   shift
+   java -jar %OPENEJB_CORE_JAR% deploy %1 %2 %3 %4 %5 %6 %7 %8 %9
+
+goto EOF
+REM================================================
+:START_SERVER
+   shift
+   java -jar %OPENEJB_CORE_JAR% start %1 %2 %3 %4 %5 %6 %7 %8 %9
+
+goto EOF
+REM================================================
+:STOP_SERVER
+   shift
+   java -jar %OPENEJB_CORE_JAR% stop %1 %2 %3 %4 %5 %6 %7 %8 %9
+
+goto EOF
+REM================================================
+:TEST_NOARGS
+   goto TEST_INTRAVM
+goto EOF
+REM================================================
+:TEST_INTRAVM
+
+   java -jar %OPENEJB_CORE_JAR% test local
+         
+if /I %P2% EQU _ goto TEST_SERVER
+goto EOF
+REM================================================
+:TEST_SERVER
+
+   java -jar %OPENEJB_CORE_JAR% test remote
+   
+goto EOF
+REM================================================
+:HELP_TEST
+   
+	java -jar %OPENEJB_CORE_JAR% test --help
+
+goto EOF
+REM================================================
+:HELP_DEPLOY
+   
+	java -jar %OPENEJB_CORE_JAR% deploy --help
+	
+goto EOF
+REM================================================
+:HELP_VALIDATE
+   
+	java -jar %OPENEJB_CORE_JAR% validate --help
+
+goto EOF
+REM================================================
+:HELP_START
+   
+	java -jar %OPENEJB_CORE_JAR% start --help
+
+goto EOF
+REM================================================
+:HELP_STOP
+   
+	java -jar %OPENEJB_CORE_JAR% stop --help
+
+goto EOF
+
+:EOF
+ENDLOCAL

Propchange: incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/resources/openejb.bat
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/resources/openejb.conf
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/resources/openejb.conf?view=auto&rev=485455
==============================================================================
--- incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/resources/openejb.conf (added)
+++ incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/resources/openejb.conf Sun Dec 10 17:29:18 2006
@@ -0,0 +1,687 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You 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.
+
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<openejb>
+
+<Container id="Default CMP Container" ctype="CMP_ENTITY">
+#
+#  The default size of the method ready bean pools. 
+#  Every bean class gets its own pool of this size.
+#
+
+    PoolSize 100
+
+#  The name of the database.xml file that is used for global or 
+#  container managed transactions.  This will be used when the 
+#  TransactionManager is managing the transaction, such as when 
+#  the tx attribute is Supports (client has tx), RequiresNew, 
+#  Required or Manditory.
+#  
+#  Specifies the configuration for obtaining database connections
+#  and the mapping.xml schema which describes how beans map to 
+#  the database.
+#
+
+    Global_TX_Database  conf/default.cmp_global_tx_database.xml
+    
+#  The name of the database.xml file that is used for local or 
+#  unspecified transaction contexts.  This will be used when 
+#  the TransactionManager is not managing the transaction, such 
+#  as when the tx attribute is Supports (no client tx), 
+#  NotSupported, or Never.
+#  
+#  Specifies the configuration for obtaining database connections 
+#  and the mapping.xml schema which describes how beans map to 
+#  the database.
+#
+
+    Local_TX_Database   conf/default.cmp_local_tx_database.xml
+
+</Container>
+
+
+
+<!--
+<Container id="InstantDB CMP Container" ctype="CMP_ENTITY">
+    # InstantDB example
+    Global_TX_Database  conf/instantdb.cmp.global-database.xml
+    Local_TX_Database   conf/instantdb.cmp.local-database.xml
+</Container>
+-->
+
+
+
+<!--   
+<Container id="PostgreSQL CMP Container" ctype="CMP_ENTITY">
+    # PostgreSQL example
+    Global_TX_Database  conf/postgresql.cmp.global-database.xml
+    Local_TX_Database   conf/postgresql.cmp.local-database.xml
+</Container>
+-->
+
+
+
+<Container id="Default BMP Container" ctype="BMP_ENTITY">
+#  --------------------------------------------------------------
+#  The Default BMP Container has no customizable properties to  
+#  override.                                             
+#  --------------------------------------------------------------
+</Container>
+
+
+
+<Container id="Default Stateful Container" ctype="STATEFUL">
+#  The passivator is responsible for writing beans to disk 
+#  at passivation time. Different passivators can be used 
+#  by setting this property to the fully qualified class name
+#  of the PassivationStrategy implementation. The passivator
+#  is not responsible for invoking any callbacks or other 
+#  processing, its only responsibly is to write the bean state
+#  to disk.
+#
+#  Known implementations:
+#     org.apache.openejb.core.stateful.RAFPassivater
+#     org.apache.openejb.core.stateful.SimplePassivater
+
+    Passivator   org.apache.openejb.core.stateful.SimplePassivater
+    
+#  Specifies the time to wait between invocations. This 
+#  value is measured in minutes.  A value of 5 would 
+#  result in a time-out of 5 minutes between invocations.
+
+    TimeOut  20
+
+#  Specifies the size of the bean pools for this 
+#  stateful SessionBean container.
+
+    PoolSize  100
+
+#  Property name that specifies the number of instances
+#  to passivate at one time when doing bulk passivation.
+#  Must be less than the PoolSize.
+
+    BulkPassivate  50
+
+</Container>    
+
+
+
+<Container id="Default Stateless Container" ctype="STATELESS">
+#  Specifies the time to wait between invocations. This 
+#  value is measured in milliseconds.  A value of 5 would 
+#  result in a time-out of 5 milliseconds between invocations.
+#  A value of zero would mean no timeout.
+
+    TimeOut  0
+   
+#  Specifies the size of the bean pools for this 
+#  stateless SessionBean container.
+
+    PoolSize  10
+
+#  StrictPooling tells the container what to do when the pool 
+#  reaches it's maximum size and there are incoming requests
+#  that need instances.
+#
+#  With strict pooling, requests will have to wait for instances
+#  to become available.  The pool size will never grow beyond the  
+#  the set PoolSize value.
+#  
+#  Without strict pooling, the container will create temporary 
+#  instances to meet demand.  The instances will last for just one
+#  method invocation and then are removed.
+
+    StrictPooling  true
+
+</Container>
+
+<Connector id="Default JDBC Database" />
+
+<!-- 
+<Connector id="InstantDB Database">            
+    #  InstantDB example
+    #
+    #  This connector does work as is, the drivers are shipped
+    #  with every OpenEJB distribution and should be in the 
+    #  OPENEJB_HOME/lib directory.
+    #
+    #  Information on InstantDB can be found at:
+    #  http://www.openejb.org/InstantDB/docs/
+    
+    JdbcDriver   org.enhydra.instantdb.jdbc.idbDriver
+    JdbcUrl      jdbc:idb:conf/default.idb_database.conf
+    UserName     Admin
+    Password     pass
+</Connector>
+-->
+
+<!-- 
+<Connector id="MySQL Database">            
+    #  MySQL example
+    #
+    #  This connector will not work until you download the driver at:
+    #  http://www.mysql.com/downloads/api-jdbc-stable.html
+    
+    JdbcDriver  com.mysql.jdbc.Driver
+    JdbcUrl     jdbc:mysql://localhost/test
+    UserName    test
+</Connector>
+-->
+
+<!-- 
+<Connector id="Oracle Database">            
+    #  Oracle example
+    #
+    #  This connector will not work until you download the driver at:
+    #  http://otn.oracle.com/software/tech/java/sqlj_jdbc/content.html
+    JdbcDriver  com.mysql.jdbc.Driver
+    JdbcUrl     jdbc:oracle:thin:@localhost:1521:orcl
+    UserName    scott
+    Password    tiger
+</Connector>
+-->
+
+<!-- 
+<Connector id="PostgreSQL Database">            
+    #  PostgreSQL example
+    #
+    #  This connector will not work until you download the driver at:
+    #  http://jdbc.postgresql.org/download.html
+    JdbcDriver   org.postgresql.Driver
+    JdbcUrl      jdbc:postgresql://localhost/test
+    UserName     postgres
+    Password     pass
+</Connector>
+-->
+
+<!--
+#
+#  A registry listing of all the jars
+#  deployed with OpenEJB.
+#
+#  Jars in this path must contain an 
+#  openejb-jar.xml in the jar to be loaded
+#  
+#  You can create this file yourself or
+#  use the deploy tool.
+-->
+<Deployments dir="beans/" />
+
+</openejb>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You 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.
+
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<openejb>
+
+<Container id="Default CMP Container" ctype="CMP_ENTITY">
+#
+#  The default size of the method ready bean pools. 
+#  Every bean class gets its own pool of this size.
+#
+
+    PoolSize 100
+
+#  The name of the database.xml file that is used for global or 
+#  container managed transactions.  This will be used when the 
+#  TransactionManager is managing the transaction, such as when 
+#  the tx attribute is Supports (client has tx), RequiresNew, 
+#  Required or Manditory.
+#  
+#  Specifies the configuration for obtaining database connections
+#  and the mapping.xml schema which describes how beans map to 
+#  the database.
+#
+
+    Global_TX_Database  conf/default.cmp_global_tx_database.xml
+    
+#  The name of the database.xml file that is used for local or 
+#  unspecified transaction contexts.  This will be used when 
+#  the TransactionManager is not managing the transaction, such 
+#  as when the tx attribute is Supports (no client tx), 
+#  NotSupported, or Never.
+#  
+#  Specifies the configuration for obtaining database connections 
+#  and the mapping.xml schema which describes how beans map to 
+#  the database.
+#
+
+    Local_TX_Database   conf/default.cmp_local_tx_database.xml
+
+</Container>
+
+
+
+<!--
+<Container id="InstantDB CMP Container" ctype="CMP_ENTITY">
+    # InstantDB example
+    Global_TX_Database  conf/instantdb.cmp.global-database.xml
+    Local_TX_Database   conf/instantdb.cmp.local-database.xml
+</Container>
+-->
+
+
+
+<!--   
+<Container id="PostgreSQL CMP Container" ctype="CMP_ENTITY">
+    # PostgreSQL example
+    Global_TX_Database  conf/postgresql.cmp.global-database.xml
+    Local_TX_Database   conf/postgresql.cmp.local-database.xml
+</Container>
+-->
+
+
+
+<Container id="Default BMP Container" ctype="BMP_ENTITY">
+#  --------------------------------------------------------------
+#  The Default BMP Container has no customizable properties to  
+#  override.                                             
+#  --------------------------------------------------------------
+</Container>
+
+
+
+<Container id="Default Stateful Container" ctype="STATEFUL">
+#  The passivator is responsible for writing beans to disk 
+#  at passivation time. Different passivators can be used 
+#  by setting this property to the fully qualified class name
+#  of the PassivationStrategy implementation. The passivator
+#  is not responsible for invoking any callbacks or other 
+#  processing, its only responsibly is to write the bean state
+#  to disk.
+#
+#  Known implementations:
+#     org.apache.openejb.core.stateful.RAFPassivater
+#     org.apache.openejb.core.stateful.SimplePassivater
+
+    Passivator   org.apache.openejb.core.stateful.SimplePassivater
+    
+#  Specifies the time to wait between invocations. This 
+#  value is measured in minutes.  A value of 5 would 
+#  result in a time-out of 5 minutes between invocations.
+
+    TimeOut  20
+
+#  Specifies the size of the bean pools for this 
+#  stateful SessionBean container.
+
+    PoolSize  100
+
+#  Property name that specifies the number of instances
+#  to passivate at one time when doing bulk passivation.
+#  Must be less than the PoolSize.
+
+    BulkPassivate  50
+
+</Container>    
+
+
+
+<Container id="Default Stateless Container" ctype="STATELESS">
+#  Specifies the time to wait between invocations. This 
+#  value is measured in milliseconds.  A value of 5 would 
+#  result in a time-out of 5 milliseconds between invocations.
+#  A value of zero would mean no timeout.
+
+    TimeOut  0
+   
+#  Specifies the size of the bean pools for this 
+#  stateless SessionBean container.
+
+    PoolSize  10
+
+#  StrictPooling tells the container what to do when the pool 
+#  reaches it's maximum size and there are incoming requests
+#  that need instances.
+#
+#  With strict pooling, requests will have to wait for instances
+#  to become available.  The pool size will never grow beyond the  
+#  the set PoolSize value.
+#  
+#  Without strict pooling, the container will create temporary 
+#  instances to meet demand.  The instances will last for just one
+#  method invocation and then are removed.
+
+    StrictPooling  true
+
+</Container>
+
+<Connector id="Default JDBC Database" />
+
+<!-- 
+<Connector id="InstantDB Database">            
+    #  InstantDB example
+    #
+    #  This connector does work as is, the drivers are shipped
+    #  with every OpenEJB distribution and should be in the 
+    #  OPENEJB_HOME/lib directory.
+    #
+    #  Information on InstantDB can be found at:
+    #  http://www.openejb.org/InstantDB/docs/
+    
+    JdbcDriver   org.enhydra.instantdb.jdbc.idbDriver
+    JdbcUrl      jdbc:idb:conf/default.idb_database.conf
+    UserName     Admin
+    Password     pass
+</Connector>
+-->
+
+<!-- 
+<Connector id="MySQL Database">            
+    #  MySQL example
+    #
+    #  This connector will not work until you download the driver at:
+    #  http://www.mysql.com/downloads/api-jdbc-stable.html
+    
+    JdbcDriver  com.mysql.jdbc.Driver
+    JdbcUrl     jdbc:mysql://localhost/test
+    UserName    test
+</Connector>
+-->
+
+<!-- 
+<Connector id="Oracle Database">            
+    #  Oracle example
+    #
+    #  This connector will not work until you download the driver at:
+    #  http://otn.oracle.com/software/tech/java/sqlj_jdbc/content.html
+    JdbcDriver  com.mysql.jdbc.Driver
+    JdbcUrl     jdbc:oracle:thin:@localhost:1521:orcl
+    UserName    scott
+    Password    tiger
+</Connector>
+-->
+
+<!-- 
+<Connector id="PostgreSQL Database">            
+    #  PostgreSQL example
+    #
+    #  This connector will not work until you download the driver at:
+    #  http://jdbc.postgresql.org/download.html
+    JdbcDriver   org.postgresql.Driver
+    JdbcUrl      jdbc:postgresql://localhost/test
+    UserName     postgres
+    Password     pass
+</Connector>
+-->
+
+<!--
+#
+#  A registry listing of all the jars
+#  deployed with OpenEJB.
+#
+#  Jars in this path must contain an 
+#  openejb-jar.xml in the jar to be loaded
+#  
+#  You can create this file yourself or
+#  use the deploy tool.
+-->
+<Deployments dir="beans/" />
+
+</openejb>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You 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.
+
+-->
+
+<!-- $Rev: 476351 $ $Date: 2006-11-17 14:57:47 -0800 (Fri, 17 Nov 2006) $ -->
+
+<openejb>
+
+<Container id="Default CMP Container" ctype="CMP_ENTITY">
+#
+#  The default size of the method ready bean pools. 
+#  Every bean class gets its own pool of this size.
+#
+
+    PoolSize 100
+
+#  The name of the database.xml file that is used for global or 
+#  container managed transactions.  This will be used when the 
+#  TransactionManager is managing the transaction, such as when 
+#  the tx attribute is Supports (client has tx), RequiresNew, 
+#  Required or Manditory.
+#  
+#  Specifies the configuration for obtaining database connections
+#  and the mapping.xml schema which describes how beans map to 
+#  the database.
+#
+
+    Global_TX_Database  conf/default.cmp_global_tx_database.xml
+    
+#  The name of the database.xml file that is used for local or 
+#  unspecified transaction contexts.  This will be used when 
+#  the TransactionManager is not managing the transaction, such 
+#  as when the tx attribute is Supports (no client tx), 
+#  NotSupported, or Never.
+#  
+#  Specifies the configuration for obtaining database connections 
+#  and the mapping.xml schema which describes how beans map to 
+#  the database.
+#
+
+    Local_TX_Database   conf/default.cmp_local_tx_database.xml
+
+</Container>
+
+
+
+<!--
+<Container id="InstantDB CMP Container" ctype="CMP_ENTITY">
+    # InstantDB example
+    Global_TX_Database  conf/instantdb.cmp.global-database.xml
+    Local_TX_Database   conf/instantdb.cmp.local-database.xml
+</Container>
+-->
+
+
+
+<!--   
+<Container id="PostgreSQL CMP Container" ctype="CMP_ENTITY">
+    # PostgreSQL example
+    Global_TX_Database  conf/postgresql.cmp.global-database.xml
+    Local_TX_Database   conf/postgresql.cmp.local-database.xml
+</Container>
+-->
+
+
+
+<Container id="Default BMP Container" ctype="BMP_ENTITY">
+#  --------------------------------------------------------------
+#  The Default BMP Container has no customizable properties to  
+#  override.                                             
+#  --------------------------------------------------------------
+</Container>
+
+
+
+<Container id="Default Stateful Container" ctype="STATEFUL">
+#  The passivator is responsible for writing beans to disk 
+#  at passivation time. Different passivators can be used 
+#  by setting this property to the fully qualified class name
+#  of the PassivationStrategy implementation. The passivator
+#  is not responsible for invoking any callbacks or other 
+#  processing, its only responsibly is to write the bean state
+#  to disk.
+#
+#  Known implementations:
+#     org.apache.openejb.core.stateful.RAFPassivater
+#     org.apache.openejb.core.stateful.SimplePassivater
+
+    Passivator   org.apache.openejb.core.stateful.SimplePassivater
+    
+#  Specifies the time to wait between invocations. This 
+#  value is measured in minutes.  A value of 5 would 
+#  result in a time-out of 5 minutes between invocations.
+
+    TimeOut  20
+
+#  Specifies the size of the bean pools for this 
+#  stateful SessionBean container.
+
+    PoolSize  100
+
+#  Property name that specifies the number of instances
+#  to passivate at one time when doing bulk passivation.
+#  Must be less than the PoolSize.
+
+    BulkPassivate  50
+
+</Container>    
+
+
+
+<Container id="Default Stateless Container" ctype="STATELESS">
+#  Specifies the time to wait between invocations. This 
+#  value is measured in milliseconds.  A value of 5 would 
+#  result in a time-out of 5 milliseconds between invocations.
+#  A value of zero would mean no timeout.
+
+    TimeOut  0
+   
+#  Specifies the size of the bean pools for this 
+#  stateless SessionBean container.
+
+    PoolSize  10
+
+#  StrictPooling tells the container what to do when the pool 
+#  reaches it's maximum size and there are incoming requests
+#  that need instances.
+#
+#  With strict pooling, requests will have to wait for instances
+#  to become available.  The pool size will never grow beyond the  
+#  the set PoolSize value.
+#  
+#  Without strict pooling, the container will create temporary 
+#  instances to meet demand.  The instances will last for just one
+#  method invocation and then are removed.
+
+    StrictPooling  true
+
+</Container>
+
+<Connector id="Default JDBC Database" />
+
+<!-- 
+<Connector id="InstantDB Database">            
+    #  InstantDB example
+    #
+    #  This connector does work as is, the drivers are shipped
+    #  with every OpenEJB distribution and should be in the 
+    #  OPENEJB_HOME/lib directory.
+    #
+    #  Information on InstantDB can be found at:
+    #  http://www.openejb.org/InstantDB/docs/
+    
+    JdbcDriver   org.enhydra.instantdb.jdbc.idbDriver
+    JdbcUrl      jdbc:idb:conf/default.idb_database.conf
+    UserName     Admin
+    Password     pass
+</Connector>
+-->
+
+<!-- 
+<Connector id="MySQL Database">            
+    #  MySQL example
+    #
+    #  This connector will not work until you download the driver at:
+    #  http://www.mysql.com/downloads/api-jdbc-stable.html
+    
+    JdbcDriver  com.mysql.jdbc.Driver
+    JdbcUrl     jdbc:mysql://localhost/test
+    UserName    test
+</Connector>
+-->
+
+<!-- 
+<Connector id="Oracle Database">            
+    #  Oracle example
+    #
+    #  This connector will not work until you download the driver at:
+    #  http://otn.oracle.com/software/tech/java/sqlj_jdbc/content.html
+    JdbcDriver  com.mysql.jdbc.Driver
+    JdbcUrl     jdbc:oracle:thin:@localhost:1521:orcl
+    UserName    scott
+    Password    tiger
+</Connector>
+-->
+
+<!-- 
+<Connector id="PostgreSQL Database">            
+    #  PostgreSQL example
+    #
+    #  This connector will not work until you download the driver at:
+    #  http://jdbc.postgresql.org/download.html
+    JdbcDriver   org.postgresql.Driver
+    JdbcUrl      jdbc:postgresql://localhost/test
+    UserName     postgres
+    Password     pass
+</Connector>
+-->
+
+<!--
+#
+#  A registry listing of all the jars
+#  deployed with OpenEJB.
+#
+#  Jars in this path must contain an 
+#  openejb-jar.xml in the jar to be loaded
+#  
+#  You can create this file yourself or
+#  use the deploy tool.
+-->
+<Deployments dir="beans/" />
+
+</openejb>

Propchange: incubator/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/resources/openejb.conf
------------------------------------------------------------------------------
    svn:executable = *