on 12/17/99 3:45 PM, Kevin A. Burton <[EMAIL PROTECTED]> wrote:

> John McNally wrote:
>> 
>> it is possible to use Turbine for several applications if each application
>> runs in a different zone.  I think you could also run one application using
>> the system classpath.
> 
> 
> No.  It isn't.  Specifically because TurbineResources is a singleton.
> If I load Turbine first and then go to my *second* web app I will get
> Turbine's resources when I *want* to get my resources.
> 
> We need a way to identify resources across web apps.  Whether that is
> getInstance(String propertiesFile) or whatever.
> 
> So this probably is the best way to go.  It is singleton based in
> respect to the properties file.

Kevin, you are wrong and John is right. Zones in Apache JServ are different
instances of the classloader for each zone. Thus, things are only singleton
for the particular zone.

-jon



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to