avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: new to avalon -- problems
Date Fri, 28 Dec 2001 15:07:05 GMT
Patrick Hess wrote:

> 
> Hmmm, now I'm getting this after fixing the wrong parameter in <jdbc>:


What does your role file look like?


> 
> 
> DEBUG   10095   [document] (): ComponentFactory creating new instance of 
> org.apache.avalon.excalibur.datasource.JdbcDataSource.
> 
> DEBUG   10095   [document] (): Loading new driver: org.gjt.mm.mysql.Driver
> 
> DEBUG   10095   [document] (): ComponentHandler initialized for: 
> org.apache.avalon.excalibur.datasource.JdbcDataSource
> 
> DEBUG   10095   [document] (): Adding 
> org.apache.avalon.excalibur.datasource.JdbcDataSource for documents
> 
> DEBUG   10095   [document] (): ComponentHandler initialized for: 
> org.apache.avalon.excalibur.component.ExcaliburComponentSelector
> 
> DEBUG   10095   [document] (): Could not find ComponentHandler, 
> attempting to create one for role: 
> org.apache.avalon.excalibur.datasource.DataSourceComponent
> 
> org.apache.avalon.framework.component.ComponentException: 
> ComponentManager Could not find component for role: 
> org.apache.avalon.excalibur.datasource.DataSourceComponent
> 
>     at 
> org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(Unknown 
> Source)
> 
> 
> my current datasources:
> 
>   <datasources>
>     <jdbc name="documents">
>       <pool-controller min="5" max="10" />
>       <auto-commit>false</auto-commit>
>       <driver>org.gjt.mm.mysql.Driver</driver>
>       <dburl>jdbc:mysql://1.2.3.4/mydb</dburl>
>       <user>user</user>
>       <password>secret</password>
>     </jdbc>
>   </datasources>
> 
> 
> my current roles:
> 
>   <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" />
>   </role>
> 
> Can anyone help?? :-)
> 
> Patrick Hess
> 
> | metazoa GmbH        | fon   +49-211-175447-20 |
> | Erkrather Str. 206  | fax   +49-211-175447-27 |
> | 40233 Düsseldorf    | mail  p.hess@metazoa.de |
> 
> 
> -- 
> To unsubscribe, e-mail:   
> <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:avalon-dev-help@jakarta.apache.org>
> 
> .
> 



-- 

"They that give up essential liberty to obtain a little temporary safety
  deserve neither liberty nor safety."
                 - Benjamin Franklin


--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message