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.
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.
Thanks in advance,
Oki
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]