cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kazó Csaba <kazocs...@freemail.hu>
Subject Re: [jira] Commented: (COCOON-2106) DatabaseReader and SQLTransformer cannot obtain datasource
Date Tue, 18 Sep 2007 05:48:38 GMT
> <bean name="org.apache.avalon.excalibur.datasource.DataSourceComponent/personnel"
>             class="org.apache.cocoon.databases.bridge.spring.avalon.SpringToAvalonDataSourceWrapper">
>   <property name="wrappedBean">
>     <bean name="org.apache.avalon.excalibur.datasource.DataSourceComponent/personnel"
>           class="org.springframework.jdbc.datasource.DriverManagerDataSource">
>       (...)
>     </bean>
>   </property>
> </bean>
> 
> Csaba, could you try if this works for you?

Sure, I'll check it as soon as I can. As a matter of fact I tried it just now but the cocoon-databases-bridge
block (which I guess I need now) won't start because its config [1] references the non-existent
class org.apache.cocoon.core.container.spring.avalon.SpringToAvalonDataSourceBridge. (I believe
it has been moved to the package org.apache.cocoon.databases.bridge.spring.avalon, at least
based on a file search.)

Csaba

[1] http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-databases/cocoon-databases-bridge/src/main/resources/META-INF/cocoon/spring/SpringToAvalonDataSourceBridge.xml?view=markup

Mime
View raw message