Patrick Hess wrote: > > Berin Loritsch wrote: > >>> Hmmm, now I'm getting this after fixing the wrong parameter in <jdbc>: >> >> >> What does your role file look like?
Are you calling the lookup like this: manager.lookup( DataSourceComponent.ROLE + "Selector" ); //? If you want to use DataSourceComponent.ROLE alone, then the roles file needs to change the role name for the DatasourceComponent to remove the "Selector" designator at the end. > > > > This is the complete role file: > > <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> > <role name="de.jxe.test.DocumentRepository" shorthand="repository" > default-class="de.jxe.test.DatabaseDocumentRepository" /> > > <role name="de.jxe.test.DocumentRepository" shorthand="simple" > default-class="de.jxe.test.SimpleDocumentRepository" /> > </roles> > > 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]> > > . > -- "They that give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." - Benjamin Franklin -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
