Scott,

Yes we had the exact problem and I had wanted to hit the list with it but hadn't found the the time this week. We got the plugin working in our torque project, which ultimately is used/integrated with a Turbine webapp. I quickly sent the email out about the plugin working, but didn't check that the 3.3-RC2 dep was working correctly with the Turbine webapp side. ( we are using Turbine 2.3.2 as well ).

We checked the release changes for 3.3RC1 -> 3.3RC2 and it was something inbetween there, work on the avalon component and database map. We've had to roll back to RC1 for the time being.

So while I can confirm there is an issue with Turbine & 3.3-RC2, I don't quite know how to solve it. I saw a few jira issues this week about the Avalon torque component in RC2 that may be related.

Scott Eade wrote:
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([EMAIL PROTECTED], [EMAIL PROTECTED]) dsfactory.AbstractDataSourceFactory - applyConfiguration([EMAIL PROTECTED], [EMAIL PROTECTED]) dsfactory.AbstractDataSourceFactory - setSimpleProperty([EMAIL PROTECTED], driver, org.postgresql.Driver) dsfactory.AbstractDataSourceFactory - setSimpleProperty([EMAIL PROTECTED], url, jdbc:postgresql://127.0.0.1:5432/cmesdev) dsfactory.AbstractDataSourceFactory - setSimpleProperty([EMAIL PROTECTED], user, torque) dsfactory.AbstractDataSourceFactory - setSimpleProperty([EMAIL PROTECTED], password, (value not logged))
dsfactory.SharedPoolDataSourceFactory - Starting initJdbc2Pool
dsfactory.AbstractDataSourceFactory - applyConfiguration([EMAIL PROTECTED], [EMAIL PROTECTED]) dsfactory.AbstractDataSourceFactory - applyConfiguration([EMAIL PROTECTED], [EMAIL PROTECTED]) dsfactory.AbstractDataSourceFactory - setSimpleProperty([EMAIL PROTECTED], maxActive, 10) dsfactory.AbstractDataSourceFactory - setSimpleProperty([EMAIL PROTECTED], testOnBorrow, true) dsfactory.AbstractDataSourceFactory - setSimpleProperty([EMAIL PROTECTED], 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.

--
=====================================================================
Jeffrey D. Brekke                                   [EMAIL PROTECTED]
Wisconsin,  USA                                     [EMAIL PROTECTED]
                                                    [EMAIL PROTECTED]
http://www.bloglines.com/blog/jbrekke               [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to