cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Lewis" <...@ascii27.net>
Subject Re: Possible threading issues with xsltc + BCEL ???
Date Thu, 06 Feb 2003 16:40:55 GMT

I've hit this - it only happens when compiling the stylesheet though. Concurrent requests
right at
startup do not do wel...I had no workaround...but that would be a GOOD THING to have fixed...
> 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.
>
>
>
>
> --------------------------------------------------------------------- To unsubscribe,
e-mail:
> cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org


-- 
"The heights of genius are only measurable by the depths of stupidity."



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


Mime
View raw message