Deployment Example: Deploying and Customizing the Documentum Portlet

Chapter 3 Environment Configuration

This chapter contains the following:

Setting Up Profile for Portal User

Add environment parameters into Portal Install user's (normally root) profile.

Here is an example of the environment parameters for a user using ksh:


DOCUMENTUM=<Documentum_Install_Dir>; export DOCUMENTUM; 
DOCUMENTUM_SHARED=<Documentum_Share_Dir>; export DOCUMENTUM_SHARED; 
DM_HOME=$DOCUMENTUM/product/5.3; export DM_HOME; 
DMCL_CONFIG=$DOCUMENTUM/dmcl.ini; export DMCL_CONFIG; 
JAVA_HOME=<JDK_1.4.x>; export JAVA_HOME; 
PATH=$PATH:/usr/openwin/bin:$JAVA_HOME/bin:$DM_HOME/bin:$DOCUMENTUM/dba;
export PATH 
CLASSPATH=$CLASSPATH:$DOCUMENTUM_SHARED/dctm.jar:$DOCUMENTUM_SHARED/config:
$DOCUMENTUM_SHARED/dfc/dfc.jar:$DM_HOME/bin:.;
export CLASSPATH 
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DOCUMENTUM_SHARED/dfc:$DM_HOME/bin:
$DOCUMENTUM/fulltext/fast40:$DM_HOME/fusion:$DOCUMENTUM/fulltext/IndexServer/lib:
$DOCUMENTUM/share/clients/unix/solaris;
export LD_LIBRARY_PATH;

Set Application Context with Sun Java System Application Server

This section contains the following:

DFC

DFC 5.3 SP4 must be installed on Portal Server machine to set required DFC environment. For UNIX systems, it assumes general familiarity with shells, permissions, and environment variables. Please follow Documentum DFC 5.3 SP3 Installation Guide for instructions on how to install DFC.

Setting Application Context

This sections contains instructions to Set Application Context.

ProcedureSet Application Context

  1. Copy DFC JAR files into application server's lib directory.

    For example, type cp $DOCUMENTUM/dfc/*.jar <AppServer_Base_Dir>/appserver/lib.

  2. Set Application Server's classpath and add the classpath to application server instances.

    For example, type the following:


    <App_Server_Dir>/domains/domain1/config/domain.xml
    <java-config ... classpath-suffix="$DOCUMENTUM/config: ...>
  3. Set the enablePooling parameter.

    In the <App_Server_Dir>/domains/domain1/config/default-web.xml file, in the Default Servlet section, add the following:


    <servlet>
    <init-param>
    <param-name>enablePooling</param-name>
    <param-value>false</param-value>
    </init-param>
    </servlet>