What if, instead of using the short names <datasources> and <jdbc>, you declare the datasource like so:
<component role="org.apache.avalon.excalibur.datasource.DataSourceComponent/quartz"
class="org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource">
<pool-controller max="10" min="5"/> <dburl>jdbc:postgresql://localhost/quartz</dburl> <user>cocoon</user> <password>*************</password> </component>
I was under the impression that ECM would transparently map the short name form and the above form to the same lookup semantics. (serviceManager.lookup(DataSourceComponent.ROLE + "/quartz")) Perhaps I was wrong and it is only Fortress that does that.
You have to lookup selector first, and then, "quartz" from selector.
Vadim
