turbine-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Lalande <e...@lalande.com>
Subject Problem with Multiple Instances of Turbine
Date Thu, 26 Aug 2004 11:15:56 GMT
 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?


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

View raw message