cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: Problems with Quartz JobStore
Date Mon, 08 Nov 2004 14:15:09 GMT
Unico Hommes wrote:
> 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

Mime
View raw message