Install Sun GlassFish Enterprise Server 2.1 on your machine.
Install Web Space Server 10.0.
Download webspace-for-gfv2.zip and unzip it.
Stop the Sun GlassFish Enterprise Server 2.1.
Add the following code to the server.policy file in the glassfish/domains/domain1 folder.
grant codeBase "file:${com.sun.aas.instanceRoot}/lib/-" { permission java.security.AllPermission; }; // permissions for Webspace grant codeBase "file:${com.sun.aas.instanceRoot}/applications/j2ee-modules/webspace/-" { permission java.security.AllPermission; }; grant codeBase "file:${com.sun.aas.instanceRoot}/applications/j2ee-modules/saw-web/-" { permission java.security.AllPermission; }; // Basic set of required permissions granted to all remaining code grant { ............... ............... permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; }; grant codeBase "file:${com.sun.aas.instanceRoot}/applications/j2ee-modules/ruon-web/-" { permission java.security.AllPermission; }; grant codeBase "file:${com.sun.aas.instanceRoot}/applications/j2ee-modules/wsrp-portlet/-" { permission java.security.AllPermission; }; |
You need to grant permissions for any web-app that tries to create database tables. For example, you will have to add the permission blocks for CommunityMapper and opensso-web also, in the same way as you added permission blocks for webspace and saw-web.
Update the portal-ext.properties file with auto.deploy.glassfish-tomcat.jee.dm.id=deployer:Sun:AppServer::localhost:4848:https
The portal-ext.properties file is located in ws_install_dir/var/webspace/war-workspace/customs/webspace/war-workspace/customs/webspace/WEB-INF/classes/portal-ext.properties.
Change to the ws_install_dir/webspace/application directory and run ant -f install.xml.