You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Fabio Daprile <fa...@wuerth-phoenix.com> on 2002/05/09 11:59:25 UTC

Re: Migrate from TDK 2.1 to 2.2. Follow!

Heloo Eric,

i've tried to do what is written in your post, but i have some problems.
First i'm using Torque to generate the peers to access the database.
I've seen that there are some differences in the turbine classes.
For example a property NONE is missing in turbine.util.db.map.tableMap.

So i think i'll have to rebuild all the OM, and also change all the XML 
and configuration files.

If i simply replace the jars and update the TR.properties, put the app 
dir under tomcat/webapps, when try to
access the servlet i got the following exception:

Horrible Exception: java.lang.NoSuchMethodError
	at org.apache.turbine.services.localization.LocalizationTool.init(LocalizationTool.java:162)
	at org.apache.turbine.services.pull.TurbinePullService.populateWithRequestTools(TurbinePullService.java:479)
	at org.apache.turbine.services.pull.TurbinePullService.populateContext(TurbinePullService.java:415) 


I think i'll need some more detailed explanation of the all process.

I thank you anyway and wait for some more detailed informations!

Anyway a migration tutorial would be a great thing.
If we can put together all the necessary informations i can write the 
HowTo and publish it!

thx  

Fabio Daprile


Eric Dobbs wrote:

>
> On Wednesday, May 8, 2002, at 12:31  PM, Eric Dobbs wrote:
>
>> On Wednesday, May 8, 2002, at 09:40  AM, Fabio Daprile wrote:
>>
>>> I would like to migrate from TDK 2.1 to 2.2.
>>
>>
>> Please see this post from a few weeks ago:
>> <http://makeashorterlink.com/?M504125D>
>
>
>
> I should also add that there have been other reports in
> turbine-user in the past couple weeks that 2.2's security
> is still using the coupled torque code, and that the
> upload stuff is still tied to the coupled fulcrum services.
> I don't have handy links to those threads, but if you
> browse the archive for messages in the past few weeks you
> will find reference to these issues.
>
> -Eric
>
> -- 
> To unsubscribe, e-mail:   
> <ma...@jakarta.apache.org>
> For additional commands, e-mail: 
> <ma...@jakarta.apache.org>
>

-- 

-- 
Fabio Daprile

Würth-Phoenix Srl
Via Kravogl 4, I-39100 Bolzano
Tel: +39 0471/564111 - (direct 564070)
Fax: +39 0471/564122

mailto:fabio.daprile@wuerth-phoenix.com
http://www.wuerth-phoenix.com
http://www.wuerth.com





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Migrate from TDK 2.1 to 2.2. Follow!

Posted by Eric Dobbs <er...@dobbse.net>.
On Tuesday, May 14, 2002, at 01:00  AM, Fabio Daprile wrote:

> I'm sorry but there ha been a misunderstanding. I'm using TDK 2.1, not 
> the decoupled torque.
>
> I've done what you suggested in your post, but that did not work.

I'm afraid I don't have any more details to
offer.  Sorry I couldn't help more.

-Eric

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Migrate from TDK 2.1 to 2.2. Follow!

Posted by Fabio Daprile <fa...@wuerth-phoenix.com>.
Hello Eric,

I'm sorry but there ha been a misunderstanding. I'm using TDK 2.1, not 
the decoupled torque.

I've done what you suggested in your post, but that did not work.

bye!


Eric Dobbs wrote:

> On Thursday, May 9, 2002, at 03:59  AM, Fabio Daprile wrote:
>
>> i've tried to do what is written in your post, but i have some problems.
>> First i'm using Torque to generate the peers to access the database.
>> I've seen that there are some differences in the turbine classes.
>> For example a property NONE is missing in turbine.util.db.map.tableMap.
>
>
> Hi Fabio.
>
> If I understand you correctly, you have already started
> with Torque and are now trying to use Turbine and the
> TDK.  Is that correct?
>
> If so you are working on a different problem than I was
> describing originally.  You might have a somewhat
> easier time of it.
>
> If you have used the decoupled Torque alone, then you
> will be familiar with the Torque.properties file.  In
> Turbine 2.2 beta the decoupled Torque and Fulcrum are
> loaded as components.  Here's an example of how to
> tell Turbine to start Torque as a component:
>
> TurbineResources.properties:
>
> component.name = torque
> component.torque.classname = org.apache.torque.Torque
> component.torque.config = /path/to/Torque.properties
>
> This should allow you to use objects you have created
> using the decoupled Torque without further
> modification.
>
> Be alert as you develop in this way.  Because Turbine
> 2.2 still has the old coupled torque code within, you
> probably need to be careful about which classes you
> import in your code.  Mixing classes between the two
> versions of torque could cause some confusing problems.
> I should add that I haven't actually tried using both
> Torque versions yet (we are still using the old Torque
> stuff in our apps for the time being).
>
> Please also take a look at my other post titled
> "Which to choose: Turbine 2.1, 2.2 or 3.0" for more
> info.
>
> Hope that helps more than it confuses.  8^)
> -Eric
>
> -- 
> To unsubscribe, e-mail:   
> <ma...@jakarta.apache.org>
> For additional commands, e-mail: 
> <ma...@jakarta.apache.org>
>

-- 

-- 
Fabio Daprile

Würth-Phoenix Srl
Via Kravogl 4, I-39100 Bolzano
Tel: +39 0471/564111 - (direct 564070)
Fax: +39 0471/564122

mailto:fabio.daprile@wuerth-phoenix.com
http://www.wuerth-phoenix.com
http://www.wuerth.com





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Migrate from TDK 2.1 to 2.2. Follow!

Posted by Eric Dobbs <er...@dobbse.net>.
On Thursday, May 9, 2002, at 03:59  AM, Fabio Daprile wrote:

> i've tried to do what is written in your post, but i have some problems.
> First i'm using Torque to generate the peers to access the database.
> I've seen that there are some differences in the turbine classes.
> For example a property NONE is missing in turbine.util.db.map.tableMap.

Hi Fabio.

If I understand you correctly, you have already started
with Torque and are now trying to use Turbine and the
TDK.  Is that correct?

If so you are working on a different problem than I was
describing originally.  You might have a somewhat
easier time of it.

If you have used the decoupled Torque alone, then you
will be familiar with the Torque.properties file.  In
Turbine 2.2 beta the decoupled Torque and Fulcrum are
loaded as components.  Here's an example of how to
tell Turbine to start Torque as a component:

TurbineResources.properties:

component.name = torque
component.torque.classname = org.apache.torque.Torque
component.torque.config = /path/to/Torque.properties

This should allow you to use objects you have created
using the decoupled Torque without further
modification.

Be alert as you develop in this way.  Because Turbine
2.2 still has the old coupled torque code within, you
probably need to be careful about which classes you
import in your code.  Mixing classes between the two
versions of torque could cause some confusing problems.
I should add that I haven't actually tried using both
Torque versions yet (we are still using the old Torque
stuff in our apps for the time being).

Please also take a look at my other post titled
"Which to choose: Turbine 2.1, 2.2 or 3.0" for more
info.

Hope that helps more than it confuses.  8^)
-Eric

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>