I'm attempting to initialize Turbine from a "non Turbine servlet"
servlet application:

        try 
        { 
            Turbine turbine = new Turbine(); 
            turbine.init(config); 
        } 
        catch (Exception e) 
        { 
            log.error("Failed to initialize Turbine"); 
            log.exception(e); 
        } 

config is a ServletConfig spewed by JServ.  I've scattered a few
debugging breadcrumbs through my JAR to help discover what's going
on.  For some reason, TurbineResourceService's setPropertiesFileName()
method is being called twice:

initially, props=/home/dlr/sandbox/conf/TurbineResources.properties
post JServ, props=/home/dlr/sandbox/conf/TurbineResources.properties
setPropertiesFileName: 
propertiesFileName=/home/dlr/sandbox/conf/TurbineResources.properties
initializing service: TurbineResourceService
initializing all services using org.apache.jserv.JServContext
initializing service: CryptoProviderService
initializing service: TurbinePoolBrokerService
initializing service: TurbineResourceService
setPropertiesFileName: propertiesFileName=null

I know that it's called once in Turbine.init(ServletConfig), but I
haven't been able to determine what is causing the second call (which
is throwing an IOException as blowing up some other code in its static
initializer).  Random guess much appreciated.  ;P

Daniel



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to