Downloaded phoenix 4.0.4 sources.
changed the build.xml to reflect the changes.
rebuilt it and updated the james/phoenix-bin .
Upgraded almost every library in james/lib:
avalon-framework to 4.3 RC2
excalibur-* to 2.1 RC2
cornerstone-* to 2.1 RC2
logkit to 2.1 RC2
added concurrent-1.3.4.jar (latest excalibut/cornerstone need it).
Changed the build.xml/include.properties and built.
It now runs and seems to work.
It now runs.