avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Benett <char...@benett1.demon.co.uk>
Subject Re: Turbine config
Date Thu, 19 Jul 2001 08:51:01 GMT
Oki DZ wrote:
> 
> Hi,
> 
> I use standalone Turbine for getting the db connection pooling service
> from the James mail server Unfortunately, I have to use two config files
> for defining the database connection; one is in James' and one is in
> TurbineResources.properties. Ideally, one is enough; ie: the James'
> configuration file.
> 
> Problem is, TurbineConfig() insists to read the properties from the config
> file; if the file couldn't be found, then the initialization would fail. I
> think if the properties could be feed into TurbineConfig's parameters
> programmatically, that would be helpful; ie: using java.util.Properties.
> So that TurbineResources.properties file would no longer be needed, and I
> could put the necessary properties in the James' config file.
> 
> I only need the db pooling service from Turbine. Can I just turn off
> all other services and still have the db pooling service?
> 
> BTW, I'd like to join the Avalon user mailing list, but I don't see any.
> There is Avalon-dev, but I think it's kinda scary to join a dev list.

But if you are trying to combine code from multiple projects you are
being a dev. So join the dev list :-)

> Actually, the problem is pretty simple. The JdbcDataSource couldn't be
> used, because the initialize() method in the JdbcConnectionPool doesn't
> invoke its superclass' initialize(), so that the protected m_initialized
> never gets set to be true. Because it's always false, I couldn't get the
> pool; the superclass throws an exception, saying that the object hasn't
> been initialized.

I think it would be easier to get the avalon connection pooling working
in james than to combine with turbine.

But that's just my tupenny thought.

Charles

---------------------------------------------------------------------
To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org


Mime
View raw message