cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Melhem <micha...@fztig938.bank.dresdner.net>
Subject Re: Possible threading issues with xsltc + BCEL ???
Date Tue, 11 Feb 2003 11:14:46 GMT
Hi Guys,

Xalan guys have updated the xsltc code to resolve this issue. Will
update the xsltc jar in Cocoon head if there are no objections.

Regards,
Michael

On Fri, Feb 07, 2003 at 12:43:42PM +0100, Michael Melhem wrote:
> On Thu, Feb 06, 2003 at 04:18:55PM -0500, Vadim Gritsenko wrote:
> > Michael Melhem wrote:
> > 
> > >Hi Cocooners,
> > >
> > >Are their any other Cocoon users having Threading Issues with xsltc?
> > >
> > >Its seems that if you have a translat being compiled at the same time by 
> > >two or more threads (instances of TraxTransformer) you will get issues 
> > >because BCEL is not (by design) threadsafe as it users static methods and 
> > >variables which seem to be overwriting each other???
> > >
> > >Once the Translets get compiled however, such threading issues disappear.
> > >
> > >Does anyone have expirence with this?
> > >
> > >Regards,
> > >Michael Melhem
> > >
> > >Ps After locally patching 
> > >org.apache.xalan.xsltc.trax.TemplatesHandlerImpl.java
> > >with some synch code around the compile block, all seems OK.
> > > 
> > >
> Hi Vadim,
> > 
> > Can you notify Xalan guys about this issue? Or may be sent'em a patch?
> 
> Yep, im chasing this up will talk with the Xalan guys.
> 
> Cheers,
> Michael
> > 
> > 
> > Vadim
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > Please check that your question  has not already been answered in the
> > FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> > 
> > To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
> > 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
> 

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


Mime
View raw message