You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Edward L. Knoll" <ed...@cosd.fedex.com> on 2007/04/18 01:35:03 UTC

Re: [jira] Commented: (XALANJ-2371) Possible Templates/Transformers threading issue

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
> 

Re: [jira] Commented: (XALANJ-2371) Possible Templates/Transformers threading issue

Posted by Henry Zongaro <zo...@ca.ibm.com>.
Hi, Ed.

"Edward L. Knoll" <ed...@cosd.fedex.com> wrote on 2007-04-17 07:35:03 
PM:
> 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?
>
> 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] 


The problem has been fixed to the best of my knowledge; it was a duplicate 
of XALANJ-2321.  The fix for the problem will be part of the Xalan-J 
2.7.1.  That release was supposed to be available this past January, but 
has been delayed for some time due to resource constraints.

In the meanwhile, you could extract the latest source code for Xalan-J and 
build it to pick up that fix along with many others that have been applied 
since Xalan-J 2.7.0 was released.  Let me know if you need more details.

Thanks,

Henry
------------------------------------------------------------------
Henry Zongaro      XSLT Processors Development
IBM SWS Toronto Lab   T/L 969-6044;  Phone +1 905 413-6044
mailto:zongaro@ca.ibm.com


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org