Never done this myself, but I would download all source of the stable C2.2. I would then modify all the Spring configuration files, however, not the bean declarations, but only schema declarations, namespaces, etc. Finally, change all Spring dependencies in all relevant pom.xml (your cocoon applications, including those in the dependencies) to depend on Spring 3. At this point I would not change anything else.

If you succeed with this, and your application actually works, you can start using more recent packages for FOP, etc. I would do update each package one by one. First update the 'simple' ones (log4j, etc). After each change, verify that your application works.

These are rather general and probably obvious steps, I guess.

Good luck, I would bet my money on cocoon3. From what I have seen, and for what I intend to use it for (REST-like applications), cocoon3 is pretty ready to roll.


On 15/09/11 10:08, Robby Pelssers wrote:

Hi all,


I’ve seen plenty of people asking for coming up with a new release Cocoon2.3 where cocoon would ship with:

- Spring 3
- Dojo 1.x
- EhCache 2.3.x
- FOP 1.0



In our particular case we would already be satisfied with being able to switch to Spring 3. But so far no single successful upgrade path has been described on the mailinglist.  It also looks as no effort is being put in Cocon2.2 anymore.  I just want to get some confirmation on this. 


We might be able to hold of making this switch for a small period of time but as a precaution I want to understand if it is wiser bet my money on Cocoon3 (which does not even have a stable version yet) or wait for a new version of Cocoon2.2 which might never see daylight.


Ps. If anyone could already give the steps to take to do it ourselves we would be very thankfull.


Kind regards,

Robby Pelssers

Andre H. Juffer              | Phone: +358-8-553 1161
Biocenter Oulu and           | Fax: +358-8-553-1141
Department of Biochemistry   | Email:
University of Oulu, Finland  | WWW:
StrucBioCat                  | WWW:
Triacle Biocomputing         | WWW: