You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Filippos Slavik <fs...@forthnet.gr> on 2003/12/07 22:18:25 UTC

Turbine 2.x based apps and WAR/EAR issues.

Dear All, 

I'm working in FORTHnet S.A. (http://www.forthnet.gr) , a Greek 
Telecommunication company, where we have created several mission critical 
application based on Turbine 2.x.

The most annoying problem we have with this excellent tool is that we can't 
deploy our turbine based application directly to our web application 
container in WAR format. The reason is surely well known to all of you (call 
me getRealPath() and direct File access in several locations of the turbine 
project source code). Certainly there are workarounds, like unzipping the 
application's war file to the application server's "web-app" dir (this is our 
workaround for WLS7.1) or by using the "applicationRoot" init parameter in 
the application's web.xml. These kind of solutions may work but surely are 
not well suited for production systems and for clustered environments. 
Moreover, with EAR modules the problem is more complicated (actually we don't 
have a workaround for this kind of scenario).

The reason I'm posting this e-mail is that I'm willing to help and apply 
patches, but I hesitate since, I don't know if there is already an effort at 
that direction (turbine 2.4-dev perhapds) or some kind of proposals for 
resolving this issue in the turbine-dev community (I've just subscribed to 
the list). Can anyone suggests or give me some directions ?

Best Regards
Filippos Slavik



-- 
####################################################################
Filippos Slavik
FORTHnet R&D, Heraklion, Greece
e-mail : fsla@forthnet.gr
phone : (+30) 2811 391230
Key ID: 0xF4B5B375 Filippos Slavik(search pgp.mit.edu)
Key FingerPrint: 81D4 25D0 01EB 9DCA 62E4  B694 20E7 31FB F4B5 B375
####################################################################

"The software said 'runs on Win95 or better,' so I installed it
on Linux..."




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


Re: Turbine 2.x based apps and WAR/EAR issues.

Posted by Scott Eade <se...@backstagetech.com.au>.
Filippos Slavik wrote:

>I think it would be better to patch against TURBINE_2_3_BRANCH or TURBINE_2_3 
>version, since the T2.4 version is fair away from becoming the current stable 
>release and this issue should be fixed ASAP, therefore I believe the 
>TURBINE_2_3_BRANCH is a more appropriate place to patch and code. If the 
>patch, which I'm willing to produce, will be ok then perhaps a T2.3.1 version 
>could be produced soon enough. What do you think ?
>
It depends on the type of functionality and how urgently it is required.
Usually new functionality or major refactoring of old functionality will 
be done at cvs HEAD.  If the patch is to fix a bug or to provide a minor 
functional improvement that will benefit users of the existing stable 
then patches should be submitted for both the branch (in this case 
TURBINE_2_3_BRANCH and HEAD). 

>Ohh... Where do I send patches ?
>
You can submit code to this list or attach it to a Torque Source issue 
in Scarab.  See http://jakarta.apache.org/site/source.html#Patches for 
info on the patch format.

Cheers,

Scott

-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au





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


RE: Turbine 2.x based apps and WAR/EAR issues.

Posted by Eric Pugh <ep...@upstate.com>.
In the areas that you are talking about, 2.4 and 2.3 are identical.  2.4 is
mainly focused on the services end of turbine.  If you can submit patches to
one, I'll take care of tweaking them to work with the other one.

Send patches to the list works best...

Eric

> -----Original Message-----
> From: Filippos Slavik [mailto:fsla@forthnet.gr]
> Sent: Monday, December 08, 2003 4:04 PM
> To: epugh@upstate.com; 'Turbine Developers List'
> Subject: Re: Turbine 2.x based apps and WAR/EAR issues.
>
>
> On Sunday 07 December 2003 23:38, Eric Pugh wrote:
> > Hi Filippos,
> >
> > Welcome aboard!  There have been other people wishing to
> have this issue
> > fixed as well.  However not much effort has happened on this front.
> > However, it would be a very valuable patch to have.  Take a
> look at T2.4,
> > from CVS, make sure you can compile and run the unit tests
> and that would
> > be great!
> >
> > I'd love to see some patches in this area.
>
> Eric, thank's for your fast response.
>
> I think it would be better to patch against
> TURBINE_2_3_BRANCH or TURBINE_2_3
> version, since the T2.4 version is fair away from becoming
> the current stable
> release and this issue should be fixed ASAP, therefore I believe the
> TURBINE_2_3_BRANCH is a more appropriate place to patch and
> code. If the
> patch, which I'm willing to produce, will be ok then perhaps
> a T2.3.1 version
> could be produced soon enough. What do you think ?
>
> Ohh... Where do I send patches ?
>
> >
> > Eric
>
> Regards
> Filippos Slavik
>
> >
> > > -----Original Message-----
> > > From: Filippos Slavik [mailto:fsla@forthnet.gr]
> > > Sent: Sunday, December 07, 2003 9:18 PM
> > > To: turbine-dev@jakarta.apache.org
> > > Subject: Turbine 2.x based apps and WAR/EAR issues.
> > >
> > >
> > > Dear All,
> > >
> > > I'm working in FORTHnet S.A. (http://www.forthnet.gr) , a Greek
> > > Telecommunication company, where we have created several
> > > mission critical
> > > application based on Turbine 2.x.
> > >
> > > The most annoying problem we have with this excellent tool is
> > > that we can't
> > > deploy our turbine based application directly to our web
> application
> > > container in WAR format. The reason is surely well known to
> > > all of you (call
> > > me getRealPath() and direct File access in several locations
> > > of the turbine
> > > project source code). Certainly there are workarounds, like
> > > unzipping the
> > > application's war file to the application server's "web-app"
> > > dir (this is our
> > > workaround for WLS7.1) or by using the "applicationRoot" init
> > > parameter in
> > > the application's web.xml. These kind of solutions may work
> > > but surely are
> > > not well suited for production systems and for clustered
> > > environments.
> > > Moreover, with EAR modules the problem is more complicated
> > > (actually we don't
> > > have a workaround for this kind of scenario).
> > >
> > > The reason I'm posting this e-mail is that I'm willing to
> > > help and apply
> > > patches, but I hesitate since, I don't know if there is
> > > already an effort at
> > > that direction (turbine 2.4-dev perhapds) or some kind of
> > > proposals for
> > > resolving this issue in the turbine-dev community (I've just
> > > subscribed to
> > > the list). Can anyone suggests or give me some directions ?
> > >
> > > Best Regards
> > > Filippos Slavik
> > >
> > >
> > >
> > > --
> > >
> ####################################################################
> > > Filippos Slavik
> > > FORTHnet R&D, Heraklion, Greece
> > > e-mail : fsla@forthnet.gr
> > > phone : (+30) 2811 391230
> > > Key ID: 0xF4B5B375 Filippos Slavik(search pgp.mit.edu)
> > > Key FingerPrint: 81D4 25D0 01EB 9DCA 62E4  B694 20E7 31FB
> F4B5 B375
> > >
> ####################################################################
> > >
> > > "The software said 'runs on Win95 or better,' so I installed it
> > > on Linux..."
> > >
> > >
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> turbine-dev-help@jakarta.apache.org
>
> --
> ####################################################################
> Filippos Slavik
> FORTHnet R&D, Heraklion, Greece
> e-mail : fsla@forthnet.gr
> phone : (+30) 2811 391230
> Key ID: 0xF4B5B375 Filippos Slavik(search pgp.mit.edu)
> Key FingerPrint: 81D4 25D0 01EB 9DCA 62E4  B694 20E7 31FB F4B5 B375
> ####################################################################
>
> "The software said 'runs on Win95 or better,' so I installed it
> on Linux..."
>
>


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


Re: Turbine 2.x based apps and WAR/EAR issues.

Posted by Filippos Slavik <fs...@forthnet.gr>.
On Sunday 07 December 2003 23:38, Eric Pugh wrote:
> Hi Filippos,
>
> Welcome aboard!  There have been other people wishing to have this issue
> fixed as well.  However not much effort has happened on this front.
> However, it would be a very valuable patch to have.  Take a look at T2.4,
> from CVS, make sure you can compile and run the unit tests and that would
> be great!
>
> I'd love to see some patches in this area.

Eric, thank's for your fast response. 

I think it would be better to patch against TURBINE_2_3_BRANCH or TURBINE_2_3 
version, since the T2.4 version is fair away from becoming the current stable 
release and this issue should be fixed ASAP, therefore I believe the 
TURBINE_2_3_BRANCH is a more appropriate place to patch and code. If the 
patch, which I'm willing to produce, will be ok then perhaps a T2.3.1 version 
could be produced soon enough. What do you think ?

Ohh... Where do I send patches ?

>
> Eric

Regards
Filippos Slavik
 
>
> > -----Original Message-----
> > From: Filippos Slavik [mailto:fsla@forthnet.gr]
> > Sent: Sunday, December 07, 2003 9:18 PM
> > To: turbine-dev@jakarta.apache.org
> > Subject: Turbine 2.x based apps and WAR/EAR issues.
> >
> >
> > Dear All,
> >
> > I'm working in FORTHnet S.A. (http://www.forthnet.gr) , a Greek
> > Telecommunication company, where we have created several
> > mission critical
> > application based on Turbine 2.x.
> >
> > The most annoying problem we have with this excellent tool is
> > that we can't
> > deploy our turbine based application directly to our web application
> > container in WAR format. The reason is surely well known to
> > all of you (call
> > me getRealPath() and direct File access in several locations
> > of the turbine
> > project source code). Certainly there are workarounds, like
> > unzipping the
> > application's war file to the application server's "web-app"
> > dir (this is our
> > workaround for WLS7.1) or by using the "applicationRoot" init
> > parameter in
> > the application's web.xml. These kind of solutions may work
> > but surely are
> > not well suited for production systems and for clustered
> > environments.
> > Moreover, with EAR modules the problem is more complicated
> > (actually we don't
> > have a workaround for this kind of scenario).
> >
> > The reason I'm posting this e-mail is that I'm willing to
> > help and apply
> > patches, but I hesitate since, I don't know if there is
> > already an effort at
> > that direction (turbine 2.4-dev perhapds) or some kind of
> > proposals for
> > resolving this issue in the turbine-dev community (I've just
> > subscribed to
> > the list). Can anyone suggests or give me some directions ?
> >
> > Best Regards
> > Filippos Slavik
> >
> >
> >
> > --
> > ####################################################################
> > Filippos Slavik
> > FORTHnet R&D, Heraklion, Greece
> > e-mail : fsla@forthnet.gr
> > phone : (+30) 2811 391230
> > Key ID: 0xF4B5B375 Filippos Slavik(search pgp.mit.edu)
> > Key FingerPrint: 81D4 25D0 01EB 9DCA 62E4  B694 20E7 31FB F4B5 B375
> > ####################################################################
> >
> > "The software said 'runs on Win95 or better,' so I installed it
> > on Linux..."
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: turbine-dev-help@jakarta.apache.org

-- 
####################################################################
Filippos Slavik
FORTHnet R&D, Heraklion, Greece
e-mail : fsla@forthnet.gr
phone : (+30) 2811 391230
Key ID: 0xF4B5B375 Filippos Slavik(search pgp.mit.edu)
Key FingerPrint: 81D4 25D0 01EB 9DCA 62E4  B694 20E7 31FB F4B5 B375
####################################################################

"The software said 'runs on Win95 or better,' so I installed it
on Linux..."




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


RE: Turbine 2.x based apps and WAR/EAR issues.

Posted by Eric Pugh <ep...@upstate.com>.
Hi Filippos,

Welcome aboard!  There have been other people wishing to have this issue
fixed as well.  However not much effort has happened on this front.
However, it would be a very valuable patch to have.  Take a look at T2.4,
from CVS, make sure you can compile and run the unit tests and that would be
great!

I'd love to see some patches in this area.

Eric

> -----Original Message-----
> From: Filippos Slavik [mailto:fsla@forthnet.gr]
> Sent: Sunday, December 07, 2003 9:18 PM
> To: turbine-dev@jakarta.apache.org
> Subject: Turbine 2.x based apps and WAR/EAR issues.
>
>
> Dear All,
>
> I'm working in FORTHnet S.A. (http://www.forthnet.gr) , a Greek
> Telecommunication company, where we have created several
> mission critical
> application based on Turbine 2.x.
>
> The most annoying problem we have with this excellent tool is
> that we can't
> deploy our turbine based application directly to our web application
> container in WAR format. The reason is surely well known to
> all of you (call
> me getRealPath() and direct File access in several locations
> of the turbine
> project source code). Certainly there are workarounds, like
> unzipping the
> application's war file to the application server's "web-app"
> dir (this is our
> workaround for WLS7.1) or by using the "applicationRoot" init
> parameter in
> the application's web.xml. These kind of solutions may work
> but surely are
> not well suited for production systems and for clustered
> environments.
> Moreover, with EAR modules the problem is more complicated
> (actually we don't
> have a workaround for this kind of scenario).
>
> The reason I'm posting this e-mail is that I'm willing to
> help and apply
> patches, but I hesitate since, I don't know if there is
> already an effort at
> that direction (turbine 2.4-dev perhapds) or some kind of
> proposals for
> resolving this issue in the turbine-dev community (I've just
> subscribed to
> the list). Can anyone suggests or give me some directions ?
>
> Best Regards
> Filippos Slavik
>
>
>
> --
> ####################################################################
> Filippos Slavik
> FORTHnet R&D, Heraklion, Greece
> e-mail : fsla@forthnet.gr
> phone : (+30) 2811 391230
> Key ID: 0xF4B5B375 Filippos Slavik(search pgp.mit.edu)
> Key FingerPrint: 81D4 25D0 01EB 9DCA 62E4  B694 20E7 31FB F4B5 B375
> ####################################################################
>
> "The software said 'runs on Win95 or better,' so I installed it
> on Linux..."
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


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