cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter royal <pro...@apache.org>
Subject Re: Sharing cocoon.jar between multiple web aplications
Date Wed, 08 Sep 2004 18:32:01 GMT
On Sep 8, 2004, at 11:17 AM, ġURDINA Michal wrote:
> The problem arise only when one web application calls other web 
> application to generate its output (via getRequestDispatcher.include() 
> - crosscontext must be enabled). Then both webapps use the same static 
> field instance in the same thread. And if both are calling method on 
> the same class i.e. Cocoon.process(), then called web application can 
> rewrite the value saved by calling web application.

ah, gotcha.

why not just put cocoon.jar per-webapp then, and put the rest of the 
deps at the ear level? :)
-pete

Mime
View raw message