I believe we run into this concurrency issue with Templates.  At least
we have a threaded test which fails when we try to share Templates and
succeeds when each thread has it's own templates.

Has a resolution to this problem been discovered?  If so,  when will it
be generally available?  If already available, how do we access it?

Thanks,
Ed Knoll

On Mon, 2007-03-26 at 05:38 -0700, RUG-CMS Team, University of Groningen
(JIRA) wrote:

>     [ 
> https://issues.apache.org/jira/browse/XALANJ-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484113
>  ] 
> 
> RUG-CMS Team, University of Groningen commented on XALANJ-2371:
> ---------------------------------------------------------------
> 
> To clarify: the second attachment (XalanConcurrencyBug.zip) is ours.
> 
> > Possible Templates/Transformers threading issue
> > -----------------------------------------------
> >
> >                 Key: XALANJ-2371
> >                 URL: https://issues.apache.org/jira/browse/XALANJ-2371
> >             Project: XalanJ2
> >          Issue Type: Bug
> >          Components: transformation
> >    Affects Versions: 2.7
> >            Reporter: Tom Fennelly
> >         Attachments: xalan-test-v2.zip, XalanConcurrencyBug.zip
> >
> >
> > While running some tests I noticed something strange - applying 
> > transformations concurrently + unsynchronized using the same template 
> > instance *appears* to be yielding unexpected results i.e. if I 
> > synchronize transformations across the threads (synchronize on the 
> > template instance) I have no issues.
> > First reported on the xalan users maillist - more details there: 
> > http://marc.theaimsgroup.com/?t=117251838500004&r=1&w=2
> > I packaged up the test in a maven2 project:
> > http://milyn.codehaus.org/xalan/xalan-test-v2.zip
> 

Reply via email to