velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 8838] - context utility method calls are not thread safe
Date Mon, 06 May 2002 20:12:47 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8838>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8838

context utility method calls are not thread safe

geirm@optonline.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED



------- Additional Comments From geirm@optonline.net  2002-05-06 20:12 -------
This is interesting.  Are you sure that :

1) There is a new context created per merge()?

2) There is a fresh writer used per merge()?

3) The items in the context are threadsafe or aren't shared?

I looked again at Velocity.mergetTemplate() and its fine.  It uses the same 
pattern as the normal approach used in Servlets so I can't see why your 
approach would produce any problems.

--
To unsubscribe, e-mail:   <mailto:velocity-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-dev-help@jakarta.apache.org>


Mime
View raw message