haul 02/03/15 07:28:16 Modified: src/java/org/apache/cocoon cocoon.roles Log: replace excalibur jdbc datasource with excalibur scratchpad ResourceLimitingJdbcDataSource because it doesn't require the DB to be present at startup. Thus no race condition with starting HSQLDB anymore. Revision Changes Path 1.16 +16 -1 xml-cocoon2/src/java/org/apache/cocoon/cocoon.roles Index: cocoon.roles =================================================================== RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/cocoon.roles,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- cocoon.roles 13 Mar 2002 16:28:02 -0000 1.15 +++ cocoon.roles 15 Mar 2002 15:28:16 -0000 1.16 @@ -96,7 +96,8 @@ <role name="org.apache.avalon.excalibur.datasource.DataSourceComponentSelector" shorthand="datasources" default-class="org.apache.avalon.excalibur.component.ExcaliburComponentSelector"> - <hint shorthand="jdbc" class="org.apache.avalon.excalibur.datasource.JdbcDataSource"/> + <hint shorthand="jdbc" class="org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource"/> + <!-- hint shorthand="jdbc" class="org.apache.avalon.excalibur.datasource.JdbcDataSource"/ --> <hint shorthand="j2ee" class="org.apache.avalon.excalibur.datasource.J2eeDataSource"/> <hint shorthand="informix" class="org.apache.avalon.excalibur.datasource.InformixDataSource"/> </role> @@ -189,6 +190,20 @@ <role name="org.apache.cocoon.reading.ReaderSelector" shorthand="readers" default-class="org.apache.cocoon.sitemap.DefaultSitemapComponentSelector"/> + + <!-- input / output / database modules --> + + <role name="org.apache.cocoon.components.modules.input.InputModuleSelector" + shorthand="input-modules" + default-class="org.apache.avalon.excalibur.component.ExcaliburComponentSelector"/> + + <role name="org.apache.cocoon.components.modules.input.OutputModuleSelector" + shorthand="output-modules" + default-class="org.apache.avalon.excalibur.component.ExcaliburComponentSelector"/> + + <role name="org.apache.cocoon.components.modules.database.AutoIncrementModuleSelector" + shorthand="autoincrement-modules" + default-class="org.apache.avalon.excalibur.component.ExcaliburComponentSelector"/> <!-- DEPRECATED, use the xml-parser instead ! -->
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]