Deploying Portlets into IceAxe on the SPTS Cluster

There are two options here for deploying portlet WAR files onto the cluster. Since IceAxe is deployed into JBoss, and the WAR files are installed into the IceAxe deployment directory, Ant is unable to mimic the deploy/undeploy feature found in the Portlet Harness.

However Ant does provide an 'rpm.build' target that will allow for the WAR file to be built and wrapped up into a RPM ready for installation onto the EXPCONT node of the cluster. This requires that JBoss be stopped.

> bfd co blah-display
> cd blah-display
> ant rpm.build

In order for this to work properly, you must have a RPM .spec file in the top level dir of your portlet project. Review the ones in daq-display and dd-display. You can customize one for your project with minimal edits.

The other more tedious method is to checkout the portlet project, build the WAR file via the 'portlets' target and then manually scp the WAR file from the following directory to the expcont node. This too requires that JBoss be stopped.

> bfd co blah-display
> cd blah-display
> ant portlets
> scp ../lib/blah-display.war spts-expcont:~jboss/jboss/server/iceboss0/deploy/exo.ear