Le 22 nov. 04, � 19:06, Bent Andr� Solheim a �crit :
...- How do you other cocoon users deploy your applications? ...
Just to indicate a different way: I have several Cocoon apps which are deployed using...CVS.
My apps are organized more or less as described in http://wiki.apache.org/cocoon/YourCocoonBasedProjectAnt16, then updating the production system is a matter of doing:
1 .cd production-source-checkout-directory
2. cvs update (or cvs export from a suitable tag)
3. stop JVM (at which point the front end mod_proxy says "we're under maintenance")
4. adapt the instance-specific config if needed for new features (they're in another CVS repository)
5. rebuild and restart using ant
Combined with /etc/rc scripts to start and stop the JVM this makes for very simple updates. If you plan it well the time between 3. and 5. is not more than a few seconds, during which a properly configured mod_proxy displays a static HTML information page.
It's certainly not suitable for all types of deployment but...it works ;-)
-Bertrand
smime.p7s
Description: S/MIME cryptographic signature
