Philip Antoniades wrote:
>
> hello,
>
> I've read about all the docs I can get my hands on, and i suspect i
> still dont get how to properly deploy Components through avalon. But why
> does this code:
Because you didn't use the Component. Try this:
DataSourceComponent ds = new JdbcDataSource();
ds.setLogger(this.getLogger());
ds.compose(this.manager);
ds.configure(conf);
ds.initialize();
The configuration should look like this:
<jdbc-connection>
<!-- if this is not an Oracle databse change oradb -->
<pool-controller min="5" max="10" oradb="true"/>
<dburl>jdbc:oracle:thin:@ORADB:localhost:1521</dburl>
<user>joe</user>
<password>blow</password>
</jdbc-connection>
Also make sure you have already loaded the driver class into the
classloader.
S/MIME Cryptographic Signature