Here is my entire roles file. Some of the data source entries came from the ECM days I believe (which I'm not using anymore) and I forgot where I got the other examples from, but at the moment they are all commented out. I've tried changing the shorthand names, hints, etc. and nothing helped unfortunately.
Just for completion sake I've included the config snippet that calls out the datasource below the roles list. Thanks a bunch, Robert <role-list> <!-- other service roles are here --> <!-- <role name="org.apache.avalon.excalibur.datasource.DataSourceComponentSelector" shorthand="jdbc-datasource" default-class="org.apache.avalon.excalibur.component.ExcaliburComponentSelector"> <hint shorthand="jdbc" class="org.apache.avalon.excalibur.datasource.JdbcDataSource"/> <hint shorthand="j2ee" class="org.apache.avalon.excalibur.datasource.J2eeDataSource"/> </role> --> <!-- <role name="org.apache.avalon.excalibur.datasource.DataSourceComponent"> <component shorthand="jdbc-datasource" class="org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource" handler="org.apache.avalon.fortress.impl.handler.FactoryComponentHandler"> <hint shorthand="jdbc" class="org.apache.avalon.excalibur.datasource.JdbcDataSource" /> </component> </role> --> <!-- <role name="org.apache.avalon.excalibur.datasource.DataSourceComponent"> <component shorthand="jdbc-datasource" class="org.apache.avalon.excalibur.component.ExcaliburComponentSelector"> <hint shorthand="jdbc" class="org.apache.avalon.excalibur.datasource.JdbcDataSource" /> </component> </role> --> </role-list> <foundation xml:space='preserve'> <persistence-service id="persistence-service"> <jdbc-datasource id="jdbcSource"> <driver>COM.ibm.db2.jdbc.app.DB2Driver</driver> <dburl>jdbc:db2:UDEW001P</dburl> <user>USUER</user> <password>PASSWORD</password> <pool-controller min="1" max="1"> <keep-alive disable="false"/> </pool-controller> <auto-commit>false</auto-commit> </jdbc-datasource> "Farr, Aaron" <[EMAIL PROTECTED]> 02/04/2004 01:49 PM Please respond to "Avalon framework users" <[EMAIL PROTECTED]> To "'Avalon framework users'" <[EMAIL PROTECTED]> cc Subject RE: excalibur connection pool > -----Original Message----- > From: Robert McIntosh [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 04, 2004 1:43 PM > To: [EMAIL PROTECTED] > Subject: excalibur connection pool > > I've been trying for a day now to get a connection pool setup with no > luck. I get the following exception: > > Unable to provide implementation for > org.apache.avalon.excalibur.datasource.DataSourceComponent > (Key='org.apache.avalon.excalibur.datasource.DataSourceComponent') <snip/> > Any thoughts?? This is usually something to do with the meta data or roles file. I assume you're looking up the service via something like: serviceManager.lookup(DataSourceComponent.ROLE); Can you post one of your role files? J. Aaron Farr SONY ELECTRONICS DDP-CIM (724) 696-7653 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ******************* PLEASE NOTE ******************* This message, along with any attachments, may be confidential or legally privileged. It is intended only for the named person(s), who is/are the only authorized recipients. If this message has reached you in error, please notify the sender immediately and promptly destroy it without review. Dissemination, distribution or copying of this communication is strictly prohibited. Thank you for your help. **********************************************************