Vadim Gritsenko wrote:
Sylvain Wallez wrote:
<snip/>
The interpreter is looked up by the sitemap engine (see FlowNode.java), so in that case SingleThreaded means a different instance for each sitemap, which handles all requests for that sitemap.
A bit hacky, but that's how it is since the origin to ensure proper isolation of flowscripts between different sitemaps.
So the unique ID attached to an interpreter instance is therefore also unique per sitemap, which is what we want to achieve here.
Got you. Hope it's mentioned somewhere in the comments / javadocs :-)
Well, now it is :-)
Giaunugo, I committed the unique ID fix (using an instance counter). Can you please crosscheck?
Sylvain
-- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
