This page describes the Release Process for JBoss Portal.
Make sure everything according to the QAPreReleaseChecklist is completed.
Make sure that portal docs has also been tagged with same tag that of portal source.
Verify with developers that they have successfully run clustering tests at their end.
Checkout the appropriate tag for the current release in the same directory the portal and the documentation
Checkout jboss-portal-2.4 / jboss-portal-2.6
Checkout jboss-portal-2.4-docs / jboss-portal-2.6-docs (instructions on work with SVN can be found here - PortalSVNRepo)
Make sure org.jboss.portal.server.PortalConstants has the correct release version (same applies to build/distrib.xml)
Build the source
If you are testing Portal 2.4, you need to update some jars that are used in WSRP with the one from AS. Following jars need to be updated when testing with JDK1.4:
thirdparty/jboss/jbossws14/lib/jbossws14-client.jar (use jbossws-client.jar with jdk1.5)
thirdparty/jboss/jbossws14/lib/jbossws14.sar (use jbossws.sar with jdk1.5)
When testing with mysql5, follow the instructions at AvoidMySQL5DataTruncationErrors
Set JBOSS_HOME to dir where jboss-4.0.5.GA is installed. Execute testsuite/build.xml tests and check the results (this target requires a JBOSS_HOME variable set in your environment, for correct deployment)
Run the clustering portlet test. More instructions here - PortalClusteringTests
Verify LDAP integration - ManualLDAPIntegrationTests
after reviewing the results, make sure to execute the testsuite's 'clean' target, so the test results files are not included in the distributions.
report any errors on the JIRA task created for the specific release
Make sure both deploy targets work - build/build.xml deploy and wsrp/build.xml deploy (for WSRP to work, but wsrp.sar and jboss-portal.sar need to be deployed)
Run Identity LDAP related tests (for portal 2.6 and above) - this just requires building portal sources and running testsuite under jdk1.5 (you can run only identity by build.sh test-module -Dmodule=identity) To check if proper tests where invoked be sure that org.jboss.portal.test.identity.ldap is covered in tests reports. To run LDAP tests you need to have jboss-vpn access. These tests could take a long time if running over VPN so you should better run it in qa lab itself.
Manually check if portal is deploying and working
Update the log4j setting for jboss cache to ERROR in log4j.xml in jboss bundle before building distribution.
Make sure the build.sh files and ant have executable permissions in the src distro created. JBPORTAL-1515
Execute $PORTAL_HOME/build/distrib.xml main to create the bundles and documentation passing as parameter jboss.home the path to the jboss application server (build.sh -f distrib.xml -Djboss.home=/home/pjha/jboss-4.2.0.GA for example) - (Note: From now on, post 2.6.0, we should ship the bundle version using JBoss AS 4.2)
There are 3 distributions created - binaries, binaries ha and bundle (as well as the forums portlet : we don't do release forums for now)
Verify the binaries deploy correctly with jboss-4.0.5.GA(jdk1.4) and jboss-4.2.GA (with jdk1.5)
Verify the src distribution compiles and deploys correctly
(Verify the forums portlet deploys correctly : we don't do forums for now)
Verify that jbossas bundled with portal starts without a problem
With bundled distro, run tests related to cms, theme, user creation, wsrp as mentioned in portal test plan documentation. Here is a quick summary:
Start portal and run tests in Test Page and Test with Ajax page. The difference between Test Page and Ajax page is with URL portlet test. Add some text for Name and Value in URLPortletWindow portlet without clicking on Add. Then add some text for Name, Value for AsynchPortletWindow and click Add. Name value pair should be added but it should not change any texts in textboxes in URLPortletWindow.
Login as user
Click on Dashboard. You should be able to drag and drop different portlets in page.
Edit profile in User portlet and verify you can save changes and corresponding changes get reflected. For example change the theme.
Log out and there should not be any exception thrown.
Login as admin
Click on admin
Go to wsrp page
Create a consumer with your favorite name, with "use WSDL" and give http://wsrp.bea.com:7001/producer/producer?WSDL as WSDL address. You should be able to save it. Click on refresh and give bea for registration/consumer role and it should validate successfully. Hit Cancel. You should be able to destroy consumer as well from the main WSRP config page.
Run wsrp unit tests from portal testsuite as well as other wsrp tests when there is no internet connection. See http://jira.jboss.com/jira/browse/JBQA-460
While logged in as admin, go to Home portal page. Select different portal and try to modify their layout, security, theme and make sure they work.
Add a portlet to a page using wizard by clicking on "Switch to wizard mode" and verify that the portlet you added is visible in page by clicking on "portal" on top right corner.
User and Role Creation
While logged in as admin, go to Members page.
Create new role,user and you should be able to assign different roles to different users.
Select all options one by one in "Select Action" and make sure that all file operations are correct.
Under CMS administration main page, Click on default->index.html->edit the page using WYSIWYG editor and hit create. You should be able to see your changes by clicking on "Portal" on top right
Go through issues found in JBQA-876, JBQA-790, JBQA-777
Update JEMS installer to include latest Portal binaries
Upload Portal binaries to repository
Update portal.version property value in version.properties (SVN: https://svn.jboss.org/repos/installer/branches/Branch_1_0/jems-installer)
Build and test installer: JEMSInstallerReleaseGuide
Compile the good release notes
Select the appropriate version click on 2.4 for instance
If the release is not the final we need to filter out and keep only the resolved issues
In the filter view click edit
Change matching resolution to done
Update the view according to the new filter
In the issue navigator tab click on "Release Notes" for the current view
Copy the current release notes
Upload Portal and JEMS Installer to SourceForge, along with the respective MD5 sums and verify the files are picked up by the mirrors
Download the uploaded binaries from sourceforge, run jbossas bundled with portal and verify that server starts without any problem
Update labs.jboss.org with the dowload link for this portal release. If you have admin access to labs pages, you should see "Edit This Page" link at top left. To get admin access, send an e-mail to labs guys.