App server related topics
Sun One Application Server 8.2
This is the needed steps to install and configure OpenCMS 6.2.3
Procedure:
- Extract opencms.war from the downloaded
- Deploy opencms.war on http://localhost:4848
- Edit the following archives (Server configuration - Linux CentOS 4.4 and Postgresql 8.2)
- Edit /opt/SUNWappserver/domains/domain1/generated/xml/j2ee-modules/opencms/WEB-INF/sun-web.xml and it adds this line
<class-loader delegate="false"/>
- Edit /opt/SUNWappserver/lib/appclient/client.policy and it adds this line in the end
grant codeBase "file:${com.sun.aas.instanceRoot}${/}applications${/}j2ee-modules${/}opencms${/}-" { permission java.util.PropertyPermission "*", "read,write"; permission java.security.AllPermission; };
- Edit /opt/SUNWappserver/domains/domain1/config/server.policy and it adds this line in the end
grant codeBase "file:${com.sun.aas.instanceRoot}${/}applications${/}j2ee-modules${/}opencms${/}-" { permission java.util.PropertyPermission "*", "read,write"; permission java.security.AllPermission; };
As I complete continues the normal installation of opencms
JBoss
JBoss treats WAR files differently than other application servers in ways that severely affect the OpenCms installation procedure. To circumvent the problem, OpenCms has to be deployed as an unpacked WAR directory on JBoss.
Procedure:
- Extract opencms.war from the downloaded archive and copy it to the JBoss deploy directory
- Rename opencms.war to prevent naming confusion for the next step (example: opencms.2.war)
- Create a directory named "opencms.war"
- Unpack opencms.2.war in the opencms.war directory
- (Optional, for unix/linux servers) grant the permission to read, write and execute for all on the opencms.war/ directory and it's subtree (chmod -R 777 opencms.war)
After these steps, the web config should work fine.