This is a check list for what must not be forgotten when making a release.
Releasing can happen to either an acceptation or production server.
/etc/init.d based on
/etc/init.d/skeleton if there is no RPM.
Verify that both the db and the webserver are enabled for the default runlevel
so they start up automatically on a reboot.
JAVA_OPTS of the webserver
to use a maximum memory heap of -Xmx512m or more.
See Build setup.
How you go about doing this varies depending on the servlet container being used. Instructions on how to configure Apache Tomcat can be found here. Jboss generally uses Apache Tomcat so it should be the same there. As far as other containers like Resin and Jetty are concerned you should consult their respective manuals.
For the accepatation machine it is recommended to remote deploy from the cruisecontrol machine because the cruisecontrol user there has the private key credentials to log in into the acceptation machine.
/home/cruisecontrol/acceptation/javacareers.
Notice that it is seperate from the normal CC checkout dir.
cvs update -dP
(make sure you have done a ssh-add earlier).
#/globalmavenconfig/build.properties to set
javaCareers.productionMode = true.
For an acceptation release, also set:
javaCareers.url = http://extranet.jcs.be/ and
javaCareers.mailHost = mail.jcs.be
maven javacareers:build javacareers:cleanBuild.
The version should have been changed, so a direct
javacareers:clean won't work in maven 1.
javacareers-version-migrationscripts.zip.
maven javacareers:remote-deploy
(make sure you have done a ssh-add earlier).
This part will be usually done by the SysOps of the production server.
/WEB-INF/classes/javacareers.properties
and adjust settings like javaCareers.url
and javaCareers.mailHost.
/WEB-INF/classes/javacareers.properties
and war it again.
admin/admin.
javacareers_version,
but replace dots (.) in the version
with underlines (_).
#/globalmavenconfig/build.properties
#/globalmavenconfig/project.properties's version
to the new version.