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


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  [EMAIL PROTECTED] |


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to