It may not be exactly what you are looking for but has worked ok for us 
for quite some time, you could start Turbine in standalone mode.
 
http://jakarta.apache.org/turbine/tdk/application-testing.html


On Mon, 13 Jan 2003, Eugeny N Dzhurinsky wrote:

> 
> I'm using Log class in some of my business objects.
> I need to test these classes.
> But i don't want to show debug info with the System.out.println etc. I
> want to use Log class as it defined by turbine.
> The logging service is initialized during turbine servlet statup, but when
> testing i can't to perform startup of turbine servoce, so logging service
> is not initialized too. And i'm getting error
> 
> org.apache.turbine.services.InstantiationException: ServiceBroker: unknown
> service LoggingService requested
> 
> so how can i initialize the logging service without Turbine startup?
> 
> Eugeny N. Dzhurinsky                          programmer
> ________________________________________________________
> Inet dept., MARKA Ltd,               Zaporozhye, Ukraine
> Tel: +380(612)131123,           Tel/Fax: +380(612)131124
> E-mail: [EMAIL PROTECTED]         http://www.marka.zp.ua
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 

-- 
=====================================================================
Jeffrey D. Brekke                                   [EMAIL PROTECTED]
Wisconsin,  USA                                     [EMAIL PROTECTED]
                                                    [EMAIL PROTECTED]



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to