Magnus ?or Torfason wrote:
> I'm using Turbine for a framework doing more than just Web services. This
> means I need the Turbine Services initialized regardless of when the Turbine
> Servlet is first hit with a web request.
I'm using Turbine in command line tools for DB connection management and
Peers.
> I have done some testing, but it seems that my main problem is that if I
> init it without hitting Turbine with a http request, it seems to have
> trouble finding TurbineResources.properties.
you need to call
TurbineResourceService.setPropertiesFileName(absolutePathToProperties);
as a part of you program's initialization sequence.
HTH,
Rafal
--
Rafal Krzewski
Senior Internet Developer
mailto:[EMAIL PROTECTED]
+48 22 8534830 http://e-point.pl
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]