On Monday, June 11, 2001, at 11:27  AM, Aravinda Addala wrote:

> I have been trying to use Turbine as a standalone application with 
> Velocity service. When I tried to use this code, get an error:
>
>   TurbineConfig tc = new 
> TurbineConfig("/export/home/aravinda/myapplication/WEB-
> INF/conf","Standalone.properties");
>     tc.init();

I think that Velocity is trying to write its logs to 
conf/logs/velocity.log.
So you could create that directory, or change the path in 
Standalone.properites
services.VelocityService.runtime.log=/logs/velocity.log

But I think what you really want is this:
TurbineConfig tc = new 
TurbineConfig("/export/home/aravinda/myapplication/WEB-
INF","conf/Standalone.properties");
tc.init();

(and then create a logs directory in your WEB-INF if necessary.)

-Eric

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

Reply via email to