db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Eade <se...@backstagetech.com.au>
Subject Torque 3.3.RC2 problem with turbine applications
Date Tue, 13 Mar 2007 05:54:26 GMT
At some stage between 3.3.RC1 and 3.3.RC2 a change to torque was made 
that broke things for the TurbineAvalonComponentService.

Using turbine (2.3.2) and torque 3.3.RC2, after torque starts up it is 
immediately disposed of and hence any queries that are executed are 
greeted with a TorqueException that indicates "Torque is not initialized".

Here is the relevant chunk of the start up log:

avalon - added Role org.apache.torque.avalon.Torque with shorthand 
torque for org.apache.torque.avalon.TorqueComponent
avalon - looking up shorthand torque, returning 
org.apache.torque.avalon.Torque
avalon - Adding component (org.apache.torque.avalon.Torque = 
org.apache.torque.avalon.TorqueComponent)
avalon - Attempting to get Handler for role 
[org.apache.torque.avalon.Torque]
avalon - Handler type = 
org.apache.avalon.excalibur.component.DefaultComponentHandler
avalon - ComponentHandler initialized for: 
org.apache.torque.avalon.TorqueComponent
avalon - ComponentFactory creating new instance of 
org.apache.torque.avalon.TorqueComponent.
avalon - no logger attribute available, using standard logger
avalon - configure(torque::<no 
value>:@file:/S:/eclipse-workspace/cmes-dev/target/deploy/dev-m2/WEB-INF/conf/componentConfiguration.xml:7:13)


avalon - Config File is 
S:\eclipse-workspace\cmes-dev\target\deploy\dev-m2\WEB-INF/conf/Torque.properties 

avalon - initialize()
dsfactory.AbstractDataSourceFactory - Starting initCPDS
dsfactory.AbstractDataSourceFactory - 
applyConfiguration(org.apache.commons.configuration.SubsetConfiguration@1a9cf52, 
org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@16a23cf)
dsfactory.AbstractDataSourceFactory - 
applyConfiguration(org.apache.commons.configuration.SubsetConfiguration@31bcc8, 
org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@16a23cf)
dsfactory.AbstractDataSourceFactory - 
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@16a23cf, 
driver, org.postgresql.Driver)
dsfactory.AbstractDataSourceFactory - 
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@16a23cf, 
url, jdbc:postgresql://127.0.0.1:5432/cmesdev)
dsfactory.AbstractDataSourceFactory - 
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@16a23cf, 
user, torque)
dsfactory.AbstractDataSourceFactory - 
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@16a23cf, 
password,  (value not logged))
dsfactory.SharedPoolDataSourceFactory - Starting initJdbc2Pool
dsfactory.AbstractDataSourceFactory - 
applyConfiguration(org.apache.commons.configuration.SubsetConfiguration@1ef45e0, 
org.apache.commons.dbcp.datasources.SharedPoolDataSource@1d47f59)
dsfactory.AbstractDataSourceFactory - 
applyConfiguration(org.apache.commons.configuration.SubsetConfiguration@f3770c, 
org.apache.commons.dbcp.datasources.SharedPoolDataSource@1d47f59)
dsfactory.AbstractDataSourceFactory - 
setSimpleProperty(org.apache.commons.dbcp.datasources.SharedPoolDataSource@1d47f59, 
maxActive, 10)
dsfactory.AbstractDataSourceFactory - 
setSimpleProperty(org.apache.commons.dbcp.datasources.SharedPoolDataSource@1d47f59, 
testOnBorrow, true)
dsfactory.AbstractDataSourceFactory - 
setSimpleProperty(org.apache.commons.dbcp.datasources.SharedPoolDataSource@1d47f59, 
validationQuery, SELECT 1)
avaloncomponent.TurbineAvalonComponentService - Lookup for Component 
org.apache.torque.avalon.Torque successful
avalon - ComponentFactory decommissioning instance of 
org.apache.torque.avalon.TorqueComponent.
avalon - dispose()

Jeffery Brekkie has confirmed this behaviour (despite his initial 
comment that RC2 was all good).  There are a few items in the changelog 
that could impact this area.

Jeffery and I have both reverted to RC1 for now pending further 
investigation.

Scott

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


Mime
View raw message