turbine-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel <dant...@yorku.ca>
Subject Re: Problem with Multiple Instances of Turbine
Date Thu, 26 Aug 2004 15:48:14 GMT

Hi,

FWIW, we have deployed multiple webapps that use the Turbine framework in
a single Tomcat container and don't have problems.

Regards,
Daniel

On Thu, 26 Aug 2004, Eric Lalande wrote:

>  It looks like Turbine uses a lot of static/global variables through out
> the code.  These global variables will cause problems if different Turbine
> configurations are used to initialize Turbine by different sites within a
> single Tomcat installation.  After further investigating the issue, I
> found that Turbine attempts to prevent multiple initializations of the
> Turbine servlet.
>
> Notice the global firstInit variable.  It is set to false after init() is
> called by init(ServletConfig config), the standard initialization function
> for a servlet.  Once it is set to false, all instances of Turbine will run
> off of the same configuration.  Is this the intent?
>
> Eric
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>

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


Mime
View raw message