Sun GlassFish Web Space Server 10.0 Administration Guide

Updating WAR or Property Files

The process for updating a deployed WARor property file in Sun GlassFish Web Space Server is complex.

The following procedure describes how to update the portal-ext.properties file. Similarly, you can update a deployed WAR file.

ProcedureTo Update the portal-ext.properties File and a WAR File

  1. Install the Web Space Server core zip file.

  2. Create the directory structure webspace/WEB-INF/classes under install-dir/webspace-for-gfv2/var/webspace/war-workspace/customs.

  3. Create a dummy portal-ext.properties file with the following entry in it:

    dummy.property=true
  4. Change to the install-dir/webspace-for-gfv2/var/webspace/war-workspace directory.

  5. Run ant -f synchronize.xml.

  6. Restart the GlassFish server.

    The server will redeploy webspace.war and update portal-ext.properties in the directory GlassFish install-dir/domains/domain1/application/j2ee-modules/webspace/WEB-INF/classes.

  7. Now add the OpenSSO add-on. Make sure to update the AMConfig.properties and portal-ext.properties files.

  8. Restart the GlassFish server.

  9. The portal-ext.properties file now contains the property dummy.property=true and OpenSSO related properties.

    You can use the same process for any other WAR file.