Antonio,

On 9/2/2010 10:02 PM, Kitching, Simon wrote:
> On Wed, 2010-09-01 at 07:14 -0700, Nathan Bubna wrote:
>> On Tue, Aug 31, 2010 at 10:02 PM, Kitching, Simon
>> <simon.kitch...@airnz.co.nz> wrote:
>>> Hi All,
>>>
>>> I've got some code using Velocity which failed under load. Can you
>>> confirm that the Velocity class is meant to be thread-safe? If so, I'll
>>> file a bugreport.
>>
>> generally, yes, but velocimacro settings can break that.  what are
>> your velocity properties?
> 
> Just setting one property:
>   Properties p = new Properties();
>   p.put("velocimacro.permissions.allow.inline.local.scope", "true");
>   Velocity.init(p);
> 
> And interestingly, this *is* what is triggering the problem.

I'm using a subclass of the VelocityLayoutServlet (tools-1.4) for my
purposes... will that be threadsafe when allow.inline.local.scope is set
to true? Which class/object ends up being non-threadsafe?

Thanks,
-chris

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to