You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by "Dr. Surajit Pal" <sp...@eastwindit.com> on 2003/05/18 07:38:41 UTC

Turbine 2.2 for JBoss

Hi,
I have ported Turbine 2.2 to JBoss 3.X though it should work on any App 
Server, because now it doesn't assume that the WAR file will be 
extracted on deployment and physical file systems are available as per 
the WAR directory structures during runtime.

My primary intention was to make JetSpeed work on JBoss. With this fix, 
I am now able to run JetSpeed on JBoss.

I would be more than happy to incorporate this fix to Turbine 2.2 
distribution. Can anyone tell me how should I proceed?

Thanks is advance.

-- Surajit


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


Re: Turbine 2.2 for JBoss

Posted by Henning Schmiedehausen <hp...@intermeta.de>.
Hi,

I did give your code a quick glance today, and I'm -1 on it.
This is, why:

The problem of the webAppRoot vs. applicationRoot has been discussed to
death in the beginning of the 2.3-dev cycle. We did put a large number
of changes into Turbine.java in the 2.3 code and I'm pretty sure, that
these will fix up all your problems. If you really need this for JBoss
deployment, please backport these changes to the TURBINE_2_2_BRANCH code
and we will be more than happy to incorporate this into a 2.2.1 release.
Until then, I do recommend that you use 2.3 and reread the large threads
on the developer mailing list in December and January. I even posted the
link to a demo app which checked the getRealPath() method in your
container. I did extensive tests with multiple containers and we did
find a way which should work with all containers for 2.3

You simply introduce some new classes to fake the config that is
supplied by the container. We can't simply ignore what the container
tells us, just be cause we don't like it. That's not how
interoperability is achieved.

The fact that your code doesn't adhere to the accepted coding styles,
isn't documented too well and has no notices that this code may be used
by ASF further disqualifies it from usage.

I'd recommend that you read the guidelines for code submission on the
Turbine web site and check out what's there in the 2.3 code base. I'm
pretty sure that this solves all your needs.

I would prefer to get a unified diff file as produced by "diff -urb"
instead of the full .java files when you send in patches.

	Regards
		Henning




On Wed, 2003-05-28 at 05:24, Dr. Surajit Pal wrote:
> Hi Henning,
> Is it possible to include this as a patch for 2.2. I see in diffrent 
> news group that people are complaining that they couldn't run Turbine 
> 2.2 and Jetspeed on JBoss or WebLogic app servers. This will allow them 
> to use Turbine 2.2 and jetspeed on those app servers right away.
> 
> Thanks,
> 
> Surajit
> 
> Henning Schmiedehausen wrote:
> > Hi,
> > 
> > thanks; I will take a look at it for the 2.3 release.
> > 
> > 	Regards
> > 		Henning
> > 
> > 
> > On Tue, 2003-05-27 at 06:37, Dr. Surajit Pal wrote:
> > 
> >>Hi Henning,
> >>Please find closed a zip file that contains one modifed and two new 
> >>source files. Also, included in the zip file a text file 'fix.txt' which 
> >>explains what I did and the instructions to run on JBoss 3.2 and 
> >>WebLogic 7.0 and 8.1 application servers. I was able to run Jetspeed 
> >>with Turbine 2.2 and the current fix on all the above mentioned 
> >>application servers.
> >>
> >>I understand that you guys are working on this issue on the next version 
> >>of Turbine. I appreciate the dedication and would like to thank you guys 
> >>for gifting the Java community with such an excellent MVC framework. But 
> >>for the time being, this could be an easy fix for the current release.
> >>
> >>Should you have any questions, please feel free to contact me.
> >>
> >>Thanks,
> >>
> >>Surajit Pal
> >>
> >>Henning Schmiedehausen wrote:
> >>
> >>>In hometree.jakarta.turbine.dev you write:
> >>>
> >>>Hi,
> >>>
> >>>send it to me. Please check first if it isn't already in 2.3-dev, we
> >>>did lots of work in this area for 2.3
> >>>
> >>>	Regards
> >>>		Henning
> >>>
> >>>
> >>>
> >>>
> >>>>Hi,
> >>>>I have ported Turbine 2.2 to JBoss 3.X though it should work on any App 
> >>>>Server, because now it doesn't assume that the WAR file will be 
> >>>>extracted on deployment and physical file systems are available as per 
> >>>>the WAR directory structures during runtime.
> >>>
> >>>
> >>>>My primary intention was to make JetSpeed work on JBoss. With this fix, 
> >>>>I am now able to run JetSpeed on JBoss.
> >>>
> >>>
> >>>>I would be more than happy to incorporate this fix to Turbine 2.2 
> >>>>distribution. Can anyone tell me how should I proceed?
> >>>
> >>>
> >>>>Thanks is advance.
> >>>
> >>>
> >>>>-- Surajit
> >>>
> >>>
> >>>
> >>>>---------------------------------------------------------------------
> >>>>To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> >>>>For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
> >>>
> >>>
-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services 
freelance consultant -- Jakarta Turbine Development  -- hero for hire


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


RE: Turbine 2.2 for JBoss

Posted by Quinton McCombs <qm...@nequalsone.com>.
If you could, please create a patch based on the currenbt CVS head
source code.  If that is too much trouble, then a patch against the
current TURBINE_2_2_BRACH (2.2.1) would also work.  You can post the
patch to this list.

--------------------------------------------
Quinton McCombs
NequalsOne - HealthCare marketing tools
mailto:qmccombs@NequalsOne.com
http://www.NequalsOne.com 

> -----Original Message-----
> From: Dr. Surajit Pal [mailto:spal@eastwindit.com] 
> Sent: Sunday, May 18, 2003 12:39 AM
> To: turbine-dev@jakarta.apache.org
> Subject: Turbine 2.2 for JBoss
> 
> 
> Hi,
> I have ported Turbine 2.2 to JBoss 3.X though it should work 
> on any App 
> Server, because now it doesn't assume that the WAR file will be 
> extracted on deployment and physical file systems are 
> available as per 
> the WAR directory structures during runtime.
> 
> My primary intention was to make JetSpeed work on JBoss. With 
> this fix, 
> I am now able to run JetSpeed on JBoss.
> 
> I would be more than happy to incorporate this fix to Turbine 2.2 
> distribution. Can anyone tell me how should I proceed?
> 
> Thanks is advance.
> 
> -- Surajit
> 
> 
> ---------------------------------------------------------------------
> 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