I'm writing demo for DataSource block, which will get me JdbcConnection from
the pool.
I'm using
"org.apache.avalon.cornerstone.services.datasource.DataSourceSelector" to
get the DataSourceComponent from the excalibur package.

But i'm finding it difficult to set the configration data for this block.
Phoenix is throws exception at "DefaultSarDeployer".

I have gone through "Developing with Avalon" developer guide and Phoenix
assemblers guide. still i'm not getting how this has to be done.Can any one
please give me the sample configration data for the DataSource block. And
explain how it will work?

regards,

---------------
"Eung-ju Park" wrote:-

> See org.apache.avalon.cornerstone.services.datasource.DataSourceSelector
and
> org.apache.avalon.cornerstone.blocks.datasource.DefaultDataSourceSelector.
> DataSourceSelector is ComponentSelector for
> org.apache.avalon.excalibur.datasource.DataSourceComponent.

----------
"umashanker"  wrote:
> > I am new to Avalon,  and going through excalibur components and
> cornerstone
> > blocks.
> >
> > The demos which are given for phoenix container is working fine.
> >
> > All the service/blocks are using the ComponentManager-  to load the
> > components.
> >
> > Is there any demo service/block which uses ComponentSelector?( for the
> > DataSource block)
> >
> > if NO , how to create it?
> >
> > regards,
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>




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

Reply via email to