db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Eade <se...@backstagetech.com.au>
Subject Re: 3.3RC2 Maven2 Plugin usage
Date Fri, 09 Mar 2007 13:09:44 GMT
Jeffrey D. Brekke wrote:
> We've converted our project 
> over to 3.3-RC2 ( which is using the maven2 plugin as well ). All is 
> working good.  Thanks again.
Hi Jeffrey,

I am having a crack at moving a turbine (2.3.2) project over to m2 and 
torque 3.3.rc2 but I am running into a problem whereby 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()

Did you happen to experience something similar or do you have any advice 
as to where I might look for a solution to this problem.

TIA,

Scott


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


Mime
View raw message