exo-jcr SVN: r1606 - jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/value/cas.
by do-not-reply@jboss.org
Author: sergiykarpenko
Date: 2010-01-28 08:37:43 -0500 (Thu, 28 Jan 2010)
New Revision: 1606
Modified:
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/value/cas/JDBCValueContentAddressStorageImpl.java
Log:
EXOJCR-448: isRecordAlreadyExistsException fixed for DB2
Modified: jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/value/cas/JDBCValueContentAddressStorageImpl.java
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/value/cas/JDBCValueContentAddressStorageImpl.java 2010-01-28 12:14:13 UTC (rev 1605)
+++ jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/value/cas/JDBCValueContentAddressStorageImpl.java 2010-01-28 13:37:43 UTC (rev 1606)
@@ -88,9 +88,21 @@
/**
* MYSQL_PK_CONSTRAINT_DETECT.
*/
- private static final Pattern MYSQL_PK_CONSTRAINT_DETECT = Pattern.compile(MYSQL_PK_CONSTRAINT_DETECT_PATTERN,
- Pattern.CASE_INSENSITIVE);
+ private static final Pattern MYSQL_PK_CONSTRAINT_DETECT =
+ Pattern.compile(MYSQL_PK_CONSTRAINT_DETECT_PATTERN, Pattern.CASE_INSENSITIVE);
+ /**
+ * DB2_PK_CONSTRAINT_DETECT_PATTERN.
+ * %tableName% must be replaced with original table name before compile Pattern.
+ */
+ private static final String DB2_PK_CONSTRAINT_DETECT_PATTERN =
+ "(.*DB2 SQL error+.*SQLCODE: -803+.*SQLSTATE: 23505+.*%tableName%.*)+?";
+
+ /**
+ * DB2_PK_CONSTRAINT_DETECT.
+ */
+ private Pattern DB2_PK_CONSTRAINT_DETECT;
+
protected DataSource dataSource;
protected String tableName;
@@ -135,7 +147,7 @@
conn = dataSource.getConnection();
DatabaseMetaData dbMetaData = conn.getMetaData();
- String dialect = props.getProperty(JDBC_DIALECT_PARAM);
+ dialect = props.getProperty(JDBC_DIALECT_PARAM);
if (dialect == null)
{
dialect = DialectDetecter.detect(dbMetaData);
@@ -152,6 +164,11 @@
tableName = DEFAULT_TABLE_NAME;
}
+ // make error pattern for DB2
+ String pattern = DB2_PK_CONSTRAINT_DETECT_PATTERN.replaceAll("%tableName%", tableName);
+
+ DB2_PK_CONSTRAINT_DETECT = Pattern.compile(pattern, Pattern.CASE_INSENSITIVE);
+
sqlConstraintPK = tableName + "_PK";
sqlVCASIDX = tableName + "_IDX";
@@ -300,6 +317,16 @@
return true;
}
+ // check DB2 dialect
+
+ if (DBConstants.DB_DIALECT_DB2.equalsIgnoreCase(dialect))
+ {
+ if (DB2_PK_CONSTRAINT_DETECT.matcher(err).find())
+ {
+ return true;
+ }
+ }
+
// NOTICE! As an additional check we may ask the database for property currently processed in
// VCAS
// and tell true if the property already exists only.
14 years, 3 months
exo-jcr SVN: r1605 - jcr/trunk/exo.jcr.component.core/src/main/resources/conf/storage.
by do-not-reply@jboss.org
Author: pnedonosko
Date: 2010-01-28 07:14:13 -0500 (Thu, 28 Jan 2010)
New Revision: 1605
Added:
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/storage/jcr-sjdbc.sybase.sql
Log:
EXOJCR-453 Sybase single-db dialect
Added: jcr/trunk/exo.jcr.component.core/src/main/resources/conf/storage/jcr-sjdbc.sybase.sql
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/resources/conf/storage/jcr-sjdbc.sybase.sql (rev 0)
+++ jcr/trunk/exo.jcr.component.core/src/main/resources/conf/storage/jcr-sjdbc.sybase.sql 2010-01-28 12:14:13 UTC (rev 1605)
@@ -0,0 +1,78 @@
+/* --Before database will be created we have to create 'disk' with enough amount of free space
+use master
+go
+
+disk init name = 'EXOJCR',
+physname = '/opt/Sybase/ASELE/data/exojcr',
+size = '400M',
+cntrltype = 0
+go
+
+sp_deviceattr 'EXOJCR', dsync, true
+go
+
+-- Creating database 'portal', 'jcr', 'jcr2'
+use master
+go
+
+create database portal on EXOJCR
+go
+create database jcr on EXOJCR
+go
+create database jcr2 on EXOJCR
+go
+
+-- Enable indexes in database turning on 'select into' option
+use master
+go
+sp_dboption portal, 'select into', true
+go
+sp_dboption jcr, 'select into', true
+go
+sp_dboption jcr2, 'select into', true
+go
+
+-- NOTE: User creating tables we must have a DBO rights for the target database
+-- NOTE: Index maximum length is 600 bytes
+-- NOTE: VARBINARY storage size is the actual size of the data values entered, not the column length.
+-- NOTE: set number of user connection according your pool configuration: sp_configure "number of user connection", 200
+*/
+
+CREATE TABLE JCR_SCONTAINER(
+ VERSION VARCHAR(96) NOT NULL,
+ CONSTRAINT JCR_PK_MCONTAINER PRIMARY KEY(VERSION)
+);
+CREATE TABLE JCR_SITEM(
+ ID VARCHAR(96) NOT NULL,
+ PARENT_ID VARCHAR(96) NOT NULL,
+ NAME VARCHAR(512) NOT NULL,
+ VERSION INT NOT NULL,
+ CONTAINER_NAME VARCHAR(96) NOT NULL,
+ I_CLASS INT NOT NULL,
+ I_INDEX INT NOT NULL,
+ N_ORDER_NUM INT NULL,
+ P_TYPE INT NULL,
+ P_MULTIVALUED INT NULL,
+ CONSTRAINT JCR_PK_SITEM PRIMARY KEY(ID),
+ CONSTRAINT JCR_FK_SITEM_PARENT FOREIGN KEY(PARENT_ID) REFERENCES JCR_SITEM(ID)
+);
+CREATE UNIQUE INDEX JCR_IDX_SITEM_PARENT ON JCR_SITEM(CONTAINER_NAME, PARENT_ID, NAME, I_INDEX, I_CLASS, VERSION DESC);
+CREATE UNIQUE INDEX JCR_IDX_SITEM_PARENT_NAME ON JCR_SITEM(I_CLASS, CONTAINER_NAME, PARENT_ID, NAME, I_INDEX, VERSION DESC);
+CREATE UNIQUE INDEX JCR_IDX_SITEM_PARENT_ID ON JCR_SITEM(I_CLASS, CONTAINER_NAME, PARENT_ID, ID, VERSION DESC);
+CREATE TABLE JCR_SVALUE(
+ ID BIGINT IDENTITY NOT NULL,
+ DATA IMAGE NULL,
+ ORDER_NUM INT NOT NULL,
+ PROPERTY_ID VARCHAR(96) NOT NULL,
+ STORAGE_DESC VARCHAR(512) NULL,
+ CONSTRAINT JCR_PK_SVALUE PRIMARY KEY(ID),
+ CONSTRAINT JCR_FK_SVALUE_PROPERTY FOREIGN KEY(PROPERTY_ID) REFERENCES JCR_SITEM(ID)
+);
+CREATE UNIQUE INDEX JCR_IDX_SVALUE_PROPERTY ON JCR_SVALUE(PROPERTY_ID, ORDER_NUM);
+CREATE TABLE JCR_SREF(
+ NODE_ID VARCHAR(96) NOT NULL,
+ PROPERTY_ID VARCHAR(96) NOT NULL,
+ ORDER_NUM INT NOT NULL,
+ CONSTRAINT JCR_PK_SREF PRIMARY KEY(NODE_ID, PROPERTY_ID, ORDER_NUM)
+);
+CREATE UNIQUE INDEX JCR_IDX_SREF_PROPERTY ON JCR_SREF(PROPERTY_ID, ORDER_NUM);
\ No newline at end of file
14 years, 3 months
exo-jcr SVN: r1604 - jcr/trunk/exo.jcr.component.core/src/main/resources/conf/storage.
by do-not-reply@jboss.org
Author: pnedonosko
Date: 2010-01-28 07:03:22 -0500 (Thu, 28 Jan 2010)
New Revision: 1604
Modified:
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/storage/jcr-mjdbc.sybase.sql
Log:
EXOJCR-432 Sybase value datatype IMAGE
Modified: jcr/trunk/exo.jcr.component.core/src/main/resources/conf/storage/jcr-mjdbc.sybase.sql
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/resources/conf/storage/jcr-mjdbc.sybase.sql 2010-01-28 11:00:52 UTC (rev 1603)
+++ jcr/trunk/exo.jcr.component.core/src/main/resources/conf/storage/jcr-mjdbc.sybase.sql 2010-01-28 12:03:22 UTC (rev 1604)
@@ -60,7 +60,7 @@
CREATE UNIQUE INDEX JCR_IDX_MITEM_PARENT_ID ON JCR_MITEM(I_CLASS, PARENT_ID, ID, VERSION DESC);
CREATE TABLE JCR_MVALUE(
ID BIGINT IDENTITY NOT NULL,
- DATA VARBINARY(255) NULL,
+ DATA IMAGE NULL,
ORDER_NUM INT NOT NULL,
PROPERTY_ID VARCHAR(96) NOT NULL,
STORAGE_DESC VARCHAR(512) NULL,
14 years, 3 months
exo-jcr SVN: r1603 - jcr/trunk/exo.jcr.component.core/src/main/resources/conf/storage.
by do-not-reply@jboss.org
Author: pnedonosko
Date: 2010-01-28 06:00:52 -0500 (Thu, 28 Jan 2010)
New Revision: 1603
Modified:
jcr/trunk/exo.jcr.component.core/src/main/resources/conf/storage/jcr-mjdbc.sybase.sql
Log:
EXOJCR-432 Sybase script fix for NULL allowing values
Modified: jcr/trunk/exo.jcr.component.core/src/main/resources/conf/storage/jcr-mjdbc.sybase.sql
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/resources/conf/storage/jcr-mjdbc.sybase.sql 2010-01-28 10:19:01 UTC (rev 1602)
+++ jcr/trunk/exo.jcr.component.core/src/main/resources/conf/storage/jcr-mjdbc.sybase.sql 2010-01-28 11:00:52 UTC (rev 1603)
@@ -49,9 +49,9 @@
VERSION INT NOT NULL,
I_CLASS INT NOT NULL,
I_INDEX INT NOT NULL,
- N_ORDER_NUM INT,
- P_TYPE INT,
- P_MULTIVALUED INT,
+ N_ORDER_NUM INT NULL,
+ P_TYPE INT NULL,
+ P_MULTIVALUED INT NULL,
CONSTRAINT JCR_PK_MITEM PRIMARY KEY(ID),
CONSTRAINT JCR_FK_MITEM_PARENT FOREIGN KEY(PARENT_ID) REFERENCES JCR_MITEM(ID)
);
@@ -60,10 +60,10 @@
CREATE UNIQUE INDEX JCR_IDX_MITEM_PARENT_ID ON JCR_MITEM(I_CLASS, PARENT_ID, ID, VERSION DESC);
CREATE TABLE JCR_MVALUE(
ID BIGINT IDENTITY NOT NULL,
- DATA VARBINARY(255),
+ DATA VARBINARY(255) NULL,
ORDER_NUM INT NOT NULL,
PROPERTY_ID VARCHAR(96) NOT NULL,
- STORAGE_DESC VARCHAR(512),
+ STORAGE_DESC VARCHAR(512) NULL,
CONSTRAINT JCR_PK_MVALUE PRIMARY KEY(ID),
CONSTRAINT JCR_FK_MVALUE_PROPERTY FOREIGN KEY(PROPERTY_ID) REFERENCES JCR_MITEM(ID)
);
14 years, 3 months
exo-jcr SVN: r1602 - jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/value/cas.
by do-not-reply@jboss.org
Author: areshetnyak
Date: 2010-01-28 05:19:01 -0500 (Thu, 28 Jan 2010)
New Revision: 1602
Modified:
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/value/cas/JDBCValueContentAddressStorageImpl.java
Log:
EXOJCR-403 : remove setting generic dialect in JDBCValueContentAddressStorageImpl
Modified: jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/value/cas/JDBCValueContentAddressStorageImpl.java
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/value/cas/JDBCValueContentAddressStorageImpl.java 2010-01-28 09:26:32 UTC (rev 1601)
+++ jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/value/cas/JDBCValueContentAddressStorageImpl.java 2010-01-28 10:19:01 UTC (rev 1602)
@@ -141,8 +141,6 @@
dialect = DialectDetecter.detect(dbMetaData);
}
- dialect = props.getProperty(JDBC_DIALECT_PARAM, DBConstants.DB_DIALECT_GENERIC);
-
// init database metadata
final String tn = props.getProperty(TABLE_NAME_PARAM);
if (tn != null)
14 years, 3 months
exo-jcr SVN: r1601 - jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased.
by do-not-reply@jboss.org
Author: nzamosenchuk
Date: 2010-01-28 04:26:32 -0500 (Thu, 28 Jan 2010)
New Revision: 1601
Added:
jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1-ws.xml
jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1-ws1.xml
jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1-ws2.xml
jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1-ws3.xml
jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1tck-ws.xml
jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1tck-ws1.xml
jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1tck-ws2.xml
jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1-ws.xml
jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1-ws1.xml
jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1-ws2.xml
jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1-ws3.xml
jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1tck-ws.xml
jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1tck-ws1.xml
jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1tck-ws2.xml
jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1-ws.xml
jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1-ws1.xml
jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1-ws2.xml
jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1-ws3.xml
jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1tck-ws.xml
jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1tck-ws1.xml
jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1tck-ws2.xml
Modified:
jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/test-jcr-config.xml
Log:
EXOJCR-434: Added temporary configuration with different tcp mcast ports for workspaces
Added: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1-ws.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1-ws.xml (rev 0)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1-ws.xml 2010-01-28 09:26:32 UTC (rev 1601)
@@ -0,0 +1,33 @@
+<config>
+ <TCP bind_addr="127.0.0.1" start_port="9600"
+ loopback="true" recv_buf_size="20000000" send_buf_size="640000"
+ discard_incompatible_packets="true" max_bundle_size="64000"
+ max_bundle_timeout="30" use_incoming_packet_handler="true"
+ enable_bundling="false" use_send_queues="false" sock_conn_timeout="300"
+ skip_suspected_members="true" use_concurrent_stack="true"
+ thread_pool.enabled="true" thread_pool.min_threads="1"
+ thread_pool.max_threads="25" thread_pool.keep_alive_time="5000"
+ thread_pool.queue_enabled="false" thread_pool.queue_max_size="100"
+ thread_pool.rejection_policy="run" oob_thread_pool.enabled="true"
+ oob_thread_pool.min_threads="1" oob_thread_pool.max_threads="8"
+ oob_thread_pool.keep_alive_time="5000" oob_thread_pool.queue_enabled="false"
+ oob_thread_pool.queue_max_size="100" oob_thread_pool.rejection_policy="run" />
+ <MPING timeout="2000" num_initial_members="2"
+ mcast_port="34541" bind_addr="127.0.0.1"
+ mcast_addr="224.0.0.1" />
+
+ <MERGE2 max_interval="30000" min_interval="10000" />
+ <FD_SOCK />
+ <FD max_tries="5" shun="true" timeout="10000" />
+ <VERIFY_SUSPECT timeout="1500" />
+ <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0"
+ retransmit_timeout="300,600,1200,2400,4800" use_mcast_xmit="false" />
+ <UNICAST timeout="300,600,1200,2400,3600" />
+ <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000"
+ stability_delay="1000" />
+ <pbcast.GMS join_timeout="5000" print_local_addr="true"
+ shun="false" view_ack_collection_timeout="5000" view_bundling="true" />
+ <FRAG2 frag_size="60000" />
+ <pbcast.STREAMING_STATE_TRANSFER />
+ <pbcast.FLUSH timeout="0" />
+</config>
\ No newline at end of file
Property changes on: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1-ws.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1-ws1.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1-ws1.xml (rev 0)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1-ws1.xml 2010-01-28 09:26:32 UTC (rev 1601)
@@ -0,0 +1,33 @@
+<config>
+ <TCP bind_addr="127.0.0.1" start_port="9610"
+ loopback="true" recv_buf_size="20000000" send_buf_size="640000"
+ discard_incompatible_packets="true" max_bundle_size="64000"
+ max_bundle_timeout="30" use_incoming_packet_handler="true"
+ enable_bundling="false" use_send_queues="false" sock_conn_timeout="300"
+ skip_suspected_members="true" use_concurrent_stack="true"
+ thread_pool.enabled="true" thread_pool.min_threads="1"
+ thread_pool.max_threads="25" thread_pool.keep_alive_time="5000"
+ thread_pool.queue_enabled="false" thread_pool.queue_max_size="100"
+ thread_pool.rejection_policy="run" oob_thread_pool.enabled="true"
+ oob_thread_pool.min_threads="1" oob_thread_pool.max_threads="8"
+ oob_thread_pool.keep_alive_time="5000" oob_thread_pool.queue_enabled="false"
+ oob_thread_pool.queue_max_size="100" oob_thread_pool.rejection_policy="run" />
+ <MPING timeout="2000" num_initial_members="2"
+ mcast_port="34542" bind_addr="127.0.0.1"
+ mcast_addr="224.0.0.1" />
+
+ <MERGE2 max_interval="30000" min_interval="10000" />
+ <FD_SOCK />
+ <FD max_tries="5" shun="true" timeout="10000" />
+ <VERIFY_SUSPECT timeout="1500" />
+ <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0"
+ retransmit_timeout="300,600,1200,2400,4800" use_mcast_xmit="false" />
+ <UNICAST timeout="300,600,1200,2400,3600" />
+ <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000"
+ stability_delay="1000" />
+ <pbcast.GMS join_timeout="5000" print_local_addr="true"
+ shun="false" view_ack_collection_timeout="5000" view_bundling="true" />
+ <FRAG2 frag_size="60000" />
+ <pbcast.STREAMING_STATE_TRANSFER />
+ <pbcast.FLUSH timeout="0" />
+</config>
\ No newline at end of file
Property changes on: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1-ws1.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1-ws2.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1-ws2.xml (rev 0)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1-ws2.xml 2010-01-28 09:26:32 UTC (rev 1601)
@@ -0,0 +1,33 @@
+<config>
+ <TCP bind_addr="127.0.0.1" start_port="9620"
+ loopback="true" recv_buf_size="20000000" send_buf_size="640000"
+ discard_incompatible_packets="true" max_bundle_size="64000"
+ max_bundle_timeout="30" use_incoming_packet_handler="true"
+ enable_bundling="false" use_send_queues="false" sock_conn_timeout="300"
+ skip_suspected_members="true" use_concurrent_stack="true"
+ thread_pool.enabled="true" thread_pool.min_threads="1"
+ thread_pool.max_threads="25" thread_pool.keep_alive_time="5000"
+ thread_pool.queue_enabled="false" thread_pool.queue_max_size="100"
+ thread_pool.rejection_policy="run" oob_thread_pool.enabled="true"
+ oob_thread_pool.min_threads="1" oob_thread_pool.max_threads="8"
+ oob_thread_pool.keep_alive_time="5000" oob_thread_pool.queue_enabled="false"
+ oob_thread_pool.queue_max_size="100" oob_thread_pool.rejection_policy="run" />
+ <MPING timeout="2000" num_initial_members="2"
+ mcast_port="34543" bind_addr="127.0.0.1"
+ mcast_addr="224.0.0.1" />
+
+ <MERGE2 max_interval="30000" min_interval="10000" />
+ <FD_SOCK />
+ <FD max_tries="5" shun="true" timeout="10000" />
+ <VERIFY_SUSPECT timeout="1500" />
+ <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0"
+ retransmit_timeout="300,600,1200,2400,4800" use_mcast_xmit="false" />
+ <UNICAST timeout="300,600,1200,2400,3600" />
+ <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000"
+ stability_delay="1000" />
+ <pbcast.GMS join_timeout="5000" print_local_addr="true"
+ shun="false" view_ack_collection_timeout="5000" view_bundling="true" />
+ <FRAG2 frag_size="60000" />
+ <pbcast.STREAMING_STATE_TRANSFER />
+ <pbcast.FLUSH timeout="0" />
+</config>
\ No newline at end of file
Property changes on: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1-ws2.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1-ws3.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1-ws3.xml (rev 0)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1-ws3.xml 2010-01-28 09:26:32 UTC (rev 1601)
@@ -0,0 +1,33 @@
+<config>
+ <TCP bind_addr="127.0.0.1" start_port="9630"
+ loopback="true" recv_buf_size="20000000" send_buf_size="640000"
+ discard_incompatible_packets="true" max_bundle_size="64000"
+ max_bundle_timeout="30" use_incoming_packet_handler="true"
+ enable_bundling="false" use_send_queues="false" sock_conn_timeout="300"
+ skip_suspected_members="true" use_concurrent_stack="true"
+ thread_pool.enabled="true" thread_pool.min_threads="1"
+ thread_pool.max_threads="25" thread_pool.keep_alive_time="5000"
+ thread_pool.queue_enabled="false" thread_pool.queue_max_size="100"
+ thread_pool.rejection_policy="run" oob_thread_pool.enabled="true"
+ oob_thread_pool.min_threads="1" oob_thread_pool.max_threads="8"
+ oob_thread_pool.keep_alive_time="5000" oob_thread_pool.queue_enabled="false"
+ oob_thread_pool.queue_max_size="100" oob_thread_pool.rejection_policy="run" />
+ <MPING timeout="2000" num_initial_members="2"
+ mcast_port="34544" bind_addr="127.0.0.1"
+ mcast_addr="224.0.0.1" />
+
+ <MERGE2 max_interval="30000" min_interval="10000" />
+ <FD_SOCK />
+ <FD max_tries="5" shun="true" timeout="10000" />
+ <VERIFY_SUSPECT timeout="1500" />
+ <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0"
+ retransmit_timeout="300,600,1200,2400,4800" use_mcast_xmit="false" />
+ <UNICAST timeout="300,600,1200,2400,3600" />
+ <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000"
+ stability_delay="1000" />
+ <pbcast.GMS join_timeout="5000" print_local_addr="true"
+ shun="false" view_ack_collection_timeout="5000" view_bundling="true" />
+ <FRAG2 frag_size="60000" />
+ <pbcast.STREAMING_STATE_TRANSFER />
+ <pbcast.FLUSH timeout="0" />
+</config>
\ No newline at end of file
Property changes on: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1-ws3.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1tck-ws.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1tck-ws.xml (rev 0)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1tck-ws.xml 2010-01-28 09:26:32 UTC (rev 1601)
@@ -0,0 +1,33 @@
+<config>
+ <TCP bind_addr="127.0.0.1" start_port="9640"
+ loopback="true" recv_buf_size="20000000" send_buf_size="640000"
+ discard_incompatible_packets="true" max_bundle_size="64000"
+ max_bundle_timeout="30" use_incoming_packet_handler="true"
+ enable_bundling="false" use_send_queues="false" sock_conn_timeout="300"
+ skip_suspected_members="true" use_concurrent_stack="true"
+ thread_pool.enabled="true" thread_pool.min_threads="1"
+ thread_pool.max_threads="25" thread_pool.keep_alive_time="5000"
+ thread_pool.queue_enabled="false" thread_pool.queue_max_size="100"
+ thread_pool.rejection_policy="run" oob_thread_pool.enabled="true"
+ oob_thread_pool.min_threads="1" oob_thread_pool.max_threads="8"
+ oob_thread_pool.keep_alive_time="5000" oob_thread_pool.queue_enabled="false"
+ oob_thread_pool.queue_max_size="100" oob_thread_pool.rejection_policy="run" />
+ <MPING timeout="2000" num_initial_members="2"
+ mcast_port="34545" bind_addr="127.0.0.1"
+ mcast_addr="224.0.0.1" />
+
+ <MERGE2 max_interval="30000" min_interval="10000" />
+ <FD_SOCK />
+ <FD max_tries="5" shun="true" timeout="10000" />
+ <VERIFY_SUSPECT timeout="1500" />
+ <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0"
+ retransmit_timeout="300,600,1200,2400,4800" use_mcast_xmit="false" />
+ <UNICAST timeout="300,600,1200,2400,3600" />
+ <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000"
+ stability_delay="1000" />
+ <pbcast.GMS join_timeout="5000" print_local_addr="true"
+ shun="false" view_ack_collection_timeout="5000" view_bundling="true" />
+ <FRAG2 frag_size="60000" />
+ <pbcast.STREAMING_STATE_TRANSFER />
+ <pbcast.FLUSH timeout="0" />
+</config>
\ No newline at end of file
Property changes on: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1tck-ws.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1tck-ws1.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1tck-ws1.xml (rev 0)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1tck-ws1.xml 2010-01-28 09:26:32 UTC (rev 1601)
@@ -0,0 +1,33 @@
+<config>
+ <TCP bind_addr="127.0.0.1" start_port="9650"
+ loopback="true" recv_buf_size="20000000" send_buf_size="640000"
+ discard_incompatible_packets="true" max_bundle_size="64000"
+ max_bundle_timeout="30" use_incoming_packet_handler="true"
+ enable_bundling="false" use_send_queues="false" sock_conn_timeout="300"
+ skip_suspected_members="true" use_concurrent_stack="true"
+ thread_pool.enabled="true" thread_pool.min_threads="1"
+ thread_pool.max_threads="25" thread_pool.keep_alive_time="5000"
+ thread_pool.queue_enabled="false" thread_pool.queue_max_size="100"
+ thread_pool.rejection_policy="run" oob_thread_pool.enabled="true"
+ oob_thread_pool.min_threads="1" oob_thread_pool.max_threads="8"
+ oob_thread_pool.keep_alive_time="5000" oob_thread_pool.queue_enabled="false"
+ oob_thread_pool.queue_max_size="100" oob_thread_pool.rejection_policy="run" />
+ <MPING timeout="2000" num_initial_members="2"
+ mcast_port="34546" bind_addr="127.0.0.1"
+ mcast_addr="224.0.0.1" />
+
+ <MERGE2 max_interval="30000" min_interval="10000" />
+ <FD_SOCK />
+ <FD max_tries="5" shun="true" timeout="10000" />
+ <VERIFY_SUSPECT timeout="1500" />
+ <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0"
+ retransmit_timeout="300,600,1200,2400,4800" use_mcast_xmit="false" />
+ <UNICAST timeout="300,600,1200,2400,3600" />
+ <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000"
+ stability_delay="1000" />
+ <pbcast.GMS join_timeout="5000" print_local_addr="true"
+ shun="false" view_ack_collection_timeout="5000" view_bundling="true" />
+ <FRAG2 frag_size="60000" />
+ <pbcast.STREAMING_STATE_TRANSFER />
+ <pbcast.FLUSH timeout="0" />
+</config>
\ No newline at end of file
Property changes on: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1tck-ws1.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1tck-ws2.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1tck-ws2.xml (rev 0)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1tck-ws2.xml 2010-01-28 09:26:32 UTC (rev 1601)
@@ -0,0 +1,33 @@
+<config>
+ <TCP bind_addr="127.0.0.1" start_port="9660"
+ loopback="true" recv_buf_size="20000000" send_buf_size="640000"
+ discard_incompatible_packets="true" max_bundle_size="64000"
+ max_bundle_timeout="30" use_incoming_packet_handler="true"
+ enable_bundling="false" use_send_queues="false" sock_conn_timeout="300"
+ skip_suspected_members="true" use_concurrent_stack="true"
+ thread_pool.enabled="true" thread_pool.min_threads="1"
+ thread_pool.max_threads="25" thread_pool.keep_alive_time="5000"
+ thread_pool.queue_enabled="false" thread_pool.queue_max_size="100"
+ thread_pool.rejection_policy="run" oob_thread_pool.enabled="true"
+ oob_thread_pool.min_threads="1" oob_thread_pool.max_threads="8"
+ oob_thread_pool.keep_alive_time="5000" oob_thread_pool.queue_enabled="false"
+ oob_thread_pool.queue_max_size="100" oob_thread_pool.rejection_policy="run" />
+ <MPING timeout="2000" num_initial_members="2"
+ mcast_port="34547" bind_addr="127.0.0.1"
+ mcast_addr="224.0.0.1" />
+
+ <MERGE2 max_interval="30000" min_interval="10000" />
+ <FD_SOCK />
+ <FD max_tries="5" shun="true" timeout="10000" />
+ <VERIFY_SUSPECT timeout="1500" />
+ <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0"
+ retransmit_timeout="300,600,1200,2400,4800" use_mcast_xmit="false" />
+ <UNICAST timeout="300,600,1200,2400,3600" />
+ <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000"
+ stability_delay="1000" />
+ <pbcast.GMS join_timeout="5000" print_local_addr="true"
+ shun="false" view_ack_collection_timeout="5000" view_bundling="true" />
+ <FRAG2 frag_size="60000" />
+ <pbcast.STREAMING_STATE_TRANSFER />
+ <pbcast.FLUSH timeout="0" />
+</config>
\ No newline at end of file
Property changes on: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-data-db1tck-ws2.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1-ws.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1-ws.xml (rev 0)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1-ws.xml 2010-01-28 09:26:32 UTC (rev 1601)
@@ -0,0 +1,33 @@
+<config>
+ <TCP bind_addr="127.0.0.1" start_port="9900"
+ loopback="true" recv_buf_size="20000000" send_buf_size="640000"
+ discard_incompatible_packets="true" max_bundle_size="64000"
+ max_bundle_timeout="30" use_incoming_packet_handler="true"
+ enable_bundling="false" use_send_queues="false" sock_conn_timeout="300"
+ skip_suspected_members="true" use_concurrent_stack="true"
+ thread_pool.enabled="true" thread_pool.min_threads="1"
+ thread_pool.max_threads="25" thread_pool.keep_alive_time="5000"
+ thread_pool.queue_enabled="false" thread_pool.queue_max_size="100"
+ thread_pool.rejection_policy="run" oob_thread_pool.enabled="true"
+ oob_thread_pool.min_threads="1" oob_thread_pool.max_threads="8"
+ oob_thread_pool.keep_alive_time="5000" oob_thread_pool.queue_enabled="false"
+ oob_thread_pool.queue_max_size="100" oob_thread_pool.rejection_policy="run" />
+ <MPING timeout="2000" num_initial_members="2"
+ mcast_port="34581" bind_addr="127.0.0.1"
+ mcast_addr="224.0.0.1" />
+
+ <MERGE2 max_interval="30000" min_interval="10000" />
+ <FD_SOCK />
+ <FD max_tries="5" shun="true" timeout="10000" />
+ <VERIFY_SUSPECT timeout="1500" />
+ <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0"
+ retransmit_timeout="300,600,1200,2400,4800" use_mcast_xmit="false" />
+ <UNICAST timeout="300,600,1200,2400,3600" />
+ <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000"
+ stability_delay="1000" />
+ <pbcast.GMS join_timeout="5000" print_local_addr="true"
+ shun="false" view_ack_collection_timeout="5000" view_bundling="true" />
+ <FRAG2 frag_size="60000" />
+ <pbcast.STREAMING_STATE_TRANSFER />
+ <pbcast.FLUSH timeout="0" />
+</config>
\ No newline at end of file
Property changes on: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1-ws.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1-ws1.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1-ws1.xml (rev 0)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1-ws1.xml 2010-01-28 09:26:32 UTC (rev 1601)
@@ -0,0 +1,33 @@
+<config>
+ <TCP bind_addr="127.0.0.1" start_port="9910"
+ loopback="true" recv_buf_size="20000000" send_buf_size="640000"
+ discard_incompatible_packets="true" max_bundle_size="64000"
+ max_bundle_timeout="30" use_incoming_packet_handler="true"
+ enable_bundling="false" use_send_queues="false" sock_conn_timeout="300"
+ skip_suspected_members="true" use_concurrent_stack="true"
+ thread_pool.enabled="true" thread_pool.min_threads="1"
+ thread_pool.max_threads="25" thread_pool.keep_alive_time="5000"
+ thread_pool.queue_enabled="false" thread_pool.queue_max_size="100"
+ thread_pool.rejection_policy="run" oob_thread_pool.enabled="true"
+ oob_thread_pool.min_threads="1" oob_thread_pool.max_threads="8"
+ oob_thread_pool.keep_alive_time="5000" oob_thread_pool.queue_enabled="false"
+ oob_thread_pool.queue_max_size="100" oob_thread_pool.rejection_policy="run" />
+ <MPING timeout="2000" num_initial_members="2"
+ mcast_port="34582" bind_addr="127.0.0.1"
+ mcast_addr="224.0.0.1" />
+
+ <MERGE2 max_interval="30000" min_interval="10000" />
+ <FD_SOCK />
+ <FD max_tries="5" shun="true" timeout="10000" />
+ <VERIFY_SUSPECT timeout="1500" />
+ <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0"
+ retransmit_timeout="300,600,1200,2400,4800" use_mcast_xmit="false" />
+ <UNICAST timeout="300,600,1200,2400,3600" />
+ <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000"
+ stability_delay="1000" />
+ <pbcast.GMS join_timeout="5000" print_local_addr="true"
+ shun="false" view_ack_collection_timeout="5000" view_bundling="true" />
+ <FRAG2 frag_size="60000" />
+ <pbcast.STREAMING_STATE_TRANSFER />
+ <pbcast.FLUSH timeout="0" />
+</config>
\ No newline at end of file
Property changes on: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1-ws1.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1-ws2.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1-ws2.xml (rev 0)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1-ws2.xml 2010-01-28 09:26:32 UTC (rev 1601)
@@ -0,0 +1,33 @@
+<config>
+ <TCP bind_addr="127.0.0.1" start_port="9920"
+ loopback="true" recv_buf_size="20000000" send_buf_size="640000"
+ discard_incompatible_packets="true" max_bundle_size="64000"
+ max_bundle_timeout="30" use_incoming_packet_handler="true"
+ enable_bundling="false" use_send_queues="false" sock_conn_timeout="300"
+ skip_suspected_members="true" use_concurrent_stack="true"
+ thread_pool.enabled="true" thread_pool.min_threads="1"
+ thread_pool.max_threads="25" thread_pool.keep_alive_time="5000"
+ thread_pool.queue_enabled="false" thread_pool.queue_max_size="100"
+ thread_pool.rejection_policy="run" oob_thread_pool.enabled="true"
+ oob_thread_pool.min_threads="1" oob_thread_pool.max_threads="8"
+ oob_thread_pool.keep_alive_time="5000" oob_thread_pool.queue_enabled="false"
+ oob_thread_pool.queue_max_size="100" oob_thread_pool.rejection_policy="run" />
+ <MPING timeout="2000" num_initial_members="2"
+ mcast_port="34583" bind_addr="127.0.0.1"
+ mcast_addr="224.0.0.1" />
+
+ <MERGE2 max_interval="30000" min_interval="10000" />
+ <FD_SOCK />
+ <FD max_tries="5" shun="true" timeout="10000" />
+ <VERIFY_SUSPECT timeout="1500" />
+ <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0"
+ retransmit_timeout="300,600,1200,2400,4800" use_mcast_xmit="false" />
+ <UNICAST timeout="300,600,1200,2400,3600" />
+ <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000"
+ stability_delay="1000" />
+ <pbcast.GMS join_timeout="5000" print_local_addr="true"
+ shun="false" view_ack_collection_timeout="5000" view_bundling="true" />
+ <FRAG2 frag_size="60000" />
+ <pbcast.STREAMING_STATE_TRANSFER />
+ <pbcast.FLUSH timeout="0" />
+</config>
\ No newline at end of file
Property changes on: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1-ws2.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1-ws3.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1-ws3.xml (rev 0)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1-ws3.xml 2010-01-28 09:26:32 UTC (rev 1601)
@@ -0,0 +1,33 @@
+<config>
+ <TCP bind_addr="127.0.0.1" start_port="9930"
+ loopback="true" recv_buf_size="20000000" send_buf_size="640000"
+ discard_incompatible_packets="true" max_bundle_size="64000"
+ max_bundle_timeout="30" use_incoming_packet_handler="true"
+ enable_bundling="false" use_send_queues="false" sock_conn_timeout="300"
+ skip_suspected_members="true" use_concurrent_stack="true"
+ thread_pool.enabled="true" thread_pool.min_threads="1"
+ thread_pool.max_threads="25" thread_pool.keep_alive_time="5000"
+ thread_pool.queue_enabled="false" thread_pool.queue_max_size="100"
+ thread_pool.rejection_policy="run" oob_thread_pool.enabled="true"
+ oob_thread_pool.min_threads="1" oob_thread_pool.max_threads="8"
+ oob_thread_pool.keep_alive_time="5000" oob_thread_pool.queue_enabled="false"
+ oob_thread_pool.queue_max_size="100" oob_thread_pool.rejection_policy="run" />
+ <MPING timeout="2000" num_initial_members="2"
+ mcast_port="34584" bind_addr="127.0.0.1"
+ mcast_addr="224.0.0.1" />
+
+ <MERGE2 max_interval="30000" min_interval="10000" />
+ <FD_SOCK />
+ <FD max_tries="5" shun="true" timeout="10000" />
+ <VERIFY_SUSPECT timeout="1500" />
+ <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0"
+ retransmit_timeout="300,600,1200,2400,4800" use_mcast_xmit="false" />
+ <UNICAST timeout="300,600,1200,2400,3600" />
+ <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000"
+ stability_delay="1000" />
+ <pbcast.GMS join_timeout="5000" print_local_addr="true"
+ shun="false" view_ack_collection_timeout="5000" view_bundling="true" />
+ <FRAG2 frag_size="60000" />
+ <pbcast.STREAMING_STATE_TRANSFER />
+ <pbcast.FLUSH timeout="0" />
+</config>
\ No newline at end of file
Property changes on: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1-ws3.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1tck-ws.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1tck-ws.xml (rev 0)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1tck-ws.xml 2010-01-28 09:26:32 UTC (rev 1601)
@@ -0,0 +1,33 @@
+<config>
+ <TCP bind_addr="127.0.0.1" start_port="9940"
+ loopback="true" recv_buf_size="20000000" send_buf_size="640000"
+ discard_incompatible_packets="true" max_bundle_size="64000"
+ max_bundle_timeout="30" use_incoming_packet_handler="true"
+ enable_bundling="false" use_send_queues="false" sock_conn_timeout="300"
+ skip_suspected_members="true" use_concurrent_stack="true"
+ thread_pool.enabled="true" thread_pool.min_threads="1"
+ thread_pool.max_threads="25" thread_pool.keep_alive_time="5000"
+ thread_pool.queue_enabled="false" thread_pool.queue_max_size="100"
+ thread_pool.rejection_policy="run" oob_thread_pool.enabled="true"
+ oob_thread_pool.min_threads="1" oob_thread_pool.max_threads="8"
+ oob_thread_pool.keep_alive_time="5000" oob_thread_pool.queue_enabled="false"
+ oob_thread_pool.queue_max_size="100" oob_thread_pool.rejection_policy="run" />
+ <MPING timeout="2000" num_initial_members="2"
+ mcast_port="34585" bind_addr="127.0.0.1"
+ mcast_addr="224.0.0.1" />
+
+ <MERGE2 max_interval="30000" min_interval="10000" />
+ <FD_SOCK />
+ <FD max_tries="5" shun="true" timeout="10000" />
+ <VERIFY_SUSPECT timeout="1500" />
+ <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0"
+ retransmit_timeout="300,600,1200,2400,4800" use_mcast_xmit="false" />
+ <UNICAST timeout="300,600,1200,2400,3600" />
+ <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000"
+ stability_delay="1000" />
+ <pbcast.GMS join_timeout="5000" print_local_addr="true"
+ shun="false" view_ack_collection_timeout="5000" view_bundling="true" />
+ <FRAG2 frag_size="60000" />
+ <pbcast.STREAMING_STATE_TRANSFER />
+ <pbcast.FLUSH timeout="0" />
+</config>
\ No newline at end of file
Property changes on: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1tck-ws.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1tck-ws1.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1tck-ws1.xml (rev 0)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1tck-ws1.xml 2010-01-28 09:26:32 UTC (rev 1601)
@@ -0,0 +1,33 @@
+<config>
+ <TCP bind_addr="127.0.0.1" start_port="9950"
+ loopback="true" recv_buf_size="20000000" send_buf_size="640000"
+ discard_incompatible_packets="true" max_bundle_size="64000"
+ max_bundle_timeout="30" use_incoming_packet_handler="true"
+ enable_bundling="false" use_send_queues="false" sock_conn_timeout="300"
+ skip_suspected_members="true" use_concurrent_stack="true"
+ thread_pool.enabled="true" thread_pool.min_threads="1"
+ thread_pool.max_threads="25" thread_pool.keep_alive_time="5000"
+ thread_pool.queue_enabled="false" thread_pool.queue_max_size="100"
+ thread_pool.rejection_policy="run" oob_thread_pool.enabled="true"
+ oob_thread_pool.min_threads="1" oob_thread_pool.max_threads="8"
+ oob_thread_pool.keep_alive_time="5000" oob_thread_pool.queue_enabled="false"
+ oob_thread_pool.queue_max_size="100" oob_thread_pool.rejection_policy="run" />
+ <MPING timeout="2000" num_initial_members="2"
+ mcast_port="34586" bind_addr="127.0.0.1"
+ mcast_addr="224.0.0.1" />
+
+ <MERGE2 max_interval="30000" min_interval="10000" />
+ <FD_SOCK />
+ <FD max_tries="5" shun="true" timeout="10000" />
+ <VERIFY_SUSPECT timeout="1500" />
+ <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0"
+ retransmit_timeout="300,600,1200,2400,4800" use_mcast_xmit="false" />
+ <UNICAST timeout="300,600,1200,2400,3600" />
+ <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000"
+ stability_delay="1000" />
+ <pbcast.GMS join_timeout="5000" print_local_addr="true"
+ shun="false" view_ack_collection_timeout="5000" view_bundling="true" />
+ <FRAG2 frag_size="60000" />
+ <pbcast.STREAMING_STATE_TRANSFER />
+ <pbcast.FLUSH timeout="0" />
+</config>
\ No newline at end of file
Property changes on: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1tck-ws1.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1tck-ws2.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1tck-ws2.xml (rev 0)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1tck-ws2.xml 2010-01-28 09:26:32 UTC (rev 1601)
@@ -0,0 +1,33 @@
+<config>
+ <TCP bind_addr="127.0.0.1" start_port="9960"
+ loopback="true" recv_buf_size="20000000" send_buf_size="640000"
+ discard_incompatible_packets="true" max_bundle_size="64000"
+ max_bundle_timeout="30" use_incoming_packet_handler="true"
+ enable_bundling="false" use_send_queues="false" sock_conn_timeout="300"
+ skip_suspected_members="true" use_concurrent_stack="true"
+ thread_pool.enabled="true" thread_pool.min_threads="1"
+ thread_pool.max_threads="25" thread_pool.keep_alive_time="5000"
+ thread_pool.queue_enabled="false" thread_pool.queue_max_size="100"
+ thread_pool.rejection_policy="run" oob_thread_pool.enabled="true"
+ oob_thread_pool.min_threads="1" oob_thread_pool.max_threads="8"
+ oob_thread_pool.keep_alive_time="5000" oob_thread_pool.queue_enabled="false"
+ oob_thread_pool.queue_max_size="100" oob_thread_pool.rejection_policy="run" />
+ <MPING timeout="2000" num_initial_members="2"
+ mcast_port="34587" bind_addr="127.0.0.1"
+ mcast_addr="224.0.0.1" />
+
+ <MERGE2 max_interval="30000" min_interval="10000" />
+ <FD_SOCK />
+ <FD max_tries="5" shun="true" timeout="10000" />
+ <VERIFY_SUSPECT timeout="1500" />
+ <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0"
+ retransmit_timeout="300,600,1200,2400,4800" use_mcast_xmit="false" />
+ <UNICAST timeout="300,600,1200,2400,3600" />
+ <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000"
+ stability_delay="1000" />
+ <pbcast.GMS join_timeout="5000" print_local_addr="true"
+ shun="false" view_ack_collection_timeout="5000" view_bundling="true" />
+ <FRAG2 frag_size="60000" />
+ <pbcast.STREAMING_STATE_TRANSFER />
+ <pbcast.FLUSH timeout="0" />
+</config>
\ No newline at end of file
Property changes on: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-index-db1tck-ws2.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1-ws.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1-ws.xml (rev 0)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1-ws.xml 2010-01-28 09:26:32 UTC (rev 1601)
@@ -0,0 +1,33 @@
+<config>
+ <TCP bind_addr="127.0.0.1" start_port="9800"
+ loopback="true" recv_buf_size="20000000" send_buf_size="640000"
+ discard_incompatible_packets="true" max_bundle_size="64000"
+ max_bundle_timeout="30" use_incoming_packet_handler="true"
+ enable_bundling="false" use_send_queues="false" sock_conn_timeout="300"
+ skip_suspected_members="true" use_concurrent_stack="true"
+ thread_pool.enabled="true" thread_pool.min_threads="1"
+ thread_pool.max_threads="25" thread_pool.keep_alive_time="5000"
+ thread_pool.queue_enabled="false" thread_pool.queue_max_size="100"
+ thread_pool.rejection_policy="run" oob_thread_pool.enabled="true"
+ oob_thread_pool.min_threads="1" oob_thread_pool.max_threads="8"
+ oob_thread_pool.keep_alive_time="5000" oob_thread_pool.queue_enabled="false"
+ oob_thread_pool.queue_max_size="100" oob_thread_pool.rejection_policy="run" />
+ <MPING timeout="2000" num_initial_members="2"
+ mcast_port="34561" bind_addr="127.0.0.1"
+ mcast_addr="224.0.0.1" />
+
+ <MERGE2 max_interval="30000" min_interval="10000" />
+ <FD_SOCK />
+ <FD max_tries="5" shun="true" timeout="10000" />
+ <VERIFY_SUSPECT timeout="1500" />
+ <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0"
+ retransmit_timeout="300,600,1200,2400,4800" use_mcast_xmit="false" />
+ <UNICAST timeout="300,600,1200,2400,3600" />
+ <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000"
+ stability_delay="1000" />
+ <pbcast.GMS join_timeout="5000" print_local_addr="true"
+ shun="false" view_ack_collection_timeout="5000" view_bundling="true" />
+ <FRAG2 frag_size="60000" />
+ <pbcast.STREAMING_STATE_TRANSFER />
+ <pbcast.FLUSH timeout="0" />
+</config>
\ No newline at end of file
Property changes on: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1-ws.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1-ws1.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1-ws1.xml (rev 0)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1-ws1.xml 2010-01-28 09:26:32 UTC (rev 1601)
@@ -0,0 +1,33 @@
+<config>
+ <TCP bind_addr="127.0.0.1" start_port="9810"
+ loopback="true" recv_buf_size="20000000" send_buf_size="640000"
+ discard_incompatible_packets="true" max_bundle_size="64000"
+ max_bundle_timeout="30" use_incoming_packet_handler="true"
+ enable_bundling="false" use_send_queues="false" sock_conn_timeout="300"
+ skip_suspected_members="true" use_concurrent_stack="true"
+ thread_pool.enabled="true" thread_pool.min_threads="1"
+ thread_pool.max_threads="25" thread_pool.keep_alive_time="5000"
+ thread_pool.queue_enabled="false" thread_pool.queue_max_size="100"
+ thread_pool.rejection_policy="run" oob_thread_pool.enabled="true"
+ oob_thread_pool.min_threads="1" oob_thread_pool.max_threads="8"
+ oob_thread_pool.keep_alive_time="5000" oob_thread_pool.queue_enabled="false"
+ oob_thread_pool.queue_max_size="100" oob_thread_pool.rejection_policy="run" />
+ <MPING timeout="2000" num_initial_members="2"
+ mcast_port="34562" bind_addr="127.0.0.1"
+ mcast_addr="224.0.0.1" />
+
+ <MERGE2 max_interval="30000" min_interval="10000" />
+ <FD_SOCK />
+ <FD max_tries="5" shun="true" timeout="10000" />
+ <VERIFY_SUSPECT timeout="1500" />
+ <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0"
+ retransmit_timeout="300,600,1200,2400,4800" use_mcast_xmit="false" />
+ <UNICAST timeout="300,600,1200,2400,3600" />
+ <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000"
+ stability_delay="1000" />
+ <pbcast.GMS join_timeout="5000" print_local_addr="true"
+ shun="false" view_ack_collection_timeout="5000" view_bundling="true" />
+ <FRAG2 frag_size="60000" />
+ <pbcast.STREAMING_STATE_TRANSFER />
+ <pbcast.FLUSH timeout="0" />
+</config>
\ No newline at end of file
Property changes on: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1-ws1.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1-ws2.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1-ws2.xml (rev 0)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1-ws2.xml 2010-01-28 09:26:32 UTC (rev 1601)
@@ -0,0 +1,33 @@
+<config>
+ <TCP bind_addr="127.0.0.1" start_port="9820"
+ loopback="true" recv_buf_size="20000000" send_buf_size="640000"
+ discard_incompatible_packets="true" max_bundle_size="64000"
+ max_bundle_timeout="30" use_incoming_packet_handler="true"
+ enable_bundling="false" use_send_queues="false" sock_conn_timeout="300"
+ skip_suspected_members="true" use_concurrent_stack="true"
+ thread_pool.enabled="true" thread_pool.min_threads="1"
+ thread_pool.max_threads="25" thread_pool.keep_alive_time="5000"
+ thread_pool.queue_enabled="false" thread_pool.queue_max_size="100"
+ thread_pool.rejection_policy="run" oob_thread_pool.enabled="true"
+ oob_thread_pool.min_threads="1" oob_thread_pool.max_threads="8"
+ oob_thread_pool.keep_alive_time="5000" oob_thread_pool.queue_enabled="false"
+ oob_thread_pool.queue_max_size="100" oob_thread_pool.rejection_policy="run" />
+ <MPING timeout="2000" num_initial_members="2"
+ mcast_port="34563" bind_addr="127.0.0.1"
+ mcast_addr="224.0.0.1" />
+
+ <MERGE2 max_interval="30000" min_interval="10000" />
+ <FD_SOCK />
+ <FD max_tries="5" shun="true" timeout="10000" />
+ <VERIFY_SUSPECT timeout="1500" />
+ <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0"
+ retransmit_timeout="300,600,1200,2400,4800" use_mcast_xmit="false" />
+ <UNICAST timeout="300,600,1200,2400,3600" />
+ <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000"
+ stability_delay="1000" />
+ <pbcast.GMS join_timeout="5000" print_local_addr="true"
+ shun="false" view_ack_collection_timeout="5000" view_bundling="true" />
+ <FRAG2 frag_size="60000" />
+ <pbcast.STREAMING_STATE_TRANSFER />
+ <pbcast.FLUSH timeout="0" />
+</config>
\ No newline at end of file
Property changes on: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1-ws2.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1-ws3.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1-ws3.xml (rev 0)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1-ws3.xml 2010-01-28 09:26:32 UTC (rev 1601)
@@ -0,0 +1,33 @@
+<config>
+ <TCP bind_addr="127.0.0.1" start_port="9830"
+ loopback="true" recv_buf_size="20000000" send_buf_size="640000"
+ discard_incompatible_packets="true" max_bundle_size="64000"
+ max_bundle_timeout="30" use_incoming_packet_handler="true"
+ enable_bundling="false" use_send_queues="false" sock_conn_timeout="300"
+ skip_suspected_members="true" use_concurrent_stack="true"
+ thread_pool.enabled="true" thread_pool.min_threads="1"
+ thread_pool.max_threads="25" thread_pool.keep_alive_time="5000"
+ thread_pool.queue_enabled="false" thread_pool.queue_max_size="100"
+ thread_pool.rejection_policy="run" oob_thread_pool.enabled="true"
+ oob_thread_pool.min_threads="1" oob_thread_pool.max_threads="8"
+ oob_thread_pool.keep_alive_time="5000" oob_thread_pool.queue_enabled="false"
+ oob_thread_pool.queue_max_size="100" oob_thread_pool.rejection_policy="run" />
+ <MPING timeout="2000" num_initial_members="2"
+ mcast_port="34564" bind_addr="127.0.0.1"
+ mcast_addr="224.0.0.1" />
+
+ <MERGE2 max_interval="30000" min_interval="10000" />
+ <FD_SOCK />
+ <FD max_tries="5" shun="true" timeout="10000" />
+ <VERIFY_SUSPECT timeout="1500" />
+ <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0"
+ retransmit_timeout="300,600,1200,2400,4800" use_mcast_xmit="false" />
+ <UNICAST timeout="300,600,1200,2400,3600" />
+ <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000"
+ stability_delay="1000" />
+ <pbcast.GMS join_timeout="5000" print_local_addr="true"
+ shun="false" view_ack_collection_timeout="5000" view_bundling="true" />
+ <FRAG2 frag_size="60000" />
+ <pbcast.STREAMING_STATE_TRANSFER />
+ <pbcast.FLUSH timeout="0" />
+</config>
\ No newline at end of file
Property changes on: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1-ws3.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1tck-ws.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1tck-ws.xml (rev 0)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1tck-ws.xml 2010-01-28 09:26:32 UTC (rev 1601)
@@ -0,0 +1,33 @@
+<config>
+ <TCP bind_addr="127.0.0.1" start_port="9840"
+ loopback="true" recv_buf_size="20000000" send_buf_size="640000"
+ discard_incompatible_packets="true" max_bundle_size="64000"
+ max_bundle_timeout="30" use_incoming_packet_handler="true"
+ enable_bundling="false" use_send_queues="false" sock_conn_timeout="300"
+ skip_suspected_members="true" use_concurrent_stack="true"
+ thread_pool.enabled="true" thread_pool.min_threads="1"
+ thread_pool.max_threads="25" thread_pool.keep_alive_time="5000"
+ thread_pool.queue_enabled="false" thread_pool.queue_max_size="100"
+ thread_pool.rejection_policy="run" oob_thread_pool.enabled="true"
+ oob_thread_pool.min_threads="1" oob_thread_pool.max_threads="8"
+ oob_thread_pool.keep_alive_time="5000" oob_thread_pool.queue_enabled="false"
+ oob_thread_pool.queue_max_size="100" oob_thread_pool.rejection_policy="run" />
+ <MPING timeout="2000" num_initial_members="2"
+ mcast_port="34565" bind_addr="127.0.0.1"
+ mcast_addr="224.0.0.1" />
+
+ <MERGE2 max_interval="30000" min_interval="10000" />
+ <FD_SOCK />
+ <FD max_tries="5" shun="true" timeout="10000" />
+ <VERIFY_SUSPECT timeout="1500" />
+ <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0"
+ retransmit_timeout="300,600,1200,2400,4800" use_mcast_xmit="false" />
+ <UNICAST timeout="300,600,1200,2400,3600" />
+ <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000"
+ stability_delay="1000" />
+ <pbcast.GMS join_timeout="5000" print_local_addr="true"
+ shun="false" view_ack_collection_timeout="5000" view_bundling="true" />
+ <FRAG2 frag_size="60000" />
+ <pbcast.STREAMING_STATE_TRANSFER />
+ <pbcast.FLUSH timeout="0" />
+</config>
\ No newline at end of file
Property changes on: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1tck-ws.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1tck-ws1.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1tck-ws1.xml (rev 0)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1tck-ws1.xml 2010-01-28 09:26:32 UTC (rev 1601)
@@ -0,0 +1,33 @@
+<config>
+ <TCP bind_addr="127.0.0.1" start_port="9850"
+ loopback="true" recv_buf_size="20000000" send_buf_size="640000"
+ discard_incompatible_packets="true" max_bundle_size="64000"
+ max_bundle_timeout="30" use_incoming_packet_handler="true"
+ enable_bundling="false" use_send_queues="false" sock_conn_timeout="300"
+ skip_suspected_members="true" use_concurrent_stack="true"
+ thread_pool.enabled="true" thread_pool.min_threads="1"
+ thread_pool.max_threads="25" thread_pool.keep_alive_time="5000"
+ thread_pool.queue_enabled="false" thread_pool.queue_max_size="100"
+ thread_pool.rejection_policy="run" oob_thread_pool.enabled="true"
+ oob_thread_pool.min_threads="1" oob_thread_pool.max_threads="8"
+ oob_thread_pool.keep_alive_time="5000" oob_thread_pool.queue_enabled="false"
+ oob_thread_pool.queue_max_size="100" oob_thread_pool.rejection_policy="run" />
+ <MPING timeout="2000" num_initial_members="2"
+ mcast_port="34566" bind_addr="127.0.0.1"
+ mcast_addr="224.0.0.1" />
+
+ <MERGE2 max_interval="30000" min_interval="10000" />
+ <FD_SOCK />
+ <FD max_tries="5" shun="true" timeout="10000" />
+ <VERIFY_SUSPECT timeout="1500" />
+ <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0"
+ retransmit_timeout="300,600,1200,2400,4800" use_mcast_xmit="false" />
+ <UNICAST timeout="300,600,1200,2400,3600" />
+ <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000"
+ stability_delay="1000" />
+ <pbcast.GMS join_timeout="5000" print_local_addr="true"
+ shun="false" view_ack_collection_timeout="5000" view_bundling="true" />
+ <FRAG2 frag_size="60000" />
+ <pbcast.STREAMING_STATE_TRANSFER />
+ <pbcast.FLUSH timeout="0" />
+</config>
\ No newline at end of file
Property changes on: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1tck-ws1.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1tck-ws2.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1tck-ws2.xml (rev 0)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1tck-ws2.xml 2010-01-28 09:26:32 UTC (rev 1601)
@@ -0,0 +1,33 @@
+<config>
+ <TCP bind_addr="127.0.0.1" start_port="9860"
+ loopback="true" recv_buf_size="20000000" send_buf_size="640000"
+ discard_incompatible_packets="true" max_bundle_size="64000"
+ max_bundle_timeout="30" use_incoming_packet_handler="true"
+ enable_bundling="false" use_send_queues="false" sock_conn_timeout="300"
+ skip_suspected_members="true" use_concurrent_stack="true"
+ thread_pool.enabled="true" thread_pool.min_threads="1"
+ thread_pool.max_threads="25" thread_pool.keep_alive_time="5000"
+ thread_pool.queue_enabled="false" thread_pool.queue_max_size="100"
+ thread_pool.rejection_policy="run" oob_thread_pool.enabled="true"
+ oob_thread_pool.min_threads="1" oob_thread_pool.max_threads="8"
+ oob_thread_pool.keep_alive_time="5000" oob_thread_pool.queue_enabled="false"
+ oob_thread_pool.queue_max_size="100" oob_thread_pool.rejection_policy="run" />
+ <MPING timeout="2000" num_initial_members="2"
+ mcast_port="34567" bind_addr="127.0.0.1"
+ mcast_addr="224.0.0.1" />
+
+ <MERGE2 max_interval="30000" min_interval="10000" />
+ <FD_SOCK />
+ <FD max_tries="5" shun="true" timeout="10000" />
+ <VERIFY_SUSPECT timeout="1500" />
+ <pbcast.NAKACK discard_delivered_msgs="true" gc_lag="0"
+ retransmit_timeout="300,600,1200,2400,4800" use_mcast_xmit="false" />
+ <UNICAST timeout="300,600,1200,2400,3600" />
+ <pbcast.STABLE desired_avg_gossip="50000" max_bytes="400000"
+ stability_delay="1000" />
+ <pbcast.GMS join_timeout="5000" print_local_addr="true"
+ shun="false" view_ack_collection_timeout="5000" view_bundling="true" />
+ <FRAG2 frag_size="60000" />
+ <pbcast.STREAMING_STATE_TRANSFER />
+ <pbcast.FLUSH timeout="0" />
+</config>
\ No newline at end of file
Property changes on: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/tcp-lock-db1tck-ws2.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/test-jcr-config.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/test-jcr-config.xml 2010-01-28 08:59:30 UTC (rev 1600)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/templateBased/test-jcr-config.xml 2010-01-28 09:26:32 UTC (rev 1601)
@@ -69,16 +69,16 @@
<cache enabled="true" class="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.JBossCacheWorkspaceStorageCache">
<properties>
<property name="jbosscache-configuration" value="conf/templateBased/test-jbosscache-data.tpl.xml" />
- <property name="jgroups-configuration" value="udp.xml" />
+ <property name="jgroups-configuration" value="conf/templateBased/tcp-data-db1-ws.xml" />
<property name="jbosscache-cluster-name" value="JCR-cluster-db1-ws" />
</properties>
</cache>
<query-handler class="org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex">
<properties>
- <property name="index-dir" value="${java.io.tmpdir}/cluster_nfs/db1/ws" />
+ <property name="index-dir" value="target/temp/index/db1/ws" />
<property name="changesfilter-class" value="org.exoplatform.services.jcr.impl.core.query.jbosscache.JBossCacheIndexChangesFilter" />
<property name="jbosscache-configuration" value="conf/templateBased/test-jbosscache-indexer.tpl.xml" />
- <property name="jgroups-configuration" value="udp.xml" />
+ <property name="jgroups-configuration" value="conf/templateBased/tcp-index-db1-ws.xml" />
<property name="jbosscache-cluster-name" value="JCR-cluster-indexer-db1-ws" />
<property name="max-volatile-time" value="60" />
</properties>
@@ -87,7 +87,7 @@
<properties>
<property name="time-out" value="15m" />
<property name="jbosscache-configuration" value="conf/templateBased/test-jbosscache-lock.tpl.xml" />
- <property name="jgroups-configuration" value="udp.xml" />
+ <property name="jgroups-configuration" value="conf/templateBased/tcp-lock-db1-ws.xml" />
<property name="jbosscache-cluster-name" value="JCR-cluster-locks-db1-ws" />
<property name="jbosscache-cl-cache.jdbc.table.name" value="jcrlocks_db1_ws"/>
<property name="jbosscache-cl-cache.jdbc.table.create" value="true"/>
@@ -127,7 +127,7 @@
<cache enabled="true" class="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.JBossCacheWorkspaceStorageCache">
<properties>
<property name="jbosscache-configuration" value="conf/templateBased/test-jbosscache-data.tpl.xml" />
- <property name="jgroups-configuration" value="udp.xml" />
+ <property name="jgroups-configuration" value="conf/templateBased/tcp-data-db1-ws1.xml" />
<property name="jbosscache-cluster-name" value="JCR-cluster-db1-ws1" />
</properties>
</cache>
@@ -136,7 +136,7 @@
<property name="index-dir" value="target/temp/index/db1/ws1" />
<property name="changesfilter-class" value="org.exoplatform.services.jcr.impl.core.query.jbosscache.JBossCacheIndexChangesFilter" />
<property name="jbosscache-configuration" value="conf/templateBased/test-jbosscache-indexer.tpl.xml" />
- <property name="jgroups-configuration" value="udp.xml" />
+ <property name="jgroups-configuration" value="conf/templateBased/tcp-index-db1-ws1.xml" />
<property name="jbosscache-cluster-name" value="JCR-cluster-indexer-db1-ws1" />
<property name="max-volatile-time" value="60" />
@@ -153,7 +153,7 @@
<properties>
<property name="time-out" value="15m" />
<property name="jbosscache-configuration" value="conf/templateBased/test-jbosscache-lock.tpl.xml" />
- <property name="jgroups-configuration" value="udp.xml" />
+ <property name="jgroups-configuration" value="conf/templateBased/tcp-lock-db1-ws1.xml" />
<property name="jbosscache-cluster-name" value="JCR-cluster-locks-db1-ws1" />
<property name="jbosscache-cl-cache.jdbc.table.name" value="jcrlocks_db1_ws1"/>
<property name="jbosscache-cl-cache.jdbc.table.create" value="true"/>
@@ -192,7 +192,7 @@
<cache enabled="true" class="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.JBossCacheWorkspaceStorageCache">
<properties>
<property name="jbosscache-configuration" value="conf/templateBased/test-jbosscache-data.tpl.xml" />
- <property name="jgroups-configuration" value="udp.xml" />
+ <property name="jgroups-configuration" value="conf/templateBased/tcp-data-db1-ws2.xml" />
<property name="jbosscache-cluster-name" value="JCR-cluster-db1-ws2" />
</properties>
</cache>
@@ -201,7 +201,7 @@
<property name="index-dir" value="target/temp/index/db1/ws2" />
<property name="changesfilter-class" value="org.exoplatform.services.jcr.impl.core.query.jbosscache.JBossCacheIndexChangesFilter" />
<property name="jbosscache-configuration" value="conf/templateBased/test-jbosscache-indexer.tpl.xml" />
- <property name="jgroups-configuration" value="udp.xml" />
+ <property name="jgroups-configuration" value="conf/templateBased/tcp-index-db1-ws2.xml" />
<property name="jbosscache-cluster-name" value="JCR-cluster-indexer-db1-ws2" />
<property name="max-volatile-time" value="60" />
@@ -218,7 +218,7 @@
<properties>
<property name="time-out" value="15m" />
<property name="jbosscache-configuration" value="conf/templateBased/test-jbosscache-lock.tpl.xml" />
- <property name="jgroups-configuration" value="udp.xml" />
+ <property name="jgroups-configuration" value="conf/templateBased/tcp-lock-db1-ws2.xml" />
<property name="jbosscache-cluster-name" value="JCR-cluster-locks-db1-ws2" />
<property name="jbosscache-cl-cache.jdbc.table.name" value="jcrlocks_db1_ws2"/>
<property name="jbosscache-cl-cache.jdbc.table.create" value="true"/>
@@ -276,7 +276,7 @@
<cache enabled="true" class="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.JBossCacheWorkspaceStorageCache">
<properties>
<property name="jbosscache-configuration" value="conf/templateBased/test-jbosscache-data.tpl.xml" />
- <property name="jgroups-configuration" value="udp.xml" />
+ <property name="jgroups-configuration" value="conf/templateBased/tcp-data-db1-ws3.xml" />
<property name="jbosscache-cluster-name" value="JCR-cluster-db1-ws3" />
</properties>
</cache>
@@ -285,19 +285,16 @@
<property name="index-dir" value="target/temp/index/db1/ws3" />
<property name="changesfilter-class" value="org.exoplatform.services.jcr.impl.core.query.jbosscache.JBossCacheIndexChangesFilter" />
<property name="jbosscache-configuration" value="conf/templateBased/test-jbosscache-indexer.tpl.xml" />
- <property name="jgroups-configuration" value="udp.xml" />
+ <property name="jgroups-configuration" value="conf/templateBased/tcp-index-db1-ws3.xml" />
<property name="jbosscache-cluster-name" value="JCR-cluster-indexer-db1-ws3" />
<property name="max-volatile-time" value="60" />
- <property name="synonymprovider-class"
- value="org.exoplatform.services.jcr.impl.core.query.lucene.PropertiesSynonymProvider" />
- <property name="synonymprovider-config-path" value="../../synonyms.properties" />
- <property name="support-highlighting" value="true" />
- <property name="indexing-configuration-path" value="../../indexing-configuration.xml" />
- <property name="query-class"
- value="org.exoplatform.services.jcr.impl.core.query.QueryImpl" />
- <property name="spellchecker-class"
- value="org.exoplatform.services.jcr.impl.core.query.lucene.spell.LuceneSpellChecker$FiveSecondsRefreshInterval" />
+ <property name="synonymprovider-class" value="org.exoplatform.services.jcr.impl.core.query.lucene.PropertiesSynonymProvider" />
+ <property name="synonymprovider-config-path" value="../../synonyms.properties" />
+ <property name="support-highlighting" value="true" />
+ <property name="indexing-configuration-path" value="../../indexing-configuration.xml" />
+ <property name="query-class" value="org.exoplatform.services.jcr.impl.core.query.QueryImpl" />
+ <property name="spellchecker-class" value="org.exoplatform.services.jcr.impl.core.query.lucene.spell.LuceneSpellChecker$FiveSecondsRefreshInterval" />
</properties>
</query-handler>
@@ -305,7 +302,7 @@
<properties>
<property name="time-out" value="15m" />
<property name="jbosscache-configuration" value="conf/templateBased/test-jbosscache-lock.tpl.xml" />
- <property name="jgroups-configuration" value="udp.xml" />
+ <property name="jgroups-configuration" value="conf/templateBased/tcp-lock-db1-ws3.xml" />
<property name="jbosscache-cluster-name" value="JCR-cluster-locks-db1-ws3" />
<property name="jbosscache-cl-cache.jdbc.table.name" value="jcrlocks_db1_ws3"/>
<property name="jbosscache-cl-cache.jdbc.table.create" value="true"/>
@@ -363,7 +360,7 @@
<cache enabled="true" class="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.JBossCacheWorkspaceStorageCache">
<properties>
<property name="jbosscache-configuration" value="conf/templateBased/test-jbosscache-data.tpl.xml" />
- <property name="jgroups-configuration" value="udp.xml" />
+ <property name="jgroups-configuration" value="conf/templateBased/tcp-data-db1tck-ws.xml" />
<property name="jbosscache-cluster-name" value="JCR-cluster-db1tck-ws" />
</properties>
</cache>
@@ -372,7 +369,7 @@
<property name="index-dir" value="target/temp/index/db1tck/ws" />
<property name="changesfilter-class" value="org.exoplatform.services.jcr.impl.core.query.jbosscache.JBossCacheIndexChangesFilter" />
<property name="jbosscache-configuration" value="conf/templateBased/test-jbosscache-indexer.tpl.xml" />
- <property name="jgroups-configuration" value="udp.xml" />
+ <property name="jgroups-configuration" value="conf/templateBased/tcp-index-db1tck-ws.xml" />
<property name="jbosscache-cluster-name" value="JCR-cluster-indexer-db1tck-ws" />
<property name="max-volatile-time" value="60" />
@@ -389,7 +386,7 @@
<properties>
<property name="time-out" value="15m" />
<property name="jbosscache-configuration" value="conf/templateBased/test-jbosscache-lock.tpl.xml" />
- <property name="jgroups-configuration" value="udp.xml" />
+ <property name="jgroups-configuration" value="conf/templateBased/tcp-lock-db1tck-ws.xml" />
<property name="jbosscache-cluster-name" value="JCR-cluster-locks-db1tck-ws" />
<property name="jbosscache-cl-cache.jdbc.table.name" value="jcrlocks_db1tck_ws"/>
<property name="jbosscache-cl-cache.jdbc.table.create" value="true"/>
@@ -435,7 +432,7 @@
<cache enabled="true" class="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.JBossCacheWorkspaceStorageCache">
<properties>
<property name="jbosscache-configuration" value="conf/templateBased/test-jbosscache-data.tpl.xml" />
- <property name="jgroups-configuration" value="udp.xml" />
+ <property name="jgroups-configuration" value="conf/templateBased/tcp-data-db1tck-ws1.xml" />
<property name="jbosscache-cluster-name" value="JCR-cluster-db1tck-ws1" />
</properties>
</cache>
@@ -444,7 +441,7 @@
<property name="index-dir" value="target/temp/index/db1tck/ws1" />
<property name="changesfilter-class" value="org.exoplatform.services.jcr.impl.core.query.jbosscache.JBossCacheIndexChangesFilter" />
<property name="jbosscache-configuration" value="conf/templateBased/test-jbosscache-indexer.tpl.xml" />
- <property name="jgroups-configuration" value="udp.xml" />
+ <property name="jgroups-configuration" value="conf/templateBased/tcp-index-db1tck-ws1.xml" />
<property name="jbosscache-cluster-name" value="JCR-cluster-indexer-db1tck-ws1" />
<property name="max-volatile-time" value="60" />
<property name="synonymprovider-class" value="org.exoplatform.services.jcr.impl.core.query.lucene.PropertiesSynonymProvider" />
@@ -459,7 +456,7 @@
<properties>
<property name="time-out" value="15m" />
<property name="jbosscache-configuration" value="conf/templateBased/test-jbosscache-lock.tpl.xml" />
- <property name="jgroups-configuration" value="udp.xml" />
+ <property name="jgroups-configuration" value="conf/templateBased/tcp-lock-db1tck-ws1.xml" />
<property name="jbosscache-cluster-name" value="JCR-cluster-locks-db1tck-ws1" />
<property name="jbosscache-cl-cache.jdbc.table.name" value="jcrlocks_db1tck_ws1"/>
<property name="jbosscache-cl-cache.jdbc.table.create" value="true"/>
@@ -505,7 +502,7 @@
<cache enabled="true" class="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.JBossCacheWorkspaceStorageCache">
<properties>
<property name="jbosscache-configuration" value="conf/templateBased/test-jbosscache-data.tpl.xml" />
- <property name="jgroups-configuration" value="udp.xml" />
+ <property name="jgroups-configuration" value="conf/templateBased/tcp-data-db1tck-ws2.xml" />
<property name="jbosscache-cluster-name" value="JCR-cluster-db1tck-ws2" />
</properties>
</cache>
@@ -514,7 +511,7 @@
<property name="index-dir" value="target/temp/index/db1tck/ws2" />
<property name="changesfilter-class" value="org.exoplatform.services.jcr.impl.core.query.jbosscache.JBossCacheIndexChangesFilter" />
<property name="jbosscache-configuration" value="conf/templateBased/test-jbosscache-indexer.tpl.xml" />
- <property name="jgroups-configuration" value="udp.xml" />
+ <property name="jgroups-configuration" value="conf/templateBased/tcp-index-db1tck-ws2.xml" />
<property name="jbosscache-cluster-name" value="JCR-cluster-indexer-db1tck-ws2" />
<property name="max-volatile-time" value="60" />
<property name="synonymprovider-class" value="org.exoplatform.services.jcr.impl.core.query.lucene.PropertiesSynonymProvider" />
@@ -532,7 +529,7 @@
<properties>
<property name="time-out" value="15m" />
<property name="jbosscache-configuration" value="conf/templateBased/test-jbosscache-lock.tpl.xml" />
- <property name="jgroups-configuration" value="udp.xml" />
+ <property name="jgroups-configuration" value="conf/templateBased/tcp-lock-db1tck-ws2.xml" />
<property name="jbosscache-cluster-name" value="JCR-cluster-locks-db1tck-ws2" />
<property name="jbosscache-cl-cache.jdbc.table.name" value="jcrlocks_db1tck_ws2"/>
<property name="jbosscache-cl-cache.jdbc.table.create" value="true"/>
@@ -550,4 +547,4 @@
</workspaces>
</repository>
</repositories>
-</repository-service>
\ No newline at end of file
+</repository-service>
14 years, 3 months
exo-jcr SVN: r1600 - jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc.
by do-not-reply@jboss.org
Author: pnedonosko
Date: 2010-01-28 03:59:30 -0500 (Thu, 28 Jan 2010)
New Revision: 1600
Modified:
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/JDBCWorkspaceDataContainer.java
Log:
EXOJCR-310 log fix about dialect
Modified: jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/JDBCWorkspaceDataContainer.java
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/JDBCWorkspaceDataContainer.java 2010-01-28 08:55:39 UTC (rev 1599)
+++ jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/JDBCWorkspaceDataContainer.java 2010-01-28 08:59:30 UTC (rev 1600)
@@ -330,7 +330,7 @@
this.dbDialect = pDbDialect;
}
}
- LOG.info("Using a dialect '" + pDbDialect + "'");
+ LOG.info("Using a dialect '" + this.dbDialect + "'");
// ------------- Values swap config ------------------
try
14 years, 3 months
exo-jcr SVN: r1599 - in jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr: impl/core/query/jbosscache and 1 other directory.
by do-not-reply@jboss.org
Author: nzamosenchuk
Date: 2010-01-28 03:55:39 -0500 (Thu, 28 Jan 2010)
New Revision: 1599
Modified:
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/config/QueryHandlerParams.java
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/jbosscache/JBossCacheIndexChangesFilter.java
Log:
EXOJCR-436: Added programmatically handled parameters: "jbosscache-sscl-push.state.enabled" "jbosscache-sscl-push.state.timeout". They are not present in templates but handled, because singletonStore cache loader is configured in code, but not through XML.
Modified: jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/config/QueryHandlerParams.java
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/config/QueryHandlerParams.java 2010-01-28 08:41:58 UTC (rev 1598)
+++ jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/config/QueryHandlerParams.java 2010-01-28 08:55:39 UTC (rev 1599)
@@ -106,4 +106,8 @@
public static final String PARAM_CHANGES_FILTER_CLASS = "changesfilter-class";
public static final String PARAM_JBOSSCACHE_CONFIGURATION = "jbosscache-configuration";
+
+ public static final String PARAM_JBOSSCACHE_PUSHSTATE = "jbosscache-sscl-push.state.enabled";
+
+ public static final String PARAM_JBOSSCACHE_PUSHSTATE_TIMEOUT = "jbosscache-sscl-push.state.timeout";
}
Modified: jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/jbosscache/JBossCacheIndexChangesFilter.java
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/jbosscache/JBossCacheIndexChangesFilter.java 2010-01-28 08:41:58 UTC (rev 1598)
+++ jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/jbosscache/JBossCacheIndexChangesFilter.java 2010-01-28 08:55:39 UTC (rev 1599)
@@ -73,7 +73,8 @@
*/
public JBossCacheIndexChangesFilter(SearchManager searchManager, SearchManager parentSearchManager,
QueryHandlerEntry config, IndexingTree indexingTree, IndexingTree parentIndexingTree, QueryHandler handler,
- QueryHandler parentHandler, ConfigurationManager cfm) throws IOException, RepositoryException, RepositoryConfigurationException
+ QueryHandler parentHandler, ConfigurationManager cfm) throws IOException, RepositoryException,
+ RepositoryConfigurationException
{
super(searchManager, parentSearchManager, config, indexingTree, parentIndexingTree, handler, parentHandler, cfm);
String jbcConfig = config.getParameterValue(QueryHandlerParams.PARAM_JBOSSCACHE_CONFIGURATION);
@@ -104,8 +105,13 @@
singletonStoreConfig.setSingletonStoreClass(IndexerSingletonStoreCacheLoader.class.getName());
//singletonStoreConfig.setSingletonStoreClass(SingletonStoreCacheLoader.class.getName());
Properties singletonStoreProperties = new Properties();
- singletonStoreProperties.setProperty("pushStateWhenCoordinator", "false");
- singletonStoreProperties.setProperty("pushStateWhenCoordinatorTimeout", "10000");
+
+ // try to get pushState parameters, since they are set programmatically only
+ Boolean pushState = config.getParameterBoolean(QueryHandlerParams.PARAM_JBOSSCACHE_PUSHSTATE, false);
+ Integer pushStateTimeOut = config.getParameterInteger(QueryHandlerParams.PARAM_JBOSSCACHE_PUSHSTATE, 10000);
+
+ singletonStoreProperties.setProperty("pushStateWhenCoordinator", pushState.toString());
+ singletonStoreProperties.setProperty("pushStateWhenCoordinatorTimeout", pushStateTimeOut.toString());
singletonStoreConfig.setProperties(singletonStoreProperties);
singletonStoreConfig.setSingletonStoreEnabled(true);
// create CacheLoaderConfig
@@ -137,14 +143,12 @@
if (!parentHandler.isInitialized())
{
- // TODO: uncomment it, when JbossCacheIndexInfos is finished.
parentHandler.setIndexInfos(new JBossCacheIndexInfos(cache, true, modeHandler));
parentHandler.setIndexUpdateMonitor(new JBossCacheIndexUpdateMonitor(cache, modeHandler));
parentHandler.init();
}
if (!handler.isInitialized())
{
- // TODO: uncomment it, when JbossCacheIndexInfos is finished.
handler.setIndexInfos(new JBossCacheIndexInfos(cache, false, modeHandler));
handler.setIndexUpdateMonitor(new JBossCacheIndexUpdateMonitor(cache, modeHandler));
handler.init();
14 years, 3 months
exo-jcr SVN: r1598 - jcr/trunk/exo.jcr.component.core/src/test/resources/conf/standalone/cluster.
by do-not-reply@jboss.org
Author: tolusha
Date: 2010-01-28 03:41:58 -0500 (Thu, 28 Jan 2010)
New Revision: 1598
Modified:
jcr/trunk/exo.jcr.component.core/src/test/resources/conf/standalone/cluster/test-jcr-config.xml
Log:
EXOJCR-403: fix conf
Modified: jcr/trunk/exo.jcr.component.core/src/test/resources/conf/standalone/cluster/test-jcr-config.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/test/resources/conf/standalone/cluster/test-jcr-config.xml 2010-01-27 17:10:05 UTC (rev 1597)
+++ jcr/trunk/exo.jcr.component.core/src/test/resources/conf/standalone/cluster/test-jcr-config.xml 2010-01-28 08:41:58 UTC (rev 1598)
@@ -189,47 +189,45 @@
<property name="swap-directory" value="target/temp/swap/ws3" />
</properties>
<value-storages>
- <value-storage id="ws3_big"
- class="org.exoplatform.services.jcr.impl.storage.value.fs.TreeFileValueStorage">
- <properties>
- <property name="path" value="target/temp/values/ws3_big" />
- </properties>
- <filters>
- <filter property-type="Binary" min-value-size="1024K" />
- </filters>
- </value-storage>
- <value-storage id="ws3"
- class="org.exoplatform.services.jcr.impl.storage.value.fs.CASableTreeFileValueStorage">
- <properties>
- <property name="path" value="target/temp/values/ws3" />
- <property name="digest-algo" value="MD5" />
- <property name="vcas-type" value="org.exoplatform.services.jcr.impl.storage.value.cas.JDBCValueContentAddressStorageImpl" />
- <property name="jdbc-source-name" value="jdbcjcr3" />
- </properties>
- <filters>
- <filter property-type="Binary" />
- </filters>
- </value-storage>
- </value-storages>
- </container>
- <cache enabled="true" class="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.JBossCacheWorkspaceStorageCache">
- <properties>
- <property name="jbosscache-configuration" value="conf/standalone/cluster/test-jbosscache-config-db1-ws3.xml" />
+ <value-storage id="ws3_big" class="org.exoplatform.services.jcr.impl.storage.value.fs.TreeFileValueStorage">
+ <properties>
+ <property name="path" value="target/temp/values/ws3_big" />
+ </properties>
+ <filters>
+ <filter property-type="Binary" min-value-size="1024K" />
+ </filters>
+ </value-storage>
+ <value-storage id="ws3" class="org.exoplatform.services.jcr.impl.storage.value.fs.CASableTreeFileValueStorage">
+ <properties>
+ <property name="path" value="target/temp/values/ws3" />
+ <property name="digest-algo" value="MD5" />
+ <property name="vcas-type" value="org.exoplatform.services.jcr.impl.storage.value.cas.JDBCValueContentAddressStorageImpl" />
+ <property name="jdbc-source-name" value="jdbcjcr3" />
+ </properties>
+ <filters>
+ <filter property-type="Binary" />
+ </filters>
+ </value-storage>
+ </value-storages>
+ </container>
+ <cache enabled="true" class="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.JBossCacheWorkspaceStorageCache">
+ <properties>
+ <property name="jbosscache-configuration" value="conf/standalone/cluster/test-jbosscache-config-db1-ws3.xml" />
+ </properties>
+ </cache>
+ <query-handler class="org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex">
+ <properties>
+ <property name="index-dir" value="target/cluster_nfs/db1/ws3" />
+ <property name="changesfilter-class" value="org.exoplatform.services.jcr.impl.core.query.jbosscache.JBossCacheIndexChangesFilter" />
+ <property name="jbosscache-configuration" value="conf/standalone/cluster/test-jbosscache-indexer-config-exoloader_db1_ws3.xml" />
+ <property name="max-volatile-time" value="60" />
+ <property name="synonymprovider-class" value="org.exoplatform.services.jcr.impl.core.query.lucene.PropertiesSynonymProvider" />
+ <property name="synonymprovider-config-path" value="../../../synonyms.properties" />
+ <property name="support-highlighting" value="true" />
+ <property name="indexing-configuration-path" value="../../../indexing-configuration.xml" />
+ <property name="query-class" value="org.exoplatform.services.jcr.impl.core.query.QueryImpl" />
+ <property name="spellchecker-class" value="org.exoplatform.services.jcr.impl.core.query.lucene.spell.LuceneSpellChecker$FiveSecondsRefreshInterval" />
</properties>
- </cache>
- <query-handler class="org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex">
- <properties>
- <property name="index-dir" value="target/cluster_nfs/db1/ws3" />
- <property name="changesfilter-class" value="org.exoplatform.services.jcr.impl.core.query.jbosscache.JBossCacheIndexChangesFilter" />
- <property name="jbosscache-configuration" value="conf/standalone/cluster/test-jbosscache-indexer-config-exoloader_db1_ws3.xml" />
- <property name="max-volatile-time" value="60" />
- <property name="synonymprovider-class" value="org.exoplatform.services.jcr.impl.core.query.lucene.PropertiesSynonymProvider" />
- <property name="synonymprovider-config-path" value="../../../synonyms.properties" />
- <property name="support-highlighting" value="true" />
- <property name="indexing-configuration-path" value="../../../indexing-configuration.xml" />
- <property name="query-class" value="org.exoplatform.services.jcr.impl.core.query.QueryImpl" />
- <property name="spellchecker-class" value="org.exoplatform.services.jcr.impl.core.query.lucene.spell.LuceneSpellChecker$FiveSecondsRefreshInterval" />
- </properties>
</query-handler>
<lock-manager class="org.exoplatform.services.jcr.impl.core.lock.jbosscache.CacheableLockManager">
<properties>
14 years, 3 months
exo-jcr SVN: r1597 - jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc.
by do-not-reply@jboss.org
Author: pnedonosko
Date: 2010-01-27 12:10:05 -0500 (Wed, 27 Jan 2010)
New Revision: 1597
Modified:
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/JDBCWorkspaceDataContainer.java
Log:
EXOJCR-310 log fix about dialect
Modified: jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/JDBCWorkspaceDataContainer.java
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/JDBCWorkspaceDataContainer.java 2010-01-27 16:54:37 UTC (rev 1596)
+++ jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/storage/jdbc/JDBCWorkspaceDataContainer.java 2010-01-27 17:10:05 UTC (rev 1597)
@@ -194,11 +194,9 @@
try
{
pDbDialect = validateDialect(wsConfig.getContainer().getParameterValue(DB_DIALECT));
- LOG.info("Using a dialect '" + pDbDialect + "'");
}
catch (RepositoryConfigurationException e)
{
- LOG.info("Using a default dialect '" + DBConstants.DB_DIALECT_GENERIC + "'");
pDbDialect = DBConstants.DB_DIALECT_GENERIC;
}
@@ -332,6 +330,7 @@
this.dbDialect = pDbDialect;
}
}
+ LOG.info("Using a dialect '" + pDbDialect + "'");
// ------------- Values swap config ------------------
try
14 years, 3 months