While I have no experience with Phoenix and the blockinfo, here is my
datasource component config using mySQL:

   <connection-pools>
        <jdbc name="partstore">
            <driver>org.gjt.mm.mysql.Driver</driver>
            <dburl>jdbc:mysql://localhost/partstore</dburl>
            <user/>
            <password/>
            <pool-controller max="4" min="2">
                <keep-alive disable="false"/>
            </pool-controller>
            <auto-commit>false</auto-commit>
        </jdbc>
    </connection-pools>

and here is the portion from the roles.xml (which ECM uses):
        <role
name="org.apache.avalon.excalibur.datasource.DataSourceComponentSelector
" 
                    shorthand="connection-pools" 
        
default-class="org.apache.avalon.excalibur.component.ExcaliburComponentS
elector">
                    <hint shorthand="jdbc"
class="org.apache.avalon.excalibur.datasource.JdbcDataSource" />
        </role>

- Robert



-----Original Message-----
From: Patric Forsgard [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, October 15, 2002 3:22 AM
To: [EMAIL PROTECTED]
Subject: Avalon phoeninx and excaliburs datasource-component

Hello.

I have a littel problem with Avalon Phoenix to use excaliburs
datasource-component and mYSQL-server.

Have someone a pretty exampel on how I can use the datasource-component
(with configfile and blockinfo) in phoenix and will share it with me.
I have test many different code in 2 weeks time and canīt get it to
work.

Best Regards Patric


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



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

Reply via email to