On 31.01.2008 16:35, Thorsten Scherler wrote:
Have you made sure that your dispatcher transformer is configured correctly? If it is *not* threadsafe, you have to use the "prototype" scope. Otherwise you can use the "singleton" scope (which is actually the default!).This is what I always thought and how it is in 2.1 and the old 2.2. version of cocoon that forrest is using. <bean id="dispatcher" name="org.apache.cocoon.transformation.Transformer/dispatcher" class="org.apache.forrest.dispatcher.transformation.DispatcherTransformer"> <property name="manager" ref="org.apache.avalon.framework.service.ServiceManager"/> </bean> We made a test with forrest trunk and this fixed the errors but before migrating the app I will test with defining the "singleton" scope.
If you have already concurrency issues then you might try the prototype scope! With the above setup the DispatcherTransformer IS in singleton scope.
Joerg
