You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Bruce Altner <ba...@hq.nasa.gov> on 2002/01/14 20:37:38 UTC

tdk vs tomcat

I recall at one point reading on this list that when development is 
finished on a Turbine app it should be moved out of the tdk and be deployed 
from the tomcat webapps directory. Did I just imagine this, or is it in 
fact the best strategy? If so, what are the major reasons for this move?

Thanks,
Bruce


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


Re: tdk vs tomcat

Posted by Colm McCartan <co...@owl.co.uk>.
Chris Shenton wrote:

> Eric Dobbs <er...@dobbse.net> writes:
> 
> 
>>The thinking behind this suggestion is that you probably already
>>have a running installation of tomcat in production.  Do your
>>development in the TDK.  And when you're satisfied with your app
>>move it to your production tomcat server.
>>
> 
> Are there libraries and such which are available in TDK but not part
> of stock Tomcat? Or is it expected we'd bundle up all libraries and
> such from TDK into a WAR for deployment on Tomcat?


I've had success just dragging the whole webapp directory across to the 
webapps dir under tomcat and updating the server.xml. I think there has 
been some earlier discussion of WARs on the list...




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


RE: tdk vs tomcat

Posted by Benjamin Hille <be...@notuskey.com>.
Turbine needs a real file system to run. it cannot run in memory. I use
JBoss/Jetty with Turbine. It works because JBoss unpack the war in the
filesystem. If you have JBoss have have a look at jboss\tmp\deploy you will
see you war completely unpack there.
I hope it helps,
	Benjamin

-----Original Message-----
From:
turbine-user-return-7739-benjamin.hille=notuskey.com@jakarta.apache.org
[mailto:turbine-user-return-7739-benjamin.hille=notuskey.com@jakarta.apa
che.org]On Behalf Of Steve
Sent: 16 January 2002 05:16
To: Turbine Users List
Subject: RE: tdk vs tomcat


Could you explain what you mean, when you say turbine 2 doesn't work
correctly from a .WAR?  I currently use a turbine 2.1 .WAR (with resin,
however, not Tomcat)

Steve


-----Original Message-----
From: Eric Dobbs [mailto:eric@dobbse.net]
Sent: Tuesday, January 15, 2002 12:45 PM
To: Turbine Users List
Subject: Re: tdk vs tomcat


On Tuesday, January 15, 2002, at 08:54  AM, Chris Shenton wrote:

> Are there libraries and such which are available in TDK but not part
> of stock Tomcat? Or is it expected we'd bundle up all libraries and
> such from TDK into a WAR for deployment on Tomcat?

Pack up tdk/webapps/yourapp into a war file.  Know that Turbine 2 does
not currently work directly from a WAR file.  You must unpack it on
the deployment server.

-Eric

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



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



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


Re: tdk vs tomcat

Posted by Jason van Zyl <jv...@zenplex.com>.
On 1/16/02 12:16 AM, "Steve" <tu...@knology.net> wrote:

> Could you explain what you mean, when you say turbine 2 doesn't work
> correctly from a .WAR?  I currently use a turbine 2.1 .WAR (with resin,
> however, not Tomcat)


A turbine2 application will not work if the WAR file isn't unpacked. If your
container is unpacking the WAR file then everything should be fine. Some
containers like weblogic seem to like to run the webapp right from the WAR
file without unpacking it. This is a problem for turbine 2 and is something
I'm fixing in turbine 3 right now.

> Steve
> 
> 
> -----Original Message-----
> From: Eric Dobbs [mailto:eric@dobbse.net]
> Sent: Tuesday, January 15, 2002 12:45 PM
> To: Turbine Users List
> Subject: Re: tdk vs tomcat
> 
> 
> On Tuesday, January 15, 2002, at 08:54  AM, Chris Shenton wrote:
> 
>> Are there libraries and such which are available in TDK but not part
>> of stock Tomcat? Or is it expected we'd bundle up all libraries and
>> such from TDK into a WAR for deployment on Tomcat?
> 
> Pack up tdk/webapps/yourapp into a war file.  Know that Turbine 2 does
> not currently work directly from a WAR file.  You must unpack it on
> the deployment server.
> 
> -Eric
> 
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

-- 

jvz.

Jason van Zyl

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons



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


RE: tdk vs tomcat

Posted by Steve <tu...@knology.net>.
Could you explain what you mean, when you say turbine 2 doesn't work
correctly from a .WAR?  I currently use a turbine 2.1 .WAR (with resin,
however, not Tomcat)

Steve


-----Original Message-----
From: Eric Dobbs [mailto:eric@dobbse.net]
Sent: Tuesday, January 15, 2002 12:45 PM
To: Turbine Users List
Subject: Re: tdk vs tomcat


On Tuesday, January 15, 2002, at 08:54  AM, Chris Shenton wrote:

> Are there libraries and such which are available in TDK but not part
> of stock Tomcat? Or is it expected we'd bundle up all libraries and
> such from TDK into a WAR for deployment on Tomcat?

Pack up tdk/webapps/yourapp into a war file.  Know that Turbine 2 does
not currently work directly from a WAR file.  You must unpack it on
the deployment server.

-Eric

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



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


Re: tdk vs tomcat

Posted by Eric Dobbs <er...@dobbse.net>.
On Tuesday, January 15, 2002, at 08:54  AM, Chris Shenton wrote:

> Are there libraries and such which are available in TDK but not part
> of stock Tomcat? Or is it expected we'd bundle up all libraries and
> such from TDK into a WAR for deployment on Tomcat?

Pack up tdk/webapps/yourapp into a war file.  Know that Turbine 2 does
not currently work directly from a WAR file.  You must unpack it on
the deployment server.

-Eric

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


Re: tdk vs tomcat

Posted by Jason van Zyl <jv...@zenplex.com>.
On 1/15/02 10:54 AM, "Chris Shenton" <Ch...@hq.nasa.gov> wrote:

> Eric Dobbs <er...@dobbse.net> writes:
> 
>> The thinking behind this suggestion is that you probably already
>> have a running installation of tomcat in production.  Do your
>> development in the TDK.  And when you're satisfied with your app
>> move it to your production tomcat server.
> 
> Are there libraries and such which are available in TDK but not part
> of stock Tomcat? Or is it expected we'd bundle up all libraries and
> such from TDK into a WAR for deployment on Tomcat?

We are going to use distributions of tomcat so tomcat itself will match
normal released versions but we do add many jars to make things work with
the tools that are provided by Turbine.

You might want to take a look at the jakarta-turbine-tdk repository and peek
at the docs. We're open to suggestions if things are clear. What do you want
to see exactly and where do you think we should post it for easy access and
clarity?

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

-- 

jvz.

Jason van Zyl

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons



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


Re: tdk vs tomcat

Posted by Chris Shenton <Ch...@hq.nasa.gov>.
Eric Dobbs <er...@dobbse.net> writes:

> The thinking behind this suggestion is that you probably already
> have a running installation of tomcat in production.  Do your
> development in the TDK.  And when you're satisfied with your app
> move it to your production tomcat server.

Are there libraries and such which are available in TDK but not part
of stock Tomcat? Or is it expected we'd bundle up all libraries and
such from TDK into a WAR for deployment on Tomcat?

Thanks.

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


Re: tdk vs tomcat

Posted by Eric Dobbs <er...@dobbse.net>.
On Monday, January 14, 2002, at 12:37  PM, Bruce Altner wrote:

> I recall at one point reading on this list that when development is 
> finished on a Turbine app it should be moved out of the tdk and be 
> deployed from the tomcat webapps directory. Did I just imagine this, or 
> is it in fact the best strategy? If so, what are the major reasons for 
> this move?

The thinking behind this suggestion is that you probably already
have a running installation of tomcat in production.  Do your
development in the TDK.  And when you're satisfied with your app
move it to your production tomcat server.

-Eric

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