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.
Install the Web Space Server core zip file.
Create the directory structure webspace/WEB-INF/classes under install-dir/webspace-for-gfv2/var/webspace/war-workspace/customs.
Create a dummy portal-ext.properties file with the following entry in it:
dummy.property=true
Change to the install-dir/webspace-for-gfv2/var/webspace/war-workspace directory.
Run ant -f synchronize.xml.
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.
Now add the OpenSSO add-on. Make sure to update the AMConfig.properties and portal-ext.properties files.
Restart the GlassFish server.
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.